Class RelatedPlaceRefOrValue
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.RelatedPlaceRefOrValue
Related Entity reference. A related place defines a place described by reference or by value linked to a specific entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and not the RelatedPlaceRefOrValue class itself
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atReferredType(String atReferredType) atSchemaLocation(String atSchemaLocation) 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 namegetHref()Unique reference of the placegetId()Unique identifier of the placegetName()A user-friendly name for the place, such as [Paris Store], [London Store], [Main Home]@NotNull StringgetRole()Get roleinthashCode()voidsetAtBaseType(String atBaseType) voidsetAtReferredType(String atReferredType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidvoidvoidvoidtoString()
-
Constructor Details
-
RelatedPlaceRefOrValue
public RelatedPlaceRefOrValue()
-
-
Method Details
-
id
-
getId
Unique identifier of the place- Returns:
- id
-
setId
-
href
-
getHref
Unique reference of the place- Returns:
- href
-
setHref
-
name
-
getName
A user-friendly name for the place, such as [Paris Store], [London Store], [Main Home]- Returns:
- name
-
setName
-
role
-
getRole
Get role- Returns:
- role
-
setRole
-
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
-