com.agimatec.annotations.jam
Class JAMDtoAnnotatedElement

java.lang.Object
  extended by com.agimatec.annotations.jam.JAMDtoAnnotatedElement
Direct Known Subclasses:
JAMDtoClass, JAMDtoField, JAMDtoMethod

public abstract class JAMDtoAnnotatedElement
extends Object

Description:
User: roman.stumm
Date: 08.06.2007
Time: 12:10:31
Copyright: Agimatec GmbH


Constructor Summary
JAMDtoAnnotatedElement()
           
 
Method Summary
abstract  org.codehaus.jam.JAnnotatedElement element()
           
protected static org.codehaus.jam.JField findField(org.codehaus.jam.JClass rootCls, String each)
           
protected static org.codehaus.jam.JField findField(org.codehaus.jam.JField root, String each)
           
 JAMAnnotation getAnnotation(String anno)
           
 String getComment()
           
 JAMAnnotation getDtoAnnotation()
          the first active dto annotation or null
 JAMAnnotation[] getDtoAnnotations()
          all active dto annotations or null
abstract  JAMDtoClass getDtoClass()
           
 String getGenericParameter()
           
abstract  String getName()
           
abstract  String getType()
           
abstract  org.codehaus.jam.JField getTypeField(String dtoPath)
           
abstract  org.codehaus.jam.JClass getTypeJClass()
           
protected  boolean isCurrentlyActive(JAMAnnotation ja)
           
 boolean isDtoCurrentlyActive()
           
abstract  boolean isEnumType()
           
protected abstract  String multiAnnotation()
           
protected abstract  String singleAnnotation()
           
protected  String stringValue(String v, String defaultValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAMDtoAnnotatedElement

public JAMDtoAnnotatedElement()
Method Detail

getName

public abstract String getName()

getType

public abstract String getType()

getTypeJClass

public abstract org.codehaus.jam.JClass getTypeJClass()

getDtoClass

public abstract JAMDtoClass getDtoClass()

isEnumType

public abstract boolean isEnumType()

getAnnotation

public JAMAnnotation getAnnotation(String anno)

element

public abstract org.codehaus.jam.JAnnotatedElement element()

stringValue

protected String stringValue(String v,
                             String defaultValue)

getComment

public String getComment()

isCurrentlyActive

protected boolean isCurrentlyActive(JAMAnnotation ja)

getDtoAnnotation

public JAMAnnotation getDtoAnnotation()
the first active dto annotation or null

Returns:

getDtoAnnotations

public JAMAnnotation[] getDtoAnnotations()
all active dto annotations or null

Returns:

singleAnnotation

protected abstract String singleAnnotation()

multiAnnotation

protected abstract String multiAnnotation()

isDtoCurrentlyActive

public boolean isDtoCurrentlyActive()

toString

public String toString()
Overrides:
toString in class Object

getTypeField

public abstract org.codehaus.jam.JField getTypeField(String dtoPath)

findField

protected static org.codehaus.jam.JField findField(org.codehaus.jam.JField root,
                                                   String each)

findField

protected static org.codehaus.jam.JField findField(org.codehaus.jam.JClass rootCls,
                                                   String each)

getGenericParameter

public String getGenericParameter()


Copyright © 2008-2012. All Rights Reserved.