Class ChangeAttributeTypeRequest
Object
ChangeAttributeTypeRequest
- All Implemented Interfaces:
Serializable
The properties of the Attribute Type to be changed.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanList of allowed values.The new description for the Attribute Type.getId()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.getName()The new name for the Attribute Type.The new public id for the Attribute Type.Whether statistics should be enabled.inthashCode()voidsetAllowedValues(List<String> allowedValues) List of allowed values.voidsetDescription(String description) The new description for the Attribute Type.voidRequired. The ID of the Attribute Type to be changed.voidsetIsInteger(Boolean isInteger) Whether Attribute Type holds integer value.voidsetLanguage(String language) Deprecated.This parameter will be removed from the next major release, and has no effect.voidThe new name for the Attribute Type.voidsetPublicId(String publicId) The new public id for the Attribute Type.voidsetStatisticsEnabled(Boolean statisticsEnabled) Whether statistics should be enabled.toString()
-
Constructor Details
-
ChangeAttributeTypeRequest
public ChangeAttributeTypeRequest()
-
-
Method Details
-
builder
-
getId
Required. The ID of the Attribute Type to be changed. Silently ignored if the ID is provided as path parameter of the request. -
getPublicId
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. -
getName
The new name for the Attribute Type. -
getDescription
The new description for the Attribute Type. -
getLanguage
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. -
getStatisticsEnabled
Whether statistics should be enabled. This property is only applicable to Attribute Types of kind "Numeric" or "Boolean". -
getIsInteger
Whether Attribute Type holds 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"." -
setId
Required. The ID of the Attribute Type to be changed. Silently ignored if the ID is provided as path parameter of the request. -
setPublicId
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. -
setName
The new name for the Attribute Type. -
setDescription
The new description for the Attribute Type. -
setLanguage
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. -
setStatisticsEnabled
Whether statistics should be enabled. This property is only applicable to Attribute Types of kind "Numeric" or "Boolean". -
setIsInteger
Whether Attribute Type holds 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"." -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-