Class Feature
java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v4.dto.Feature
Configuration feature.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConstraintItem(ConstraintRef constraintItem) addFeatureCharacteristicItem(Characteristic featureCharacteristicItem) addFeatureRelationshipItem(FeatureRelationship featureRelationshipItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) constraint(List<ConstraintRef> constraint) booleanfeatureCharacteristic(List<Characteristic> featureCharacteristic) featureRelationship(List<FeatureRelationship> featureRelationship) When sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@Valid List<ConstraintRef>This is a list of feature constraints.@NotNull @Valid @Size(min=1) List<Characteristic>This is a list of Characteristics for a particular feature.@Valid List<FeatureRelationship>Get featureRelationshipgetId()Unique identifier of the feature.@NotNull StringgetName()This is the name for the feature.inthashCode()True if this is a feature group.True if this feature is enabled.voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetConstraint(List<ConstraintRef> constraint) voidsetFeatureCharacteristic(List<Characteristic> featureCharacteristic) voidsetFeatureRelationship(List<FeatureRelationship> featureRelationship) voidvoidsetIsBundle(Boolean isBundle) voidsetIsEnabled(Boolean isEnabled) voidtoString()
-
Constructor Details
-
Feature
public Feature()
-
-
Method Details
-
id
-
getId
Unique identifier of the feature.- Returns:
- id
-
setId
-
isBundle
-
isIsBundle
True if this is a feature group. Default is false.- Returns:
- isBundle
-
setIsBundle
-
isEnabled
-
isIsEnabled
True if this feature is enabled. Default is true.- Returns:
- isEnabled
-
setIsEnabled
-
name
-
getName
This is the name for the feature.- Returns:
- name
-
setName
-
constraint
-
addConstraintItem
-
getConstraint
This is a list of feature constraints.- Returns:
- constraint
-
setConstraint
-
featureCharacteristic
-
addFeatureCharacteristicItem
-
getFeatureCharacteristic
@NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) List<Characteristic> getFeatureCharacteristic()This is a list of Characteristics for a particular feature.- Returns:
- featureCharacteristic
-
setFeatureCharacteristic
-
featureRelationship
-
addFeatureRelationshipItem
-
getFeatureRelationship
Get featureRelationship- Returns:
- featureRelationship
-
setFeatureRelationship
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-