Class 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 Detail

      • ModelElement

        public ModelElement()
    • Method Detail

      • 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
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class Object