public interface IFieldDefinition
Represents OpenPages metadata pertaining to a field part of a type definition.
| Modifier and Type | Method and Description |
|---|---|
DataType |
getDataType()
Returns the data type part of the property definition.
|
java.lang.Object |
getDefaultValue()
Returns the default value for this field when specified in the model.
|
java.util.List<IFieldDependency> |
getDependencies()
Returns the list of all dependencies for this field.
|
java.util.List<IEnumValue> |
getDescendantEnumValuesByParentId(Id enumValueId)
Returns the IEnumValue by its Id.
|
java.util.List<IEnumValue> |
getDescendantEnumValuesByParentName(java.lang.String systemName)
Returns the IEnumValue by its system name.
|
java.lang.String |
getDescription()
Returns the system level description of the property.
|
IDisplayTypeAttributes |
getDisplayTypeAttributes()
Returns display-type attributes defined on the field definition, or null if it is not set.
|
IEnumValue |
getEnumValue(java.lang.String systemName)
Returns the IEnumValue by its system name.
|
IEnumValue |
getEnumValueById(Id enumValueId)
Returns the IEnumValue by its Id.
|
java.util.List<IEnumValue> |
getEnumValues()
Returns the list of
IEnumValue for all the elements that are part of an enumeration. |
Id |
getId()
Returns the unique id associated with the field definition.
|
boolean |
getIsHierarchical()
Returns true if the field is a hierarchical enum data type
|
java.lang.String |
getLocalizedGuidance()
Returns the field guidance in the user locale.
|
java.util.Map<java.util.Locale,java.lang.String> |
getLocalizedGuidances()
Returns the map of the field guidance in every locale
|
java.lang.String |
getLocalizedLabel()
Returns the field definition name in the user locale.
|
java.util.Map<java.util.Locale,java.lang.String> |
getLocalizedLabels()
Returns the map of the field definition name in every locale
|
java.lang.Object |
getMaxValue()
Returns the maximum allowable value for this field when specified in the model.
|
java.lang.Object |
getMinValue()
Returns the minimum allowable value for this field when specified in the model.
|
java.lang.String |
getName()
Returns the system name associated with the field definition.
|
boolean |
isComputed()
Returns true for computed fields.
|
boolean |
isController()
Returns true if this field is a controller for any other field's dependencies.
|
boolean |
isEncrypted()
Returns if the field definition is configured to be encrypted in the database.
|
boolean |
isReadOnly()
Returns true for read only fields.
|
boolean |
isRequired()
Returns true if the field definition is required.
|
Id getId()
Returns the unique id associated with the field definition.
Id - unique field idjava.lang.String getName()
Returns the system name associated with the field definition.
java.lang.String getLocalizedLabel()
Returns the field definition name in the user locale.
java.util.Map<java.util.Locale,java.lang.String> getLocalizedLabels()
Returns the map of the field definition name in every locale
java.lang.String getLocalizedGuidance()
Returns the field guidance in the user locale.
java.util.Map<java.util.Locale,java.lang.String> getLocalizedGuidances()
Returns the map of the field guidance in every locale
DataType getDataType()
Returns the data type part of the property definition.
DataType the instance of DataTypeboolean isRequired()
Returns true if the field definition is required.
java.lang.String getDescription()
Returns the system level description of the property. This information is not localized.
java.lang.Object getMaxValue()
Returns the maximum allowable value for this field when specified in the model. May return null.
java.lang.Object getMinValue()
Returns the minimum allowable value for this field when specified in the model. May return null.
java.lang.Object getDefaultValue()
Returns the default value for this field when specified in the model. May return null.
java.util.List<IEnumValue> getEnumValues()
Returns the list of IEnumValue for all the elements that are part of an enumeration.
IEnumValue getEnumValue(java.lang.String systemName)
Returns the IEnumValue by its system name.
systemName - the system name of the enumeration elementIEnumValue getEnumValueById(Id enumValueId)
Returns the IEnumValue by its Id.
enumValueId - the element idjava.util.List<IEnumValue> getDescendantEnumValuesByParentName(java.lang.String systemName)
Returns the IEnumValue by its system name.
systemName - the system name of the enumeration elementjava.util.List<IEnumValue> getDescendantEnumValuesByParentId(Id enumValueId)
Returns the IEnumValue by its Id.
enumValueId - the element idjava.util.List<IFieldDependency> getDependencies()
Returns the list of all dependencies for this field.
boolean isController()
Returns true if this field is a controller for any other field's dependencies.
boolean isComputed()
Returns true for computed fields.
boolean isReadOnly()
Returns true for read only fields.
boolean isEncrypted()
Returns if the field definition is configured to be encrypted in the database. Default is false.
IDisplayTypeAttributes getDisplayTypeAttributes()
Returns display-type attributes defined on the field definition, or null if it is not set.
boolean getIsHierarchical()
Returns true if the field is a hierarchical enum data type
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.