Package org.eclipse.ditto.model.things
Interface DefinitionIdentifier
-
- All Superinterfaces:
CharSequence
- All Known Subinterfaces:
ThingDefinition
public interface DefinitionIdentifier extends CharSequence
This interface represents a single fully qualified Identifier of aDefinition
both used forThing
andFeature
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the name of this Identifier.String
getNamespace()
Returns the namespace of ths Identifier.String
getVersion()
Returns the version of this Identifier.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
String getNamespace()
Returns the namespace of ths Identifier.- Returns:
- the namespace.
-
getName
String getName()
Returns the name of this Identifier.- Returns:
- the name.
-
getVersion
String getVersion()
Returns the version of this Identifier.- Returns:
- the version.
-
toString
String toString()
Returns the string representation of this Identifier with the following structure:"namespace:name:version"
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
- Returns:
- the string representation.
-
-