A QualifiedName is created by combining the name of a method and the name of the type that declares the method. This class also contains many static utility methods to manage QualifiedName instances.
NOTE: Unless you do very generic libraries, entity stores and other extensions that is deeply coupled into the Qi4j runtime, it is very unlikely you will need to use this class directly.
It is also important to notice that the QualifiedName needs to be long-term stable, as the names are written to persistent storage. So any changes in the formatting must be made in a backward-compatible manner .
The QualifiedName has two intrinsic parts, one being the {@code type} and the other the {@code name}. The {@code type} comes from the class where the QualifiedName originates from and internally kept as a {@link TypeName}instance. The name is the name from the method name. When the QualifiedName instance is converted to an external string representation, via the offical and formal {@link #toString()} method, the {@code type} is normalized, i.e.any dollar characters ($) in the name are replaced by dashes (-), to make them URI friendly.
QualifiedName instances are immutable, implements {@link #hashCode()} and {@link #equals(Object)} as a valueobject and can safely be used as keys in {@link java.util.Map}.
|
|
|
|
|
|
|
|