Interface Identifiable<T>

Type Parameters:
T - Identifier class, must conform to API contract outlined by Identifier, even if it does not implement it.
All Known Subinterfaces:
FileGeneratorFactory, QNamePredicate, SchemaSourceRepresentation, StatementStreamSource, YangConstantExpr<T>, YangSchemaSourceRepresentation, YinSchemaSourceRepresentation, YinXmlSchemaSource
All Known Implementing Classes:
AbstractDynamicMountPointContextFactory, AbstractFileGeneratorFactory, AbstractIdentifiable, AbstractMountPointContextFactory, AbstractSimpleIdentifiable, DuplicateEntry, EqualityQueuedNotificationManager, IdentityQueuedNotificationManager, QueuedNotificationManager, SharedSchemaRepository, StringYangTextSchemaSource, TreeNode, YangBooleanConstantExpr, YangFunction, YangIRSchemaSource, YangStatementStreamSource, YangTextSchemaSource, YinDomSchemaSource, YinStatementStreamSource, YinTextSchemaSource

public interface Identifiable<T>
A generalized contract of an object which has an identifier. The identifier, unlike the object carrying it, must generally comply to the interface contract outlined in Identifier, but this is not enforced in this API's design, as there are external classes, such as String, which comply to the contract without implementing it.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull T
    Return this objects Identifier.
  • Method Details

    • getIdentifier

      @NonNull T getIdentifier()
      Return this objects Identifier.
      Returns:
      Object's identifier, must not be null.