Package org.opendaylight.yangtools.concepts
@Export
package org.opendaylight.yangtools.concepts
Concepts used widely across OpenDaylight code base.
-
ClassDescriptionSimple base class for classes which wish to implement
Delegator
interface and are not otherwise constrained in their class hierarchy.An opinionated superclass for implementingHierarchicalIdentifier
s.AbstractIdentifiable<T,I extends T> Utility registration handle.Utility registration handle.CheckedValue<T,E extends Exception> Utility holder similar toOptional
, except the empty case contains an Exception, which should be reported, for example via throwing it.Delegator<T>Implementation of this interface delegates all its calls to the delegate if not specified otherwise.Either<T,U> Utility holder of a two-variant value.Interface specifying access to extensions attached to a particular object.HierarchicalIdentifier<T extends HierarchicalIdentifier<T>>AnIdentifier
tied to some tree-like structure, similar to howPath
is tied to a conceptual file system.Identifiable<T>A generalized contract of an object which has an identifier.General identifier interface.Immutable Object - object does not change its externally-observable state during its lifetime.Marker interface for specifying ordering of items.Items are ordered and their order is significant.Items are unordered and their order is insignificant.Mutable object - object may change it's state during lifecycle.Implementation ofObjectRegistration
which does nothing in itsNoOpObjectRegistration.close()
method.An extension to a concreteExtensibleObject
.Class representing a registration of an object.A capture of a tree-like construct, which can be formatted into a pretty-printed tree.Utility interface to bridge structures which can be formatted viaPrettyTree
.Class representing a registration.A single version according to Semantic Versioning.ValueWrapper<T>Wraps around a value object.A combination of bothIdentifier
andWritableObject
.Marker interface for an object which can be written out to anDataOutput
.Utility methods for working withWritableObject
s.