public interface DynField_v2 extends DynField_LabelAttribute, Tagged
Modifier and Type | Interface and Description |
---|---|
static interface |
DynField_v2.AvailableValuesProvider |
ANY, CHOICE, RANGE, RELATION_TYPE_AGGREGATE, RELATION_TYPE_AGGREGATE_WITH_COMPOSITION, RELATION_TYPE_COLLABORATION, RELATION_TYPE_COLLABORATION_WITH_COMPOSITION, RELATION_TYPE_COMPOSITION, RELATION_TYPE_IDENTITY, RELATION_TYPE_NONE
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(DynField other) |
DynObjectValueItem[] |
getAvailableValues(DynObject self) |
DynMethod |
getAvailableValuesMethod() |
java.lang.Object |
getCalculatedValue(DynObject self) |
DynMethod |
getCalculateMethod() |
java.lang.String |
getClassNameOfItems()
When is a Container of objects field returns the name of class of the
elements, otherwise returns null
|
java.lang.String |
getClassNameOfValue()
When is a Object field returns the name of object's class, otherwise
returns null
|
java.lang.Class |
getClassOfItems()
When is a Container of objects field returns the class of the elements,
otherwise returns null
|
java.lang.Object |
getCoercedDefaultValue() |
java.util.function.Supplier |
getDefaultValueSupplier() |
DynStruct |
getDynClassOfItems()
When is a Container of DynObjects field returns the DynStruct of the
elements, otherwise returns null
|
DynStruct |
getDynClassOfValue()
When is a DynObject field returns the DynStruct of the DynObject,
otherwise returns null
|
int |
getRelationType() |
Tags |
getTags() |
int |
getTypeOfItems()
When is a Container field returns the type of the elements, otherwise
returns INVALID
|
boolean |
getValidateElements() |
boolean |
isAvailableValuesCalculated() |
boolean |
isCalculated() |
DynField |
setAvailableValues(DynMethod computeAvailableValues) |
DynField |
setCalculateMethod(DynMethod computeValue) |
DynField |
setClassOfItems(java.lang.Class theClass)
If field type is List, Set or Map, this class is the class of items.
|
DynField |
setClassOfItems(DynStruct dynStrct) |
DynField |
setClassOfItems(java.lang.String theClassNameOfValue) |
DynField |
setClassOfValue(DynStruct dynStrct) |
DynField |
setClassOfValue(java.lang.String theClassNameOfValue) |
DynField |
setDefaultValueSupplier(java.util.function.Supplier supplier) |
DynField |
setRelationType(int relationType) |
DynField |
setTypeOfItems(int type) |
DynField |
setValidateElements(boolean validate) |
getLabel, getLocalizedLabel, getLocalizedShortLabel, getShortLabel, setLabel, setShortLabel
coerce, getAvailableValues, getClassOfValue, getDataType, getDefaultValue, getDescription, getElementsType, getGroup, getMaxValue, getMinValue, getName, getOder, getSubtype, getTheTypeOfAvailableValues, getType, isContainer, isHidden, isMandatory, isPersistent, isReadOnly, setAvailableValues, setAvailableValues, setClassOfValue, setDefaultDynValue, setDefaultFieldValue, setDescription, setElementsType, setElementsType, setGroup, setHidden, setMandatory, setMaxValue, setMinValue, setOrder, setPersistent, setReadOnly, setSubtype, setTheTypeOfAvailableValues, setType, setType, validate
clone, cloneQuietly, cloneQuietly
DynField setClassOfValue(java.lang.String theClassNameOfValue)
java.lang.String getClassNameOfValue()
DynStruct getDynClassOfValue()
DynField setTypeOfItems(int type)
int getTypeOfItems()
DynField setClassOfItems(java.lang.Class theClass)
DynField
setClassOfItems
in interface DynField
DynField
objectDynField setClassOfItems(java.lang.String theClassNameOfValue)
java.lang.String getClassNameOfItems()
DynStruct getDynClassOfItems()
java.lang.Class getClassOfItems()
getClassOfItems
in interface DynField
DynField setRelationType(int relationType)
int getRelationType()
DynMethod getAvailableValuesMethod()
DynObjectValueItem[] getAvailableValues(DynObject self)
boolean isAvailableValuesCalculated()
DynMethod getCalculateMethod()
boolean isCalculated()
java.lang.Object getCalculatedValue(DynObject self)
void copyFrom(DynField other)
DynField setValidateElements(boolean validate)
boolean getValidateElements()
java.util.function.Supplier getDefaultValueSupplier()
DynField setDefaultValueSupplier(java.util.function.Supplier supplier)
java.lang.Object getCoercedDefaultValue()