Class PrimaryKeyClassificationRequestBody


public class PrimaryKeyClassificationRequestBody extends EffectiveTimeQueryRequestBody
PrimaryKeyClassificationRequestBody is used to classify a schema attribute as a primary key.
  • Constructor Details

    • PrimaryKeyClassificationRequestBody

      public PrimaryKeyClassificationRequestBody()
      Default constructor
    • PrimaryKeyClassificationRequestBody

      public PrimaryKeyClassificationRequestBody(PrimaryKeyClassificationRequestBody template)
      Copy/clone constructor for a primary key.
      Parameters:
      template - template object to copy.
  • Method Details

    • getPrimaryKeyProperties

      public PrimaryKeyProperties getPrimaryKeyProperties()
      Return the properties associated with the primary key.
      Returns:
      properties
    • setPrimaryKeyProperties

      public void setPrimaryKeyProperties(PrimaryKeyProperties primaryKeyProperties)
      Set up the properties associated with the primary key.
      Parameters:
      primaryKeyProperties - properties
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class EffectiveTimeQueryRequestBody
      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 EffectiveTimeQueryRequestBody
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class EffectiveTimeQueryRequestBody
      Returns:
      int