Package org.opendaylight.yangtools.concepts
-
Interface Summary Interface Description Builder<P> Builder object which produces a product.CheckedBuilder<P,E extends Exception> Builder object which produces a product.ClassBasedPropertyBuilder<P,T extends ClassBasedPropertyBuilder<P,T>> Codec<P,I,X extends Exception> The concept of a combinedSerializer
andDeserializer
, which produces an object from some input.Delegator<T> Implementation of this interface delegates all its calls to the delegate if not specified otherwise.Deserializer<P,I,X extends Exception> The concept of a deserializer, which produces an object from some input.ExtensibleObject<T extends ExtensibleObject<T,E>,E extends ObjectExtension<T,E>> Interface specifying access to extensions attached to a particular object.Identifiable<T> A generalized contract of an object which has an identifier.Identifier General identifier interface.IllegalArgumentCodec<P,I> Utility interface, which specializesUncheckedCodec
toIllegalArgumentException
.Immutable Immutable Object - object does not change its externally-observable state during its lifetime.ListenerRegistration<T extends EventListener> Class representing aRegistration
of anEventListener
.Mutable Mutable object - object may change it's state during lifecycle.MutationBehaviour<T extends MutationBehaviour<T>> Mutation behavior.ObjectExtension<T extends ExtensibleObject<T,E>,E extends ObjectExtension<T,E>> An extension to a concreteExtensibleObject
.ObjectRegistration<T> Class representing a registration of an object.Path<P extends Path<P>> Conceptual representation of a logical path in a tree-like structure, similar to aPath
, but more general in terms of what objects it can be applied to.ProductAwareBuilder<P> An extension of theBuilder
concept which allows an implementation of this interface to be used in collections instead of the product.Registration Class representing a registration.Serializer<P,I,X extends Exception> An entity which is able to convert some input into a product.UncheckedCodec<P,I,X extends RuntimeException> The concept of a combinedUncheckedSerializer
andUncheckedDeserializer
, which produces an object from some input.UncheckedDeserializer<P,I,X extends RuntimeException> A specialization ofSerializer
, which is guaranteed to throws unchecked exceptions.UncheckedSerializer<P,I,X extends RuntimeException> A specialization ofDeserializer
, which is guaranteed to throws unchecked exceptions.ValueWrapper<T> Wraps around a value object.WritableIdentifier A combination of bothIdentifier
andWritableObject
.WritableObject Marker interface for an object which can be written out to anDataOutput
. -
Class Summary Class Description AbstractCodec<P,I,X extends Exception> An abstract base class enforcing nullness contract aroundCodec
interface.AbstractDelegator<T> Simple base class for classes which wish to implementDelegator
interface and are not otherwise constrained in their class hierarchy.AbstractIdentifiable<T> AbstractIllegalArgumentCodec<P,I> An abstract base class enforcing nullness contract aroundIllegalArgumentCodec
interface.AbstractListenerRegistration<T extends EventListener> AbstractObjectRegistration<T> Utility registration handle.AbstractRegistration Utility registration handle.AbstractUncheckedCodec<P,I,X extends RuntimeException> An abstract base class enforcing nullness contract aroundUncheckedCodec
interface.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.NoOpListenerRegistration<T extends EventListener> Implementation ofListenerRegistration
which does nothing in itsNoOpObjectRegistration.close()
method.NoOpObjectRegistration<T> Implementation ofObjectRegistration
which does nothing in itsNoOpObjectRegistration.close()
method.ObjectExtensions<O extends ExtensibleObject<O,E>,E extends ObjectExtension<O,E>> UtilityClassToInstanceMap
implementation for implementingExtensibleObject.getExtensions()
method by objects which are themselves implementing the extension.ObjectExtensions.Factory<T,O extends ExtensibleObject<O,E>,E extends ObjectExtension<O,E>> SemVer A single version according to Semantic Versioning.Variant<T,U> Utility holder of a two-variant value.WritableObjects Utility methods for working withWritableObject
s.