java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaProperties
Direct Known Subclasses:
SchemaAttributeProperties, SchemaTypeProperties

public class SchemaProperties extends ReferenceableProperties
SchemaProperties is a bean containing the common attributes for schema types and schema attributes.
  • Constructor Details

    • SchemaProperties

      public SchemaProperties()
      Default constructor
    • SchemaProperties

      public SchemaProperties(SchemaProperties template)
      Copy/clone Constructor.
      Parameters:
      template - template object to copy.
  • Method Details

    • getIsDeprecated

      public boolean getIsDeprecated()
      Is the schema element deprecated?
      Returns:
      boolean flag
    • setIsDeprecated

      public void setIsDeprecated(boolean deprecated)
      Set whether the schema element deprecated or not. Default is false.
      Parameters:
      deprecated - boolean flag
    • getDisplayName

      public String getDisplayName()
      Return the simple name of the schema element.
      Returns:
      string name
    • setDisplayName

      public void setDisplayName(String name)
      Set up the simple name of the schema element.
      Parameters:
      name - String display name
    • getDescription

      public String getDescription()
      Returns the stored technicalDescription property for the schema element.
      Returns:
      string technicalDescription
    • setDescription

      public void setDescription(String description)
      Set up the stored technicalDescription property for the schema element.
      Parameters:
      description - string technicalDescription
    • toString

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

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