Class DataAnnotationMetaAttribute
- java.lang.Object
-
- org.hibernate.processor.annotation.DataAnnotationMetaAttribute
-
- All Implemented Interfaces:
MetaAttribute
public class DataAnnotationMetaAttribute extends Object implements MetaAttribute
Captures all information about an annotated persistent attribute.
-
-
Constructor Summary
Constructors Constructor Description DataAnnotationMetaAttribute(AnnotationMetaEntity parent, Element element, String type, @Nullable String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttributeDeclarationString()StringgetAttributeNameDeclarationString()MetamodelgetHostingEntity()StringgetMetaType()StringgetPropertyName()StringgetTypeDeclaration()booleanhasStringAttribute()booleanhasTypedAttribute()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.processor.model.MetaAttribute
inheritedAnnotations
-
-
-
-
Constructor Detail
-
DataAnnotationMetaAttribute
public DataAnnotationMetaAttribute(AnnotationMetaEntity parent, Element element, String type, @Nullable String path)
-
-
Method Detail
-
hasTypedAttribute
public boolean hasTypedAttribute()
- Specified by:
hasTypedAttributein interfaceMetaAttribute
-
hasStringAttribute
public boolean hasStringAttribute()
- Specified by:
hasStringAttributein interfaceMetaAttribute
-
getAttributeDeclarationString
public String getAttributeDeclarationString()
- Specified by:
getAttributeDeclarationStringin interfaceMetaAttribute
-
getAttributeNameDeclarationString
public String getAttributeNameDeclarationString()
- Specified by:
getAttributeNameDeclarationStringin interfaceMetaAttribute
-
getPropertyName
public String getPropertyName()
- Specified by:
getPropertyNamein interfaceMetaAttribute
-
getHostingEntity
public Metamodel getHostingEntity()
- Specified by:
getHostingEntityin interfaceMetaAttribute
-
getMetaType
public String getMetaType()
- Specified by:
getMetaTypein interfaceMetaAttribute
-
getTypeDeclaration
public String getTypeDeclaration()
- Specified by:
getTypeDeclarationin interfaceMetaAttribute
-
-