public class PosoAnalizer
extends java.lang.Object
Constructor and Description |
---|
PosoAnalizer(DtoAnnotationProcessor dtoAnnotationProcessor,
javax.lang.model.element.Element poso) |
Modifier and Type | Method and Description |
---|---|
void |
analizePoso() |
boolean |
extendsPoso() |
java.util.Collection<DtoField> |
getAdditionalFields() |
java.util.Collection<PosoFieldDescriptor> |
getAllExposedFields()
Includes inherited fields
|
java.util.Collection<ExposedClientMethod> |
getAllExposedGetMethods()
Includes exposed methods in superclasses.
|
java.util.Collection<ExposedClientMethod> |
getAllExposedInterfaceMethods() |
java.util.Collection<ExposedClientMethod> |
getAllExposedSetMethods()
Includes exposed methods in superclasses.
|
java.util.Collection<PosoFieldDescriptor> |
getAllFields()
Includes inherited fields
|
PosoFieldDescriptor |
getDisplayTitleField() |
Dto2PosoInformation |
getDto2PosoInformation() |
java.util.List<DtoField> |
getDtoFieldObejcts() |
DtoInformation |
getDtoInformation()
Provides access to information on a dto for this poso
|
java.util.List<EnumAnalizer> |
getEnumConstants() |
java.util.Collection<PosoFieldDescriptor> |
getExposedFields() |
java.util.Collection<ExposedClientMethod> |
getExposedGetMethods() |
java.util.Collection<ExposedClientMethod> |
getExposedInterfaceMethods() |
java.util.Collection<ExposedClientMethod> |
getExposedSetMethods() |
java.util.Collection<PosoFieldDescriptor> |
getFields() |
java.lang.String |
getFullyQualifiedClassName()
Returns the poso's fully quallified name.
|
GenerateDto |
getGenerateDtoAnnotation() |
javax.lang.model.element.AnnotationMirror |
getGenerateDtoAnnotationMirror() |
PosoFieldDescriptor |
getIdField() |
java.util.Collection<PosoAnalizer> |
getImplementedPosos() |
PosoFieldDescriptor |
getKeyField() |
javax.lang.model.element.ExecutableElement |
getMethod(java.lang.String methodName) |
java.lang.String |
getPackage() |
javax.lang.model.element.Element |
getParentPoso() |
Poso2DtoInformation |
getPoso2DtoInformation()
Provides access to information on a dto generator for this poso
|
java.lang.String |
getSimpleName()
Returns the poso's name.
|
javax.lang.model.type.TypeMirror |
getSuperclass() |
boolean |
hasIdFieldInHeritage() |
boolean |
hasKeyFieldInHeritage() |
boolean |
isAbstract() |
boolean |
isJpaEntity() |
boolean |
isPosoClass() |
boolean |
isPosoEnum() |
boolean |
isPosoInterface() |
public PosoAnalizer(DtoAnnotationProcessor dtoAnnotationProcessor, javax.lang.model.element.Element poso)
public void analizePoso()
public boolean extendsPoso()
public GenerateDto getGenerateDtoAnnotation()
public javax.lang.model.element.AnnotationMirror getGenerateDtoAnnotationMirror()
public PosoFieldDescriptor getIdField()
public PosoFieldDescriptor getKeyField()
public PosoFieldDescriptor getDisplayTitleField()
public java.util.Collection<PosoFieldDescriptor> getFields()
public java.util.Collection<PosoFieldDescriptor> getAllFields()
public java.util.List<DtoField> getDtoFieldObejcts()
public java.util.Collection<DtoField> getAdditionalFields()
public java.util.Collection<PosoFieldDescriptor> getExposedFields()
public java.util.Collection<ExposedClientMethod> getExposedGetMethods()
public java.util.Collection<ExposedClientMethod> getExposedSetMethods()
public java.util.Collection<ExposedClientMethod> getExposedInterfaceMethods()
public java.util.Collection<ExposedClientMethod> getAllExposedInterfaceMethods()
public java.util.Collection<ExposedClientMethod> getAllExposedGetMethods()
public java.util.Collection<ExposedClientMethod> getAllExposedSetMethods()
public java.util.Collection<PosoFieldDescriptor> getAllExposedFields()
public javax.lang.model.type.TypeMirror getSuperclass()
public java.lang.String getSimpleName()
public java.lang.String getFullyQualifiedClassName()
public java.lang.String getPackage()
public DtoInformation getDtoInformation()
public Poso2DtoInformation getPoso2DtoInformation()
public Dto2PosoInformation getDto2PosoInformation()
public javax.lang.model.element.Element getParentPoso()
public boolean isPosoClass()
public boolean isPosoInterface()
public boolean isPosoEnum()
public java.util.List<EnumAnalizer> getEnumConstants()
public boolean isAbstract()
public boolean isJpaEntity()
public boolean hasIdFieldInHeritage()
public boolean hasKeyFieldInHeritage()
public java.util.Collection<PosoAnalizer> getImplementedPosos()
public javax.lang.model.element.ExecutableElement getMethod(java.lang.String methodName)