Class NewDigitalProductRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.collectionmanager.rest.NewElementRequestBody
org.odpi.openmetadata.viewservices.collectionmanager.rest.NewCollectionRequestBody
org.odpi.openmetadata.viewservices.collectionmanager.rest.NewDigitalProductRequestBody
NewDigitalProductRequestBody describes the properties to create a new collection with a digital product
classification.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalProductPropertiesReturn the properties for the digital product classification.inthashCode()Return hash code for this objectvoidsetDigitalProductProperties(org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalProductProperties digitalProductProperties) Set up the properties for the digital product classification.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.viewservices.collectionmanager.rest.NewCollectionRequestBody
getCollectionProperties, setCollectionPropertiesMethods inherited from class org.odpi.openmetadata.viewservices.collectionmanager.rest.NewElementRequestBody
getAnchorGUID, getIsOwnAnchor, getParentAtEnd1, getParentGUID, getParentRelationshipProperties, getParentRelationshipTypeName, setAnchorGUID, setIsOwnAnchor, setParentAtEnd1, setParentGUID, setParentRelationshipProperties, setParentRelationshipTypeName
-
Constructor Details
-
NewDigitalProductRequestBody
public NewDigitalProductRequestBody()Default constructor -
NewDigitalProductRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getDigitalProductProperties
public org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalProductProperties getDigitalProductProperties()Return the properties for the digital product classification.- Returns:
- properties
-
setDigitalProductProperties
public void setDigitalProductProperties(org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalProductProperties digitalProductProperties) Set up the properties for the digital product classification.- Parameters:
digitalProductProperties- properties
-
toString
JSON-style toString.- Overrides:
toStringin classNewCollectionRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classNewCollectionRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classNewCollectionRequestBody- Returns:
- int hash code
-