Class NewProjectRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.NewElementRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NewProjectRequestBody
NewProjectRequestBody describes the properties to create a new project.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorNewProjectRequestBody(NewProjectRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectPropertiesReturn the properties for the project.inthashCode()Return hash code for this objectvoidsetProjectProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectProperties digitalProductProperties) Set up the properties for the project.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.NewElementRequestBody
getAnchorGUID, getIsOwnAnchor, getParentAtEnd1, getParentGUID, getParentRelationshipProperties, getParentRelationshipTypeName, setAnchorGUID, setIsOwnAnchor, setParentAtEnd1, setParentGUID, setParentRelationshipProperties, setParentRelationshipTypeName
-
Constructor Details
-
NewProjectRequestBody
public NewProjectRequestBody()Default constructor -
NewProjectRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProjectProperties
public org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectProperties getProjectProperties()Return the properties for the project.- Returns:
- properties
-
setProjectProperties
public void setProjectProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectProperties digitalProductProperties) Set up the properties for the project.- Parameters:
digitalProductProperties- properties
-
toString
JSON-style toString.- Overrides:
toStringin classNewElementRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classNewElementRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classNewElementRequestBody- Returns:
- int hash code
-