Class SemanticEntity

java.lang.Object
com.imc.datamodel.SemanticEntity
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BusinessAttribute, BusinessObject, BusinessType

public abstract class SemanticEntity extends Object implements Serializable
This is the base class for all concepts in the Schema. Its essentially a typed wrapper around the URI of a resource in an ontology.
See Also:
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getId

      public final URI getId()
    • getLocalName

      public final String getLocalName()
      Gets the local name of this semantic entity. Note that this does not always match the fragment of the id since the fragment might be percent encoded while the local name is never percent encoded.
    • getNamespace

      public final String getNamespace()
    • getUriAsString

      public final String getUriAsString()
      Returns:
      the uri
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object