public class DtoField
extends java.lang.Object
Constructor and Description |
---|
DtoField(java.lang.String name,
javax.lang.model.type.DeclaredType type,
java.util.List<javax.lang.model.type.DeclaredType> genericTypes,
java.lang.String visibility) |
DtoField(javax.lang.model.type.TypeMirror realType,
java.lang.String name,
DtoView dtoView,
java.lang.String modIndicator,
java.lang.String propertyAccessor,
java.lang.String getMethod,
java.lang.String setMethod,
java.lang.String isModifiedMethod,
java.lang.String getPropertyAccessorMethod,
java.lang.String visibility) |
Modifier and Type | Method and Description |
---|---|
DtoView |
getDtoView() |
java.lang.String |
getGenericTypeString() |
java.lang.String |
getGetMethod() |
java.lang.String |
getGetPropertyAccessorMethod() |
java.lang.String |
getIsModifiedMethod() |
java.lang.String |
getKnownDtoType(DtoAnnotationProcessor dtoAnnotationProcessor,
java.util.Set<java.lang.String> referenceAccu) |
java.lang.String |
getModIndicator() |
java.lang.String |
getName() |
PosoAnalizer |
getPosoReferencedInCollection(DtoAnnotationProcessor dtoAnnotationProcessor) |
java.lang.String |
getPropertyAccessor() |
java.lang.String |
getPropertyIdName() |
java.lang.String |
getSetMethod() |
javax.lang.model.type.TypeMirror |
getType() |
TypeAnalizer |
getTypeAnalizer(DtoAnnotationProcessor dtoAnnotationProcessor) |
java.lang.String |
getVisibility() |
boolean |
isCollection(DtoAnnotationProcessor dtoAnnotationProcessor) |
boolean |
isIdField() |
boolean |
isList(DtoAnnotationProcessor dtoAnnotationProcessor) |
boolean |
isPosoClass(DtoAnnotationProcessor dtoAnnotationProcessor) |
boolean |
isPosoCollection(DtoAnnotationProcessor dtoAnnotationProcessor) |
boolean |
isSet(DtoAnnotationProcessor dtoAnnotationProcessor) |
void |
setIsIdField(boolean b) |
public DtoField(javax.lang.model.type.TypeMirror realType, java.lang.String name, DtoView dtoView, java.lang.String modIndicator, java.lang.String propertyAccessor, java.lang.String getMethod, java.lang.String setMethod, java.lang.String isModifiedMethod, java.lang.String getPropertyAccessorMethod, java.lang.String visibility)
public DtoField(java.lang.String name, javax.lang.model.type.DeclaredType type, java.util.List<javax.lang.model.type.DeclaredType> genericTypes, java.lang.String visibility)
public DtoView getDtoView()
public java.lang.String getName()
public java.lang.String getPropertyIdName()
public java.lang.String getModIndicator()
public java.lang.String getPropertyAccessor()
public java.lang.String getSetMethod()
public java.lang.String getGetMethod()
public java.lang.String getIsModifiedMethod()
public java.lang.String getGetPropertyAccessorMethod()
public javax.lang.model.type.TypeMirror getType()
public TypeAnalizer getTypeAnalizer(DtoAnnotationProcessor dtoAnnotationProcessor)
public java.lang.String getKnownDtoType(DtoAnnotationProcessor dtoAnnotationProcessor, java.util.Set<java.lang.String> referenceAccu)
public boolean isCollection(DtoAnnotationProcessor dtoAnnotationProcessor)
public boolean isPosoCollection(DtoAnnotationProcessor dtoAnnotationProcessor)
public PosoAnalizer getPosoReferencedInCollection(DtoAnnotationProcessor dtoAnnotationProcessor)
public boolean isPosoClass(DtoAnnotationProcessor dtoAnnotationProcessor)
public boolean isSet(DtoAnnotationProcessor dtoAnnotationProcessor)
public boolean isList(DtoAnnotationProcessor dtoAnnotationProcessor)
public java.lang.String getGenericTypeString()
public void setIsIdField(boolean b)
public boolean isIdField()
public java.lang.String getVisibility()