Class AddAttributeTypeRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanList of allowed values.The description of the new Attribute Type.getId()The ID of the new Attribute Type.Deprecated.This method will be removed from the next major release.Deprecated.This method will be removed from the next major release.Whether Attribute Type holds an integer value.getKind()Required. The kind of the new Attribute Type.Deprecated.This parameter will be removed from the next major release, and has no effect.getName()Required. The name of the new Attribute Type.The public id that will be assigned to the new Attribute Type.Whether statistics should be enabled.inthashCode()voidsetAllowedValues(List<String> allowedValues) List of allowed values.voidsetDescription(String description) The description of the new Attribute Type.voidThe ID of the new Attribute Type.voidsetInteger(Boolean integer) Deprecated.This method will be removed from the next major release.voidsetIsInteger(Boolean isInteger) Whether Attribute Type holds an integer value.voidsetKind(AttributeKind kind) Required. The kind of the new Attribute Type.voidsetLanguage(String language) Deprecated.This parameter will be removed from the next major release, and has no effect.voidRequired. The name of the new Attribute Type.voidsetPublicId(String publicId) The public id that will be assigned to the new Attribute Type.voidsetStatisticsEnabled(Boolean statisticsEnabled) Whether statistics should be enabled.voidsetStringType(StringType stringType) toString()
-
Constructor Details
-
AddAttributeTypeRequest
public AddAttributeTypeRequest()
-
-
Method Details
-
getIdString
Deprecated.This method will be removed from the next major release. -
getInteger
Deprecated.This method will be removed from the next major release. Please usegetIsInteger() -
setInteger
Deprecated.This method will be removed from the next major release. Please usesetIsInteger(Boolean)Sets whether Attribute Type holds an integer value.- Parameters:
integer- whether Attribute Type holds an integer value
-
builder
-
getId
The ID of the new Attribute Type. Should be unique within all Attribute Types.It should have a format of universally unique identifier (UUID) and should not start with
00000000-0000-0000-which is a reserved prefix. -
getPublicId
The public id that will be assigned to the new Attribute Type.It must be unique within all Attribute Types. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C". If no public id is provided, a valid public id will be generated.
-
getName
Required. The name of the new Attribute Type. Should be unique within all Attribute Types. -
getDescription
The description of the new Attribute Type. -
getKind
Required. The kind of the new Attribute Type. -
getLanguage
Deprecated.This parameter will be removed from the next major release, and has no effect.The script language of the new Attribute Type, for script Attribute Types. -
getStatisticsEnabled
Whether statistics should be enabled. This property is only applicable to Attribute Types of kind "Numeric" or "Boolean". -
getIsInteger
Whether Attribute Type holds an integer value. This property is only applicable to Attribute Types of kind "Numeric". -
getAllowedValues
List of allowed values. This property is only applicable to Attribute Types of kind "Single Value List" or "Multi Value List". -
getStringType
-
setId
The ID of the new Attribute Type. Should be unique within all Attribute Types.It should have a format of universally unique identifier (UUID) and should not start with
00000000-0000-0000-which is a reserved prefix. -
setPublicId
The public id that will be assigned to the new Attribute Type.It must be unique within all Attribute Types. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C". If no public id is provided, a valid public id will be generated.
-
setName
Required. The name of the new Attribute Type. Should be unique within all Attribute Types. -
setDescription
The description of the new Attribute Type. -
setKind
Required. The kind of the new Attribute Type. -
setLanguage
Deprecated.This parameter will be removed from the next major release, and has no effect.The script language of the new Attribute Type, for script Attribute Types. -
setStatisticsEnabled
Whether statistics should be enabled. This property is only applicable to Attribute Types of kind "Numeric" or "Boolean". -
setIsInteger
Whether Attribute Type holds an integer value. This property is only applicable to Attribute Types of kind "Numeric". -
setAllowedValues
List of allowed values. This property is only applicable to Attribute Types of kind "Single Value List" or "Multi Value List". -
setStringType
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-