java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Attachment

public class Attachment extends Object
Media items configured for a product offering (images, videos).
  • Constructor Details

    • Attachment

      public Attachment()
  • Method Details

    • description

      public Attachment description(String description)
    • getDescription

      public String getDescription()
      A narrative text describing the content of the attachment
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • href

      public Attachment href(String href)
    • getHref

      public String getHref()
      Not Sent.Reference of the attachment.
      Returns:
      href
    • setHref

      public void setHref(String href)
    • id

      public Attachment id(String id)
    • getId

      public String getId()
      Unique identifier of the attachment
      Returns:
      id
    • setId

      public void setId(String id)
    • type

      public Attachment type(String type)
    • getType

      public String getType()
      Attachment type format.
      Returns:
      type
    • setType

      public void setType(String type)
    • url

      public Attachment url(String url)
    • getUrl

      public String getUrl()
      Uniform Resource Locator, is a web page address (a subset of URI)
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • mimeType

      public Attachment mimeType(String mimeType)
    • getMimeType

      public String getMimeType()
      Attachment mime type such as extension file for video, picture and document
      Returns:
      mimeType
    • setMimeType

      public void setMimeType(String mimeType)
    • validFor

      public Attachment validFor(TimePeriod validFor)
    • getValidFor

      @Valid public @Valid TimePeriod getValidFor()
      Get validFor
      Returns:
      validFor
    • setValidFor

      public void setValidFor(TimePeriod validFor)
    • atType

      public Attachment atType(String atType)
    • getAtType

      public String getAtType()
      the class type of the Attachment
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atBaseType

      public Attachment atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      The immediate base class type of the attachment
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public Attachment atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A link to the schema describing this attachment entity
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • 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