- Direct Known Subclasses:
CodedValueDomainDescription
,RangeDomainDescription
- Since:
- 100.14.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the field type of the domain to be created.getName()
Gets the name of the domain to be created.void
setFieldType
(Field.Type fieldType) Sets the field type of the domain to be created.void
Sets the name of the domain to be created.
-
Method Details
-
getFieldType
Gets the field type of the domain to be created.Specifies the field type of the domain. Valid field types are
Field.Type.SHORT
,Field.Type.INTEGER
,Field.Type.FLOAT
,Field.Type.DOUBLE
, andField.Type.DATE
. Additionally, forCodedValueDomainDescription
,Field.Type.TEXT
is valid.- Returns:
- the field type of the domain to be created
- Since:
- 100.14.0
-
setFieldType
Sets the field type of the domain to be created.Specifies the field type of the domain. Valid field types are
Field.Type.SHORT
,Field.Type.INTEGER
,Field.Type.FLOAT
,Field.Type.DOUBLE
, andField.Type.DATE
. Additionally, forCodedValueDomainDescription
,Field.Type.TEXT
is valid.- Parameters:
fieldType
- the field type of the domain to be created- Throws:
IllegalArgumentException
- if fieldType is null- Since:
- 100.14.0
-
getName
Gets the name of the domain to be created.Specifies the name of the domain. The domain name must be non-empty, consist only of alphanumeric characters and underscores, and cannot start with a number or an underscore.
- Returns:
- the name of the domain to be created
- Since:
- 100.14.0
-
setName
Sets the name of the domain to be created.Specifies the name of the domain. The domain name must be non-empty, consist only of alphanumeric characters and underscores, and cannot start with a number or an underscore.
- Parameters:
name
- the name of the domain to be created- Throws:
IllegalArgumentException
- if name is null- Since:
- 100.14.0
-