Class AttachmentRefOrValue
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.AttachmentRefOrValue
An attachment by value or by reference. An attachment complements the description of an element, for example through a document, a video, a picture.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atReferredType(String atReferredType) atSchemaLocation(String atSchemaLocation) attachmentType(String attachmentType) description(String description) booleanWhen sub-classing, this defines the super-classThe actual type of the target instance when needed for disambiguation.A URI to a JSON-Schema file that defines additional attributes and relationshipsAttachment type such as video, pictureWhen sub-classing, this defines the sub-class entity nameThe actual contents of the attachment object, if embedded, encoded as base64A narrative text describing the content of the attachmentgetHref()URI for this AttachmentgetId()Unique identifier for this particular attachmentAttachment mime type such as extension file for video, picture and documentgetName()The name of the attachment@Valid QuantitygetSize()Get sizegetUrl()Uniform Resource Locator, is a web page address (a subset of URI)@Valid TimePeriodGet validForinthashCode()voidsetAtBaseType(String atBaseType) voidsetAtReferredType(String atReferredType) voidsetAtSchemaLocation(String atSchemaLocation) voidsetAttachmentType(String attachmentType) voidvoidsetContent(String content) voidsetDescription(String description) voidvoidvoidsetMimeType(String mimeType) voidvoidvoidvoidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
AttachmentRefOrValue
public AttachmentRefOrValue()
-
-
Method Details
-
id
-
getId
Unique identifier for this particular attachment- Returns:
- id
-
setId
-
href
-
getHref
URI for this Attachment- Returns:
- href
-
setHref
-
attachmentType
-
getAttachmentType
Attachment type such as video, picture- Returns:
- attachmentType
-
setAttachmentType
-
content
-
getContent
The actual contents of the attachment object, if embedded, encoded as base64- Returns:
- content
-
setContent
-
description
-
getDescription
A narrative text describing the content of the attachment- Returns:
- description
-
setDescription
-
mimeType
-
getMimeType
Attachment mime type such as extension file for video, picture and document- Returns:
- mimeType
-
setMimeType
-
name
-
getName
The name of the attachment- Returns:
- name
-
setName
-
url
-
getUrl
Uniform Resource Locator, is a web page address (a subset of URI)- Returns:
- url
-
setUrl
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
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 actual type of the target instance when needed for disambiguation.- Returns:
- atReferredType
-
setAtReferredType
-
equals
-
hashCode
public int hashCode() -
toString
-