org.hibernate.jpamodelgen.annotation
Class AnnotationMetaAttribute

java.lang.Object
  extended by org.hibernate.jpamodelgen.annotation.AnnotationMetaAttribute
All Implemented Interfaces:
MetaAttribute
Direct Known Subclasses:
AnnotationMetaCollection, AnnotationMetaSingleAttribute

public abstract class AnnotationMetaAttribute
extends Object
implements MetaAttribute

Captures all information about an annotated persistent attribute.

Author:
Max Andersen, Hardy Ferentschik, Emmanuel Bernard

Constructor Summary
AnnotationMetaAttribute(AnnotationMetaEntity parent, Element element, String type)
           
 
Method Summary
 String getDeclarationString()
           
 MetaEntity getHostingEntity()
           
abstract  String getMetaType()
           
 String getPropertyName()
           
 String getTypeDeclaration()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationMetaAttribute

public AnnotationMetaAttribute(AnnotationMetaEntity parent,
                               Element element,
                               String type)
Method Detail

getDeclarationString

public String getDeclarationString()
Specified by:
getDeclarationString in interface MetaAttribute

getPropertyName

public String getPropertyName()
Specified by:
getPropertyName in interface MetaAttribute

getHostingEntity

public MetaEntity getHostingEntity()
Specified by:
getHostingEntity in interface MetaAttribute

getMetaType

public abstract String getMetaType()
Specified by:
getMetaType in interface MetaAttribute

getTypeDeclaration

public String getTypeDeclaration()
Specified by:
getTypeDeclaration in interface MetaAttribute

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010. All Rights Reserved.