com.agimatec.annotations.jam
Class JAMDtoAnnotatedElement
java.lang.Object
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
JAMDtoAnnotatedElement
public JAMDtoAnnotatedElement()
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-2013. All Rights Reserved.