Class ChangeAttributeTypeRequest.Builder
Object
Builder
- Enclosing class:
ChangeAttributeTypeRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowedValues(List<String> allowedValues) List of allowed values.build()but()Deprecated.This method will be removed in the future.description(String description) The new description for the Attribute Type.Required. The ID of the Attribute Type to be changed.Whether Attribute Type holds integer value.Deprecated.This parameter will be removed from the next major release, and has no effect.The new name for the Attribute Type.The new public id for the Attribute Type.statisticsEnabled(Boolean statisticsEnabled) Whether statistics should be enabled.stringType(StringType stringType) Whether the Attribute Type holds rich text or plain text.toString()
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useChangeAttributeTypeRequest.builder().Clone method for this Builder. -
id
Required. The ID of the Attribute Type to be changed.- Returns:
this.
-
publicId
The new public id for the 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".
WARNING : The public id should only be changed with extreme caution, since it can break existing customizations. The only valid use case is to change it after creation of the type, if no public id was specified, and the generated proposal is not acceptable.- Returns:
this.
-
name
The new name for the Attribute Type.- Returns:
this.
-
description
The new description for the Attribute Type.- Returns:
this.
-
language
Deprecated.This parameter will be removed from the next major release, and has no effect.The new script language of the new Attribute Type, for script Attribute Types.- Returns:
this.
-
statisticsEnabled
Whether statistics should be enabled. This property is only applicable to Attribute Types of kind "Numeric" or "Boolean".- Returns:
this.
-
isInteger
Whether Attribute Type holds integer value. This property is only applicable to Attribute Types of kind "Numeric".- Returns:
this.
-
allowedValues
List of allowed values. This property is only applicable to Attribute Types of kind "Single Value List" or "Multi Value List"."- Returns:
this.
-
stringType
Whether the Attribute Type holds rich text or plain text. This property is only applicable to Attribute Types of kind "String".- Returns:
this.
-
build
-
toString
-