Class NewProjectRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.NewElementRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NewProjectRequestBody

public class NewProjectRequestBody extends NewElementRequestBody
NewProjectRequestBody describes the properties to create a new project.
  • Constructor Details

    • NewProjectRequestBody

      public NewProjectRequestBody()
      Default constructor
    • NewProjectRequestBody

      public NewProjectRequestBody(NewProjectRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getProjectProperties

      public ProjectProperties getProjectProperties()
      Return the properties for the project.
      Returns:
      properties
    • setProjectProperties

      public void setProjectProperties(ProjectProperties digitalProductProperties)
      Set up the properties for the project.
      Parameters:
      digitalProductProperties - properties
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class NewElementRequestBody
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class NewElementRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class NewElementRequestBody
      Returns:
      int hash code