Package | Description |
---|---|
io.sphere.sdk.products.attributes |
Provides model classes for product type attributes.
|
io.sphere.sdk.producttypes.commands.updateactions |
Provides the possible operations which can be performed on update commands for product types.
|
Modifier and Type | Method and Description |
---|---|
AttributeConstraint |
AttributeDefinitionDraft.getAttributeConstraint() |
AttributeConstraint |
AttributeDefinition.getAttributeConstraint()
Describes how an attribute or a set of attributes should be validated across all variants of a product.
|
AttributeConstraint |
AttributeDefinitionBuilder.getAttributeConstraint() |
AttributeConstraint |
AttributeDefinitionDraftDsl.getAttributeConstraint() |
static AttributeConstraint |
AttributeConstraint.ofSphereValue(String value) |
static AttributeConstraint |
AttributeConstraint.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeConstraint[] |
AttributeConstraint.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
AttributeDefinitionBuilder |
AttributeDefinitionBuilder.attributeConstraint(AttributeConstraint attributeConstraint) |
AttributeDefinitionDraftDsl |
AttributeDefinitionDraftDsl.withAttributeConstraint(AttributeConstraint attributeConstraint) |
Modifier and Type | Method and Description |
---|---|
AttributeConstraint |
ChangeAttributeConstraint.getNewValue() |
Modifier and Type | Method and Description |
---|---|
static ChangeAttributeConstraint |
ChangeAttributeConstraint.of(String attributeName,
AttributeConstraint newValue)
Creates a new object initialized with the given values.
|