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

public class Classification extends Object
Classification object holds properties that are used for displaying details about the classification.
  • Constructor Details

    • Classification

      public Classification()
      Default constructor
  • Method Details

    • getName

      public String getName()
      Return the classification's name.
      Returns:
      the classification's name
    • setName

      public void setName(String name)
      Set up the name of the classification.
      Parameters:
      name - the classification's name
    • getOrigin

      public String getOrigin()
      Return the classification's origin.
      Returns:
      the classification's origin
    • setOrigin

      public void setOrigin(String origin)
      Set up the origin of the classification.
      Parameters:
      origin - the classification's origin
    • getOriginGUID

      public String getOriginGUID()
      Return the origin unique identifier.
      Returns:
      the origin unique identifier
    • setOriginGUID

      public void setOriginGUID(String originGUID)
      Set up the origin unique identifier.
      Parameters:
      originGUID - the origin unique identifier
    • getCreatedBy

      public String getCreatedBy()
      Return the author of the classification.
      Returns:
      the author of the classification
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Set up the author of the classification.
      Parameters:
      createdBy - the author of the classification
    • getCreateTime

      public Date getCreateTime()
      Return the creation date of the classification.
      Returns:
      the creation date of the classification
    • setCreateTime

      public void setCreateTime(Date createTime)
      Set up the creation date of the classification.
      Parameters:
      createTime - the creation date of the classification
    • getUpdatedBy

      public String getUpdatedBy()
      Return the author of the last update of the classification.
      Returns:
      the author of the last update of the classification
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
      Set up the author of the last update of the classification.
      Parameters:
      updatedBy - the author of the last update of the classification
    • getUpdateTime

      public Date getUpdateTime()
      Return the update date of the classification.
      Returns:
      the update date of the classification
    • setUpdateTime

      public void setUpdateTime(Date updateTime)
      Set up the update date of the classification.
      Parameters:
      updateTime - the update date of the classification
    • getVersion

      public Long getVersion()
      Return the classification's version.
      Returns:
      the classification's version
    • setVersion

      public void setVersion(Long version)
      Set up the version of the classification.
      Parameters:
      version - the classification's version
    • getStatus

      public String getStatus()
      Return the classification's status.
      Returns:
      the classification's status
    • setStatus

      public void setStatus(String status)
      Set up the status of the classification.
      Parameters:
      status - the classification's status
    • getType

      public Type getType()
      Return the classification's type.
      Returns:
      the classification's type
    • setType

      public void setType(Type type)
      Set up the type of the classification.
      Parameters:
      type - the classification's type
    • getProperties

      public Map<String,String> getProperties()
      Return the classification's properties.
      Returns:
      the classification's properties
    • setProperties

      public void setProperties(Map<String,String> properties)
      Set up the properties of the classification.
      Parameters:
      properties - the classification's properties
    • 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