Package org.eclipse.ditto.things.model
Interface DefinitionIdentifier
-
- All Superinterfaces:
java.lang.CharSequence
- All Known Subinterfaces:
ThingDefinition
public interface DefinitionIdentifier extends java.lang.CharSequenceThis interface represents a single fully qualified Identifier of aDefinitionboth used forThingandFeature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Returns the name of this Identifier.java.lang.StringgetNamespace()Returns the namespace of ths Identifier.java.lang.StringgetVersion()Returns the version of this Identifier.java.lang.StringtoString()Returns the string representation of this Identifier with the following structure:"namespace:name:version"
-
-
-
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:
toStringin interfacejava.lang.CharSequence- Overrides:
toStringin classjava.lang.Object- Returns:
- the string representation.
-
-