org.hibernate.jpamodelgen.annotation
Class AnnotationMetaAttribute

java.lang.Object
  extended by 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.

Author:
Max Andersen, Hardy Ferentschik, Emmanuel Bernard

Constructor Summary
AnnotationMetaAttribute(AnnotationMetaEntity parent, javax.lang.model.element.Element element, java.lang.String type)
           
 
Method Summary
 java.lang.String getDeclarationString()
           
 MetaEntity getHostingEntity()
           
abstract  java.lang.String getMetaType()
           
 java.lang.String getPropertyName()
           
 java.lang.String getTypeDeclaration()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationMetaAttribute

public AnnotationMetaAttribute(AnnotationMetaEntity parent,
                               javax.lang.model.element.Element element,
                               java.lang.String type)
Method Detail

getDeclarationString

public java.lang.String getDeclarationString()
Specified by:
getDeclarationString in interface MetaAttribute

getPropertyName

public java.lang.String getPropertyName()
Specified by:
getPropertyName in interface MetaAttribute

getHostingEntity

public MetaEntity getHostingEntity()
Specified by:
getHostingEntity in interface MetaAttribute

getMetaType

public abstract java.lang.String getMetaType()
Specified by:
getMetaType in interface MetaAttribute

getTypeDeclaration

public java.lang.String getTypeDeclaration()
Specified by:
getTypeDeclaration in interface MetaAttribute

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009-2010. All Rights Reserved.