Class AttachmentRef
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.AttachmentRef
Attachment reference. An attachment complements the description of an element (for instance a product) through video, pictures
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atReferredType(String atReferredType) atSchemaLocation(String atSchemaLocation) 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 relationshipsWhen sub-classing, this defines the sub-class entity nameA narrative text describing the content of the attachmentgetHref()URL serving as reference for the attachment resource@NotNull StringgetId()Unique-Identifier for this attachmentgetName()Name of the related entity.getUrl()Link to the attachment media/contentinthashCode()voidsetAtBaseType(String atBaseType) voidsetAtReferredType(String atReferredType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetDescription(String description) voidvoidvoidvoidtoString()
-
Constructor Details
-
AttachmentRef
public AttachmentRef()
-
-
Method Details
-
id
-
getId
Unique-Identifier for this attachment- Returns:
- id
-
setId
-
href
-
getHref
URL serving as reference for the attachment resource- Returns:
- href
-
setHref
-
description
-
getDescription
A narrative text describing the content of the attachment- Returns:
- description
-
setDescription
-
name
-
getName
Name of the related entity.- Returns:
- name
-
setName
-
url
-
getUrl
Link to the attachment media/content- Returns:
- url
-
setUrl
-
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
-