Class AnnotationMetaAttribute
- java.lang.Object
-
- org.hibernate.jpamodelgen.annotation.AnnotationMetaAttribute
-
- All Implemented Interfaces:
MetaAttribute
- Direct Known Subclasses:
AnnotationMetaCollection
,AnnotationMetaSingleAttribute
public abstract class AnnotationMetaAttribute extends java.lang.Object implements MetaAttribute
Captures all information about an annotated persistent attribute.
-
-
Constructor Summary
Constructors Constructor Description AnnotationMetaAttribute(AnnotationMetaEntity parent, javax.lang.model.element.Element element, java.lang.String type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAttributeDeclarationString()
java.lang.String
getAttributeNameDeclarationString()
MetaEntity
getHostingEntity()
abstract java.lang.String
getMetaType()
java.lang.String
getPropertyName()
java.lang.String
getTypeDeclaration()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AnnotationMetaAttribute
public AnnotationMetaAttribute(AnnotationMetaEntity parent, javax.lang.model.element.Element element, java.lang.String type)
-
-
Method Detail
-
getAttributeDeclarationString
public java.lang.String getAttributeDeclarationString()
- Specified by:
getAttributeDeclarationString
in interfaceMetaAttribute
-
getAttributeNameDeclarationString
public java.lang.String getAttributeNameDeclarationString()
- Specified by:
getAttributeNameDeclarationString
in interfaceMetaAttribute
-
getPropertyName
public java.lang.String getPropertyName()
- Specified by:
getPropertyName
in interfaceMetaAttribute
-
getHostingEntity
public MetaEntity getHostingEntity()
- Specified by:
getHostingEntity
in interfaceMetaAttribute
-
getMetaType
public abstract java.lang.String getMetaType()
- Specified by:
getMetaType
in interfaceMetaAttribute
-
getTypeDeclaration
public java.lang.String getTypeDeclaration()
- Specified by:
getTypeDeclaration
in interfaceMetaAttribute
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-