Class ConstraintRef

java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v4.dto.ConstraintRef

public class ConstraintRef extends Object
Constraint reference. The Constraint resource represents a policy/rule applied to an entity or entity spec.
  • Constructor Details

    • ConstraintRef

      public ConstraintRef()
  • Method Details

    • id

      public ConstraintRef id(String id)
    • getId

      @NotNull public @NotNull String getId()
      reference id to the target constraint
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public ConstraintRef href(String href)
    • getHref

      public String getHref()
      Hyperlink reference to the target constraint
      Returns:
      href
    • setHref

      public void setHref(String href)
    • name

      public ConstraintRef name(String name)
    • getName

      public String getName()
      Name given to the constraint
      Returns:
      name
    • setName

      public void setName(String name)
    • version

      public ConstraintRef version(String version)
    • getVersion

      public String getVersion()
      constraint version
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • atBaseType

      public ConstraintRef atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public ConstraintRef atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public ConstraintRef atType(String atType)
    • getAtType

      public String getAtType()
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atReferredType

      public ConstraintRef atReferredType(String atReferredType)
    • getAtReferredType

      public String getAtReferredType()
      The (class) type of the referred constraint
      Returns:
      atReferredType
    • setAtReferredType

      public void setAtReferredType(String atReferredType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object