java.lang.Object
org.odpi.openmetadata.viewservices.assetcatalog.beans.Type

public class Type extends Object
The Type object holds properties that are used for displaying the Open Metadata Types
  • Constructor Details

    • Type

      public Type()
      Default constructor.
  • Method Details

    • getName

      public String getName()
      Returns the type name.
      Returns:
      the type name
    • setName

      public void setName(String name)
      Set up the type name.
      Parameters:
      name - the type name
    • getDescription

      public String getDescription()
      Returns the description of the type.
      Returns:
      the description of the type
    • setDescription

      public void setDescription(String description)
      Set up the description of the type.
      Parameters:
      description - the description of the type
    • getVersion

      public Long getVersion()
      Returns the version of the type.
      Returns:
      the version of the type
    • setVersion

      public void setVersion(Long version)
      Set up the version of the type.
      Parameters:
      version - the version of the type
    • getSuperType

      public String getSuperType()
      Returns the super type of the current type.
      Returns:
      the super type of the current type
    • setSuperType

      public void setSuperType(String superType)
      Set up the super type of the current type.
      Parameters:
      superType - the super type of the current type
    • toString

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

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