org.hibernate.jpamodelgen.annotation
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.
- Author:
- Max Andersen, Hardy Ferentschik, Emmanuel Bernard
AnnotationMetaAttribute
public AnnotationMetaAttribute(AnnotationMetaEntity parent,
Element element,
String type)
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.