Class BucketRelationship

java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.BucketRelationship

public class BucketRelationship extends Object
Linked bucket to the one instantiate, such as [isAggregated] if the bucket is a part of other or [aggregator] is the bucket holds others .
  • Constructor Details

    • BucketRelationship

      public BucketRelationship()
  • Method Details

    • bucketRefOrValue

      public BucketRelationship bucketRefOrValue(List<BucketRefOrValue> bucketRefOrValue)
    • addBucketRefOrValueItem

      public BucketRelationship addBucketRefOrValueItem(BucketRefOrValue bucketRefOrValueItem)
    • getBucketRefOrValue

      @Valid public @Valid List<BucketRefOrValue> getBucketRefOrValue()
      Get bucketRefOrValue
      Returns:
      bucketRefOrValue
    • setBucketRefOrValue

      public void setBucketRefOrValue(List<BucketRefOrValue> bucketRefOrValue)
    • relationshipType

      public BucketRelationship relationshipType(String relationshipType)
    • getRelationshipType

      public String getRelationshipType()
      Type of the bucket relationship, such as [isAggregated] if the bucket is a part of other or [aggregator] is the bucket holds others.
      Returns:
      relationshipType
    • setRelationshipType

      public void setRelationshipType(String relationshipType)
    • atBaseType

      public BucketRelationship 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 BucketRelationship 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 BucketRelationship 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 BucketRelationship atReferredType(String atReferredType)
    • getAtReferredType

      public String getAtReferredType()
      The actual type of the target instance when needed for disambiguation.
      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