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

Author:
Max Andersen, Hardy Ferentschik, Emmanuel Bernard

Field Summary
protected  javax.lang.model.element.Element element
           
protected  AnnotationMetaEntity parent
           
 
Constructor Summary
AnnotationMetaAttribute(AnnotationMetaEntity parent, javax.lang.model.element.Element element, java.lang.String type)
           
 
Method Summary
 java.lang.String getDeclarationString()
           
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
 

Field Detail

element

protected final javax.lang.model.element.Element element

parent

protected final AnnotationMetaEntity parent
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

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.