Class NewDigitalProductRequestBody
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
org.odpi.openmetadata.frameworks.openmetadata.search.AnchorOptions
org.odpi.openmetadata.frameworks.openmetadata.search.NewLinkedElementOptions
org.odpi.openmetadata.frameworks.openmetadata.search.NewElementOptions
org.odpi.openmetadata.commonservices.ffdc.rest.NewElementRequestBody
org.odpi.openmetadata.viewservices.productmanager.rest.NewDigitalProductRequestBody
- All Implemented Interfaces:
RequestIdService
NewDigitalProductRequestBody describes a new digital product. The product itself is defined in the same way as
any other new element; the additional fields name the existing elements that the new product is linked to.
Each of them is optional.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the unique identifiers of the collections that the product is a member of - typically the product catalog folders and digital product families it belongs to.Return the unique identifier of the data specification collection that describes the product's data.Return the unique identifiers of the governance definitions that the product is governed by, such as the license type granted to subscribers.Return the unique identifier of the asset that holds the product's data.Return the unique identifier of the community that discusses the product.Return the unique identifier of the actor role that manages the product.Return the unique identifiers of the glossary terms that describe the questions the product answers.inthashCode()Return hash code for this objectvoidsetCollectionGUIDs(List<String> collectionGUIDs) Set up the unique identifiers of the collections that the product is a member of.voidsetDataSpecGUID(String dataSpecGUID) Set up the unique identifier of the data specification collection that describes the product's data.voidsetGovernanceDefinitionGUIDs(List<String> governanceDefinitionGUIDs) Set up the unique identifiers of the governance definitions that the product is governed by.voidsetProductAssetGUID(String productAssetGUID) Set up the unique identifier of the asset that holds the product's data.voidsetProductCommunityGUID(String productCommunityGUID) Set up the unique identifier of the community that discusses the product.voidsetProductManagerGUID(String productManagerGUID) Set up the unique identifier of the actor role that manages the product.voidsetQuestionGUIDs(List<String> questionGUIDs) Set up the unique identifiers of the glossary terms that describe the questions the product answers.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.NewElementRequestBody
getInitialClassifications, getParentRelationshipProperties, getProperties, setInitialClassifications, setParentRelationshipProperties, setPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.NewLinkedElementOptions
getParentAtEnd1, getParentGUID, getParentRelationshipTypeName, setParentAtEnd1, setParentGUID, setParentRelationshipTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.AnchorOptions
getAnchorGUID, getAnchorScopeGUIDs, getIsOwnAnchor, setAnchorGUID, setAnchorScopeGUIDs, setIsOwnAnchorMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getRequestId, setEffectiveTime, setForDuplicateProcessing, setForLineage, setRequestId
-
Constructor Details
-
NewDigitalProductRequestBody
public NewDigitalProductRequestBody()Default constructor -
NewDigitalProductRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProductManagerGUID
Return the unique identifier of the actor role that manages the product.- Returns:
- guid
-
setProductManagerGUID
Set up the unique identifier of the actor role that manages the product.- Parameters:
productManagerGUID- guid
-
getProductCommunityGUID
Return the unique identifier of the community that discusses the product.- Returns:
- guid
-
setProductCommunityGUID
Set up the unique identifier of the community that discusses the product.- Parameters:
productCommunityGUID- guid
-
getCollectionGUIDs
Return the unique identifiers of the collections that the product is a member of - typically the product catalog folders and digital product families it belongs to.- Returns:
- list of guids
-
setCollectionGUIDs
Set up the unique identifiers of the collections that the product is a member of.- Parameters:
collectionGUIDs- list of guids
-
getQuestionGUIDs
Return the unique identifiers of the glossary terms that describe the questions the product answers.- Returns:
- list of guids
-
setQuestionGUIDs
Set up the unique identifiers of the glossary terms that describe the questions the product answers.- Parameters:
questionGUIDs- list of guids
-
getProductAssetGUID
Return the unique identifier of the asset that holds the product's data.- Returns:
- guid
-
setProductAssetGUID
Set up the unique identifier of the asset that holds the product's data.- Parameters:
productAssetGUID- guid
-
getGovernanceDefinitionGUIDs
Return the unique identifiers of the governance definitions that the product is governed by, such as the license type granted to subscribers.- Returns:
- list of guids
-
setGovernanceDefinitionGUIDs
Set up the unique identifiers of the governance definitions that the product is governed by.- Parameters:
governanceDefinitionGUIDs- list of guids
-
getDataSpecGUID
Return the unique identifier of the data specification collection that describes the product's data.- Returns:
- guid
-
setDataSpecGUID
Set up the unique identifier of the data specification collection that describes the product's data.- Parameters:
dataSpecGUID- guid
-
toString
JSON-style toString- Overrides:
toStringin classNewElementRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classNewElementRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classNewElementRequestBody- Returns:
- int hash code
-