public interface DynField_v2 extends DynField_LabelAttribute
Modifier and Type | Interface and Description |
---|---|
static interface |
DynField_v2.AvailableValuesProvider |
ANY, CHOICE, RANGE, RELATION_TYPE_AGGREGATE, RELATION_TYPE_COLLABORATION, 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() |
Object |
getCalculatedValue(DynObject self) |
DynMethod |
getCalculateMethod() |
String |
getClassNameOfItems()
When is a Container of objects field returns the name of class of the
elements, otherwise returns null
|
String |
getClassNameOfValue()
When is a Object field returns the name of object's class, otherwise
returns null
|
Class |
getClassOfItems()
When is a Container of objects field returns the class of the elements,
otherwise returns null
|
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(Class theClass)
If field type is List, Set or Map, this class is the class of items.
|
DynField |
setClassOfItems(DynStruct dynStrct) |
DynField |
setClassOfItems(String theClassNameOfValue) |
DynField |
setClassOfValue(DynStruct dynStrct) |
DynField |
setClassOfValue(String theClassNameOfValue) |
DynField |
setRelationType(int relationType) |
DynField |
setTypeOfItems(int type) |
DynField |
setValidateElements(boolean validate) |
getLabel, setLabel
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
String getClassNameOfValue()
DynStruct getDynClassOfValue()
DynField setTypeOfItems(int type)
int getTypeOfItems()
DynField setClassOfItems(Class theClass)
DynField
setClassOfItems
in interface DynField
DynField
objectString getClassNameOfItems()
DynStruct getDynClassOfItems()
Class getClassOfItems()
getClassOfItems
in interface DynField
Tags getTags()
DynField setRelationType(int relationType)
int getRelationType()
DynMethod getAvailableValuesMethod()
DynObjectValueItem[] getAvailableValues(DynObject self)
boolean isAvailableValuesCalculated()
DynMethod getCalculateMethod()
boolean isCalculated()
void copyFrom(DynField other)
DynField setValidateElements(boolean validate)
boolean getValidateElements()