Class SchemaAttributeRequestBody

All Implemented Interfaces:
Serializable

public class SchemaAttributeRequestBody extends SchemaAttributeProperties
SchemaAttributeRequestBody carries the common parameters for creating or updating a schema attribute.
See Also:
  • Constructor Details

    • SchemaAttributeRequestBody

      public SchemaAttributeRequestBody()
      Default constructor
    • SchemaAttributeRequestBody

      public SchemaAttributeRequestBody(SchemaAttributeRequestBody template)
      Copy/clone constructor.
      Parameters:
      template - template schema attribute to copy.
  • Method Details

    • getSchemaAttributeProperties

      public SchemaAttributeProperties getSchemaAttributeProperties()
      Return the properties that describe the schema attribute.
      Returns:
      schema attribute properties
    • setSchemaAttributeProperties

      public void setSchemaAttributeProperties(SchemaAttributeProperties schemaAttributeProperties)
      Set up the properties that describe the schema attribute.
      Parameters:
      schemaAttributeProperties - schema attribute properties
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class SchemaAttributeProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class SchemaAttributeProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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