Class NewSolutionElementRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NewElementOptionsRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NewElementRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NewSolutionElementRequestBody
NewSolutionElementRequestBody provides an optional structure used when creating solution elements
(solution blueprints, solution components and solution ports).
It provides an optional extension to set up the initial status.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the initial status of the solution element.int
hashCode()
Return hash code for this objectvoid
setInitialStatus
(SolutionElementStatus initialStatus) Set up the initial status of the solution element.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.NewElementRequestBody
getProperties, setProperties
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
-
NewSolutionElementRequestBody
public NewSolutionElementRequestBody()Default constructor -
NewSolutionElementRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getInitialStatus
Return the initial status of the solution element.- Returns:
- instance status
-
setInitialStatus
Set up the initial status of the solution element.- Parameters:
initialStatus
- instance status
-
toString
JSON-style toString.- Overrides:
toString
in classNewElementRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classNewElementRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classNewElementRequestBody
- Returns:
- int hash code
-