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 String
getAttributeDeclarationString()
String
getAttributeNameDeclarationString()
Metamodel
getHostingEntity()
String
getMetaType()
String
getPropertyName()
String
getTypeDeclaration()
boolean
hasStringAttribute()
boolean
hasTypedAttribute()
String
toString()
-
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:
hasTypedAttribute
in interfaceMetaAttribute
-
hasStringAttribute
public boolean hasStringAttribute()
- Specified by:
hasStringAttribute
in interfaceMetaAttribute
-
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 Metamodel getHostingEntity()
- Specified by:
getHostingEntity
in interfaceMetaAttribute
-
getMetaType
public String getMetaType()
- Specified by:
getMetaType
in interfaceMetaAttribute
-
getTypeDeclaration
public String getTypeDeclaration()
- Specified by:
getTypeDeclaration
in interfaceMetaAttribute
-
-