FetchImports, Validatablepublic class ModelBackingBeanField extends java.lang.Object implements FetchImports, Validatable
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<java.lang.String> |
fetchImports() |
|
io.toolisticon.fluapigen.processor.FluentApiBackingBeanFieldWrapper |
getAnnotation() |
|
static java.lang.String |
getAssignmentString(io.toolisticon.aptk.tools.TypeMirrorWrapper fieldTMW,
java.lang.String[] values,
MappingAction mappingAction) |
|
java.lang.String |
getBackingBeanCloneValueAssignmentString() |
|
java.util.Optional<java.lang.String> |
getBackingBeanReference() |
Returns the fields Backing Bean reference if field is related to other backing bean type.
|
ModelBackingBean |
getBackingBeanReferenceBackingBeanModel() |
Gets the Backing Bean Model if the field is a backing bean.
|
java.lang.String |
getCollectionImplType() |
|
io.toolisticon.aptk.tools.wrapper.CompileMessageWriter.CompileMessageWriterStart |
getCompilerMessageWriter() |
|
io.toolisticon.aptk.tools.TypeMirrorWrapper |
getConcreteType() |
Gets the concrete type of the field.
|
java.lang.String |
getFieldId() |
|
java.lang.String |
getFieldName() |
|
io.toolisticon.aptk.tools.TypeMirrorWrapper |
getFieldType() |
Get the type of the field.
|
java.lang.String |
getGetterMethodSignature() |
|
java.lang.String |
getInitValueString() |
|
java.lang.String |
getToStringStr() |
|
static java.lang.String |
getValueAssignmentStringForSingleValue(io.toolisticon.aptk.tools.TypeMirrorWrapper fieldTMW,
java.lang.String valueStr) |
|
boolean |
isArray() |
Checks whether the field type is an array or not.
|
boolean |
isBackingBeanReference() |
|
boolean |
isCloneable() |
|
boolean |
isCollection() |
Checks whether the field type is a collection or not.
|
boolean |
validate() |
public io.toolisticon.fluapigen.processor.FluentApiBackingBeanFieldWrapper getAnnotation()
public io.toolisticon.aptk.tools.wrapper.CompileMessageWriter.CompileMessageWriterStart getCompilerMessageWriter()
public io.toolisticon.aptk.tools.TypeMirrorWrapper getFieldType()
public io.toolisticon.aptk.tools.TypeMirrorWrapper getConcreteType()
public java.lang.String getFieldName()
public java.lang.String getFieldId()
public java.lang.String getGetterMethodSignature()
public java.lang.String getToStringStr()
public boolean isCollection()
public boolean isArray()
public boolean isCloneable()
public boolean isBackingBeanReference()
public java.util.Optional<java.lang.String> getBackingBeanReference()
public ModelBackingBean getBackingBeanReferenceBackingBeanModel()
public java.util.Set<java.lang.String> fetchImports()
fetchImports in interface FetchImportspublic java.lang.String getInitValueString()
public static java.lang.String getAssignmentString(io.toolisticon.aptk.tools.TypeMirrorWrapper fieldTMW,
java.lang.String[] values,
MappingAction mappingAction)
public java.lang.String getCollectionImplType()
public static java.lang.String getValueAssignmentStringForSingleValue(io.toolisticon.aptk.tools.TypeMirrorWrapper fieldTMW,
java.lang.String valueStr)
public java.lang.String getBackingBeanCloneValueAssignmentString()
@DeclareCompilerMessage(code="201",enumValueName="ERROR_BACKING_BEAN_FIELD_ID_MUST_NOT_BE_EMPTY",message="Backing bean field id must not be an empty string",processorClass=FluentApiProcessor.class) @DeclareCompilerMessage(code="202",enumValueName="ERROR_BACKING_BEAN_FIELD_INIT_VALUE_MUST_BE_SINGLE_VALUE",message="Backing bean fields init value must be one single value",processorClass=FluentApiProcessor.class) public boolean validate()
validate in interface ValidatableCopyright © 2023–2024 Holisticon AG. All rights reserved.