Class ModelElement

  • Direct Known Subclasses:
    Concept

    public abstract class ModelElement
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      ModelElement()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)  
      java.lang.String getDescription()
      Get the description for this element
      java.lang.String getDisplayName()
      Get the display name for this element
      java.lang.String getId()
      Get the unique Name for this element
      java.lang.String getVersion()
      Get the version of this element
      int hashCode()  
      void setId​(java.lang.String id)
      Set the unique Name for this element
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ModelElement

        public ModelElement()
    • Method Detail

      • getId

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

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

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

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

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

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

        public boolean equals​(java.lang.Object objectToCompare)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object