Interface FormProperty
public interface FormProperty
Represents one field in the form.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This method will be removed in the future.Returns a list ofAssetTypeUUIDs.Returns this property's checkbox buttons.Returns a list ofCommunityUUIDs.Returns the datetime type in case this property is of type datetime.Returns this property's default dropdown values.Returns a list ofDomainUUIDs.Returns this property's enum values.Retrieve the help text assign to propertygetId()Returns the id of the property.Returns the multi default dropdown values.Returns the multi proposed dropdown values.getName()Returns the name of the property.Returns this property's proposed dropdown values.Returns this property's radio buttons.Returns a list ofStatusUUIDs.getType()Returns the property type.getValue()Returns the property (default) value.booleanReturns true if this property's default value is the current resource, false otherwise.booleanReturns true if this property allows multiple values, false otherwise.booleanReturns true if this property's proposed values are the only set of allowed values to select, false otherwise.booleanReturns true if this property is required, false otherwise.booleanReturns true if this property is writable, false otherwise.
-
Method Details
-
getId
String getId()Returns the id of the property.- Returns:
- the id
-
getName
String getName()Returns the name of the property.- Returns:
- the name
-
getType
String getType()Returns the property type.- Returns:
- the type
-
getValue
String getValue()Returns the property (default) value.- Returns:
- the value
-
isWritable
boolean isWritable()Returns true if this property is writable, false otherwise.- Returns:
- the writable
-
isRequired
boolean isRequired()Returns true if this property is required, false otherwise.- Returns:
- the required
-
getEnumValues
List<DropdownValue> getEnumValues()Returns this property's enum values.- Returns:
- a
ListofDropdownValueenumValues
-
getCheckButtons
List<OptionValue> getCheckButtons()Returns this property's checkbox buttons.- Returns:
- a
ListofOptionValuecheckButtons
-
getRadioButtons
List<OptionValue> getRadioButtons()Returns this property's radio buttons.- Returns:
- a
ListofOptionValueradioButtons
-
getDefaultDropdownValues
List<DropdownValue> getDefaultDropdownValues()Returns this property's default dropdown values.- Returns:
- a
ListofDropdownValuedefaultDropdownValues
-
getProposedDropdownValues
List<DropdownValue> getProposedDropdownValues()Returns this property's proposed dropdown values.- Returns:
- a
ListofDropdownValueproposedDropdownValues
-
getDateTimeType
String getDateTimeType()Returns the datetime type in case this property is of type datetime.- Returns:
- the dateTimeType
-
isMultiValue
boolean isMultiValue()Returns true if this property allows multiple values, false otherwise.- Returns:
- the multiValue
-
isProposedFixed
boolean isProposedFixed()Returns true if this property's proposed values are the only set of allowed values to select, false otherwise.- Returns:
- the proposedFixed
-
isDefaultFromResource
boolean isDefaultFromResource()Returns true if this property's default value is the current resource, false otherwise.- Returns:
- the defaultFromResource
-
getMultiDefaultDropdownValues
Map<ResourceType,List<DropdownValue>> getMultiDefaultDropdownValues()Returns the multi default dropdown values.- Returns:
- a
MapofResourceTypeas key and aListofDropdownValues
-
getMultiProposedDropdownValues
Map<ResourceType,List<DropdownValue>> getMultiProposedDropdownValues()Returns the multi proposed dropdown values.- Returns:
- a
MapofResourceTypeas key and aListofDropdownValues
-
getAssetType
ResourceReference getAssetType()Deprecated.This method will be removed in the future. UsegetAssetTypeIds()instead.Returns the reference to theAssetType. OnlyAssets of the specifiedAssetTypeare allowed as input.- Returns:
- The reference to the
AssetTypeto filter on.
-
getAssetTypeIds
- Returns:
- List of
AssetTypeUUIDs.
-
getCommunityIds
- Returns:
- List of
CommunityUUIDs.
-
getDomainIds
- Returns:
- List of
DomainUUIDs.
-
getStatusIds
- Returns:
- List of
StatusUUIDs.
-
getHelpText
String getHelpText()Retrieve the help text assign to property- Returns:
- The help text.
-