Package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714.netconf.streams
Interface Stream
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Stream>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.ChildOf<Streams>,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,org.opendaylight.yangtools.yang.binding.Identifiable<StreamKey>
@Generated("mdsal-binding-generator") public interface Stream extends org.opendaylight.yangtools.yang.binding.ChildOf<Streams>, org.opendaylight.yangtools.yang.binding.Augmentable<Stream>, org.opendaylight.yangtools.yang.binding.Identifiable<StreamKey>
Stream name, description and other information.This class represents the following YANG schema fragment defined in module nc-notifications
list stream { key name; min-elements 1; leaf name { type ncEvent:streamNameType; } leaf description { type string; } leaf replaySupport { type boolean; } leaf replayLogCreationTime { type yang:date-and-time; } }The schema path to identify an instance is nc-notifications/netconf/streams/streamTo create instances of this class use
StreamBuilder.- See Also:
StreamBuilder,StreamKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static booleanbindingEquals(@NonNull Stream thisObj, Object obj)Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull Stream obj)Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull Stream obj)Default implementation ofObject.toString()contract for this interface.StringgetDescription()Return description, ornullif it is not present.StreamNameTypegetName()Return name, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTimegetReplayLogCreationTime()Return replayLogCreationTime, ornullif it is not present.BooleangetReplaySupport()Return replaySupport, ornullif it is not present.default Class<Stream>implementedInterface()default BooleanisReplaySupport()Deprecated, for removal: This API element is subject to removal in a future version.StreamKeykey()
-
-
-
Method Detail
-
implementedInterface
default Class<Stream> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull Stream obj)
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjis null
-
bindingEquals
static boolean bindingEquals(@NonNull Stream thisObj, Object obj)
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjis null
-
bindingToString
static String bindingToString(@NonNull Stream obj)
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjis null
-
getName
StreamNameType getName()
Return name, ornullif it is not present.The name of the event stream. If this is the default NETCONF stream, this must have the value 'NETCONF'.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.notification._1._0.rev080714.StreamNameTypename, ornullif it is not present.
-
getDescription
String getDescription()
Return description, ornullif it is not present.A description of the event stream, including such information as the type of events that are sent over this stream.- Returns:
java.lang.Stringdescription, ornullif it is not present.
-
getReplaySupport
Boolean getReplaySupport()
Return replaySupport, ornullif it is not present.A description of the event stream, including such information as the type of events that are sent over this stream.- Returns:
java.lang.BooleanreplaySupport, ornullif it is not present.
-
isReplaySupport
@Deprecated(forRemoval=true) default Boolean isReplaySupport()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getReplayLogCreationTime
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getReplayLogCreationTime()
Return replayLogCreationTime, ornullif it is not present.The timestamp of the creation of the log used to support the replay function on this stream. Note that this might be earlier then the earliest available notification in the log. This object is updated if the log resets for some reason. This object MUST be present if replay is supported.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTimereplayLogCreationTime, ornullif it is not present.
-
-