Interface DefinitionIdentifier

  • All Superinterfaces:
    java.lang.CharSequence
    All Known Subinterfaces:
    ThingDefinition

    public interface DefinitionIdentifier
    extends java.lang.CharSequence
    This interface represents a single fully qualified Identifier of a Definition both used for Thing and Feature.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the name of this Identifier.
      java.lang.String getNamespace()
      Returns the namespace of ths Identifier.
      java.lang.String getVersion()
      Returns the version of this Identifier.
      java.lang.String toString()
      Returns the string representation of this Identifier with the following structure: "namespace:name:version"
      • Methods inherited from interface java.lang.CharSequence

        charAt, chars, codePoints, length, subSequence
    • Method Detail

      • getNamespace

        java.lang.String getNamespace()
        Returns the namespace of ths Identifier.
        Returns:
        the namespace.
      • getName

        java.lang.String getName()
        Returns the name of this Identifier.
        Returns:
        the name.
      • getVersion

        java.lang.String getVersion()
        Returns the version of this Identifier.
        Returns:
        the version.
      • toString

        java.lang.String toString()
        Returns the string representation of this Identifier with the following structure: "namespace:name:version"
        Specified by:
        toString in interface java.lang.CharSequence
        Overrides:
        toString in class java.lang.Object
        Returns:
        the string representation.