java.lang.Object
org.odpi.openmetadata.accessservices.assetcatalog.model.Type
All Implemented Interfaces:
Serializable

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

    • Type

      public Type()
  • Method Details

    • getName

      public String getName()
      Returns the type name
      Returns:
      the type name
    • getDescription

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

      public Long getVersion()
      Returns the version of the type
      Returns:
      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
    • setName

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

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

      public void setVersion(Long version)
      Set up the version of the type
      Parameters:
      version - the version of the 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object