Class ConstraintRef
java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v4.dto.ConstraintRef
Constraint reference. The Constraint resource represents a policy/rule applied to an entity or entity spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atReferredType(String atReferredType) atSchemaLocation(String atSchemaLocation) booleanWhen sub-classing, this defines the super-classThe (class) type of the referred constraintA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity namegetHref()Hyperlink reference to the target constraint@NotNull StringgetId()reference id to the target constraintgetName()Name given to the constraintconstraint versioninthashCode()voidsetAtBaseType(String atBaseType) voidsetAtReferredType(String atReferredType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidvoidvoidvoidsetVersion(String version) toString()
-
Constructor Details
-
ConstraintRef
public ConstraintRef()
-
-
Method Details
-
id
-
getId
reference id to the target constraint- Returns:
- id
-
setId
-
href
-
getHref
Hyperlink reference to the target constraint- Returns:
- href
-
setHref
-
name
-
getName
Name given to the constraint- Returns:
- name
-
setName
-
version
-
getVersion
constraint version- Returns:
- version
-
setVersion
-
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
-
atReferredType
-
getAtReferredType
The (class) type of the referred constraint- Returns:
- atReferredType
-
setAtReferredType
-
equals
-
hashCode
public int hashCode() -
toString
-