Class NewElementRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NewElementOptionsRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NewElementRequestBody
- Direct Known Subclasses:
NewAgreementRequestBody
,NewDigitalProductRequestBody
,NewGovernanceDefinitionRequestBody
,NewSolutionElementRequestBody
NewElementRequestBody provides a structure used when creating actor profiles.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorNewElementRequestBody
(NewElementRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the properties of the new element.int
hashCode()
Return hash code for this objectvoid
setProperties
(OpenMetadataRootProperties properties) Set up the properties of the new element.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.NewElementOptionsRequestBody
getAnchorGUID, getAnchorScopeGUID, getIsOwnAnchor, getParentAtEnd1, getParentGUID, getParentRelationshipProperties, getParentRelationshipTypeName, setAnchorGUID, setAnchorScopeGUID, setIsOwnAnchor, setParentAtEnd1, setParentGUID, setParentRelationshipProperties, setParentRelationshipTypeName
Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
getEffectiveTime, getExternalSourceGUID, getExternalSourceName, getForDuplicateProcessing, getForLineage, setEffectiveTime, setExternalSourceGUID, setExternalSourceName, setForDuplicateProcessing, setForLineage
-
Constructor Details
-
NewElementRequestBody
public NewElementRequestBody()Default constructor -
NewElementRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getProperties
Return the properties of the new element.- Returns:
- properties
-
setProperties
Set up the properties of the new element.- Parameters:
properties
- properties
-
toString
JSON-style toString.- Overrides:
toString
in classNewElementOptionsRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classNewElementOptionsRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classNewElementOptionsRequestBody
- Returns:
- int hash code
-