com.agimatec.annotations.jam
Class JAMDtoClass

java.lang.Object
  extended by com.agimatec.annotations.jam.JAMDtoAnnotatedElement
      extended by 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)
           
 
Method Summary
 org.codehaus.jam.JAnnotatedElement element()
           
 JAMDtoFieldAnnotation findByElementAnnotation(String annotationName)
          find first annotated element (field or method) that has an annotation of the given type
 JAMDtoFieldAnnotation findByGetterAnnotation(String annotationName)
          find first annotated element with method annotation of given type
 JAMDtoMethod findMethod(String methodName)
           
 JAMDtoClass getDtoClass()
           
 String getDtoClassName()
           
 List<JAMDtoField> getDtoField()
           
 List<JAMDtoFieldAnnotation> getDtoFieldAnnotations()
           
 String getDtoPackageName()
           
 String getDtoPackagePath()
           
 List<JAMDtoField> getFields()
           
 JAMDtoMethod getMethod(String methodName)
           
 String getName()
           
 String getPackageName()
           
 String getSimpleName()
           
 String getType()
           
 org.codehaus.jam.JField getTypeField(String path)
           
 org.codehaus.jam.JClass getTypeJClass()
           
 boolean isEnumType()
           
protected  String multiAnnotation()
           
protected  String singleAnnotation()
           
 
Methods inherited from class com.agimatec.annotations.jam.JAMDtoAnnotatedElement
findField, findField, getAnnotation, getComment, getDtoAnnotation, getDtoAnnotations, getGenericParameter, isCurrentlyActive, isDtoCurrentlyActive, stringValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAMDtoClass

public JAMDtoClass(org.codehaus.jam.JClass mclass)
Method Detail

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.