Class RelatedEntityRefOrValue

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

@Validated @Generated(value="de.hybris.platform.b2ctelcotmfresources.swagger.TelcoCodegen", date="2022-10-21T20:34:37.643Z") public class RelatedEntityRefOrValue extends Object
A reference to an entity, where the type of the entity is not known in advance. A related entity defines a entity described by reference or by value linked to a specific entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the Entity and not the RelatedEntityRefOrValue class itself
  • Constructor Details

    • RelatedEntityRefOrValue

      public RelatedEntityRefOrValue()
  • Method Details

    • id

    • getId

      public String getId()
      Unique identifier of a related entity.
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public RelatedEntityRefOrValue href(String href)
    • getHref

      public String getHref()
      Reference of the related entity.
      Returns:
      href
    • setHref

      public void setHref(String href)
    • name

      public RelatedEntityRefOrValue name(String name)
    • getName

      public String getName()
      Name of the related entity.
      Returns:
      name
    • setName

      public void setName(String name)
    • role

      public RelatedEntityRefOrValue role(String role)
    • getRole

      @NotNull public @NotNull String getRole()
      Get role
      Returns:
      role
    • setRole

      public void setRole(String role)
    • atbaseType

      public RelatedEntityRefOrValue 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 RelatedEntityRefOrValue 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 RelatedEntityRefOrValue attype(String attype)
    • getAttype

      public String getAttype()
      When sub-classing, this defines the sub-class Extensible name
      Returns:
      attype
    • setAttype

      public void setAttype(String attype)
    • atreferredType

      public RelatedEntityRefOrValue 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