java.lang.Object
org.odpi.openmetadata.archiveutilities.designmodels.owlcanonicalglossarymodel.properties.ModelElement
Direct Known Subclasses:
Concept

public abstract class ModelElement extends Object
The Owl RDF Canonical Glossary models are jsonld files. This content is parsed and mapped into ModelElements. These model elements contain identifying information, a description and a version. This ModelElement is subclassed
  • Constructor Details

    • ModelElement

      public ModelElement()
  • Method Details

    • getId

      public String getId()
      Get the unique Name for this element
      Returns:
      uniqueName
    • setId

      public void setId(String id)
      Set the unique Name for this element
      Parameters:
      id - unique name to set
    • getDisplayName

      public String getDisplayName()
      Get the display name for this element
      Returns:
      the display name
    • getDescription

      public String getDescription()
      Get the description for this element
      Returns:
      the description
    • getVersion

      public String getVersion()
      Get the version of this element
      Returns:
      version
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object objectToCompare)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object