com.agimatec.annotations.jam
Class JAMDtoClass
java.lang.Object
com.agimatec.annotations.jam.JAMDtoAnnotatedElement
com.agimatec.annotations.jam.JAMDtoClass
public class JAMDtoClass
- extends JAMDtoAnnotatedElement
Description:
User: roman.stumm
Date: 08.06.2007
Time: 09:16:15
Copyright: Agimatec GmbH
|
Constructor Summary |
JAMDtoClass(org.codehaus.jam.JClass mclass)
|
| Methods inherited from class com.agimatec.annotations.jam.JAMDtoAnnotatedElement |
findField, findField, getAnnotation, getComment, getDtoAnnotation, getDtoAnnotations, getGenericParameter, isCurrentlyActive, isDtoCurrentlyActive, stringValue, toString |
JAMDtoClass
public JAMDtoClass(org.codehaus.jam.JClass mclass)
isEnumType
public boolean isEnumType()
- Specified by:
isEnumType in class JAMDtoAnnotatedElement
getDtoClassName
public String getDtoClassName()
- Returns:
- null for default, otherwise the explicitly given name from the annotation
findByGetterAnnotation
public JAMDtoFieldAnnotation findByGetterAnnotation(String annotationName)
- find first annotated element with method annotation of given type
findByElementAnnotation
public JAMDtoFieldAnnotation findByElementAnnotation(String annotationName)
- find first annotated element (field or method) that has an annotation
of the given type
getDtoField
public List<JAMDtoField> getDtoField()
getMethod
public JAMDtoMethod getMethod(String methodName)
getDtoFieldAnnotations
public List<JAMDtoFieldAnnotation> getDtoFieldAnnotations()
getFields
public List<JAMDtoField> getFields()
getSimpleName
public String getSimpleName()
getName
public String getName()
- Specified by:
getName in class JAMDtoAnnotatedElement
getType
public String getType()
- Specified by:
getType in class JAMDtoAnnotatedElement
getTypeJClass
public org.codehaus.jam.JClass getTypeJClass()
- Specified by:
getTypeJClass in class JAMDtoAnnotatedElement
getDtoClass
public JAMDtoClass getDtoClass()
- Specified by:
getDtoClass in class JAMDtoAnnotatedElement
getPackageName
public String getPackageName()
getDtoPackageName
public String getDtoPackageName()
getDtoPackagePath
public String getDtoPackagePath()
element
public org.codehaus.jam.JAnnotatedElement element()
- Specified by:
element in class JAMDtoAnnotatedElement
singleAnnotation
protected String singleAnnotation()
- Specified by:
singleAnnotation in class JAMDtoAnnotatedElement
multiAnnotation
protected String multiAnnotation()
- Specified by:
multiAnnotation in class JAMDtoAnnotatedElement
getTypeField
public org.codehaus.jam.JField getTypeField(String path)
- Specified by:
getTypeField in class JAMDtoAnnotatedElement
findMethod
public JAMDtoMethod findMethod(String methodName)
Copyright © 2008-2013. All Rights Reserved.