com.agimatec.annotations.jam
Class JAMDtoFieldAnnotation

java.lang.Object
  extended by com.agimatec.annotations.jam.JAMDtoFieldAnnotation

public class JAMDtoFieldAnnotation
extends Object

Description:
User: roman.stumm
Date: 08.06.2007
Time: 17:18:39
Copyright: Agimatec GmbH


Constructor Summary
JAMDtoFieldAnnotation(JAMAnnotation annotation, JAMDtoField field)
           
JAMDtoFieldAnnotation(JAMAnnotation annotation, JAMDtoMethod method)
           
 
Method Summary
 JAMAnnotation findGetterAnnotation(String annotationName)
           
 JAMAnnotation getAnnotation()
           
 String getDtoAddMethod()
           
 String getDtoBeanType()
           
 String getDtoConverter()
           
 String getDtoFieldType()
          der element-type des dto-targets, d.h. bei listen der generic-type
 String getDtoName()
           
 String getDtoPath()
           
 String getDtoType()
           
 JAMDtoAnnotatedElement getElement()
           
 JAMDtoField getField()
           
 String getGetterName()
           
static String getGetterName(String name, String type)
           
 String getHintType()
           
 Integer getLength()
          =length des letzten elements im pfad
protected  JAMDtoAnnotatedElement getTargetElement()
          das letzte element im pfad
protected  JAMDtoAnnotatedElement[] getTargetElements()
           
 boolean isDtoCopyByReference()
           
 boolean isDtoOneWay()
           
 boolean isNullable()
           
 boolean isRelationship()
           
 boolean isUnique()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAMDtoFieldAnnotation

public JAMDtoFieldAnnotation(JAMAnnotation annotation,
                             JAMDtoField field)

JAMDtoFieldAnnotation

public JAMDtoFieldAnnotation(JAMAnnotation annotation,
                             JAMDtoMethod method)
Method Detail

getAnnotation

public JAMAnnotation getAnnotation()

getField

public JAMDtoField getField()

getElement

public JAMDtoAnnotatedElement getElement()

isDtoCopyByReference

public boolean isDtoCopyByReference()

isDtoOneWay

public boolean isDtoOneWay()

getDtoConverter

public String getDtoConverter()

getDtoPath

public String getDtoPath()

getDtoAddMethod

public String getDtoAddMethod()

getDtoName

public String getDtoName()

getDtoType

public String getDtoType()

findGetterAnnotation

public JAMAnnotation findGetterAnnotation(String annotationName)

getDtoFieldType

public String getDtoFieldType()
der element-type des dto-targets, d.h. bei listen der generic-type


getDtoBeanType

public String getDtoBeanType()
Returns:
the type of the dto bean (used for relationship beanId="dtoBeanType")

getHintType

public String getHintType()

getGetterName

public String getGetterName()

getGetterName

public static String getGetterName(String name,
                                   String type)

isNullable

public boolean isNullable()
Returns:
true wenn mind. ein element im pfad nullable ist

isUnique

public boolean isUnique()
Returns:
true wenn alle elemente im pfad unique sind

getLength

public Integer getLength()
=length des letzten elements im pfad


getTargetElement

protected JAMDtoAnnotatedElement getTargetElement()
das letzte element im pfad


getTargetElements

protected JAMDtoAnnotatedElement[] getTargetElements()

isRelationship

public boolean isRelationship()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012. All Rights Reserved.