Class NewSolutionComponentRequestBody


public class NewSolutionComponentRequestBody extends NewElementRequestBody
NewSolutionComponentRequestBody describes the properties to create a new solution component.
  • Constructor Details

    • NewSolutionComponentRequestBody

      public NewSolutionComponentRequestBody()
      Default constructor
    • NewSolutionComponentRequestBody

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

    • getProperties

      public SolutionComponentProperties getProperties()
      Return the properties for the new element.
      Returns:
      properties
    • setProperties

      public void setProperties(SolutionComponentProperties properties)
      Set up the properties for the new element.
      Parameters:
      properties - 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