Class AnnotationMetaAttribute
- java.lang.Object
-
- 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.
-
-
Constructor Summary
Constructors Constructor Description AnnotationMetaAttribute(AnnotationMetaEntity parent, Element element, String type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getAttributeDeclarationString()
String
getAttributeNameDeclarationString()
MetaEntity
getHostingEntity()
abstract String
getMetaType()
String
getPropertyName()
String
getTypeDeclaration()
String
toString()
-
-
-
Constructor Detail
-
AnnotationMetaAttribute
public AnnotationMetaAttribute(AnnotationMetaEntity parent, Element element, String type)
-
-
Method Detail
-
getAttributeDeclarationString
public String getAttributeDeclarationString()
- Specified by:
getAttributeDeclarationString
in interfaceMetaAttribute
-
getAttributeNameDeclarationString
public String getAttributeNameDeclarationString()
- Specified by:
getAttributeNameDeclarationString
in interfaceMetaAttribute
-
getPropertyName
public String getPropertyName()
- Specified by:
getPropertyName
in interfaceMetaAttribute
-
getHostingEntity
public MetaEntity getHostingEntity()
- Specified by:
getHostingEntity
in interfaceMetaAttribute
-
getMetaType
public abstract String getMetaType()
- Specified by:
getMetaType
in interfaceMetaAttribute
-
getTypeDeclaration
public String getTypeDeclaration()
- Specified by:
getTypeDeclaration
in interfaceMetaAttribute
-
-