Interface ICustomField
public interface ICustomField
Custom field prototype.
- Version:
- $Revision$ $Date$
- Author:
- Jiri Walek, Polarion Software
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
getType()
Returns type of this field - can be one of the following types:IPrimitiveType
IReferenceType
IEnumType
IListType
of one of the above typesboolean
isMulti()
Shortcut forgetType() instanceof IListType
.boolean
Shortcut forgetType() instanceof IReferenceType
.boolean
-
Method Details
-
getId
String getId() -
getType
IType getType()Returns type of this field - can be one of the following types:IPrimitiveType
IReferenceType
IEnumType
IListType
of one of the above types
-
getName
String getName() -
getDescription
String getDescription() -
isRequired
boolean isRequired() -
isMulti
boolean isMulti()Shortcut forgetType() instanceof IListType
. -
isReference
boolean isReference()Shortcut forgetType() instanceof IReferenceType
. -
getDefaultValue
Object getDefaultValue() -
getDependsOn
- Returns:
- id of custom field on what this custom field depends (can be
null
) - Since:
- 3.8.1
-
getDependentFieldIds
- Returns:
- custom field ids what depends on this custom field (not
null
) - Since:
- 3.8.1
-
getDependencyMapping
- Returns:
- dependency mapping as relation between values of current custom field and the one what depends on (can be
null
) - Since:
- 3.8.1
-
getParameters
- Returns:
- map of additional custom field parameters from configuration e.g. definition of columns for table custom field (not
null
) - Since:
- 3.20.2
-