public class DefaultFieldInfo<T> extends java.lang.Object implements FieldInfo, BaseFieldInfo<T>, java.io.Serializable
| Constructor and Description |
|---|
DefaultFieldInfo(FieldId fieldId,
java.lang.String readable,
java.lang.Class<?> type,
boolean _transient,
boolean codeValuable,
boolean codeLookup,
java.lang.Class<?>[] genericTypes,
FieldId... siblings) |
DefaultFieldInfo(FieldInfo fieldInfo) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?>[] |
genericTypes()
Returns the
FieldId type parameters |
DefaultFunction<T,FieldMetadata<?>> |
getDefaultFunction()
Returns a new default condition that will use this as a field.
|
Metadata |
getMetadata() |
FieldId |
id()
Returns the referenced
FieldId |
boolean |
isCodeLookup()
Field metadata for
CodeLookup. |
boolean |
isCodeValuable()
Field metadata for
CodeValuable. |
boolean |
isTransient()
Field metadata for transient.
|
java.lang.String |
readable()
Returns the human readable version of this object.
|
FieldId[] |
siblings()
Returns the other
FieldId mapped on the same property |
java.lang.Class<?> |
type()
Returns the
FieldId type |
public DefaultFieldInfo(FieldId fieldId, java.lang.String readable, java.lang.Class<?> type, boolean _transient, boolean codeValuable, boolean codeLookup, java.lang.Class<?>[] genericTypes, FieldId... siblings)
public DefaultFieldInfo(FieldInfo fieldInfo)
public java.lang.Class<?> type()
FieldInfoFieldId typepublic boolean isTransient()
FieldInfoFieldTransient annotation.isTransient in interface FieldInfopublic boolean isCodeValuable()
FieldInfoCodeValuable. This information is used for serialization of Enum typesisCodeValuable in interface FieldInfoCodeValuable is assignable from the fieldpublic boolean isCodeLookup()
FieldInfoCodeLookup. This information is used for serialization of Enum typesisCodeLookup in interface FieldInfoCodeLookup is assignable from the fieldpublic FieldId[] siblings()
FieldInfoFieldId mapped on the same propertypublic java.lang.Class<?>[] genericTypes()
FieldInfoFieldId type parametersgenericTypes in interface FieldInfopublic DefaultFunction<T,FieldMetadata<?>> getDefaultFunction()
DslFieldgetDefaultFunction in interface DslField<T>public java.lang.String readable()
Readablepublic Metadata getMetadata()
getMetadata in interface DslField<T>getMetadata in interface FieldInfo