Class ConstraintRef
java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v4.dto.ConstraintRef
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfresources.swagger.TelcoCodegen",
date="2022-10-21T20:34:37.643Z")
public class ConstraintRef
extends Object
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
-