Interface JoinTopicInput
-
- All Superinterfaces:
Augmentable<JoinTopicInput>
,BindingObject
,DataContainer
,DataObject
,RpcInput
public interface JoinTopicInput extends RpcInput, Augmentable<JoinTopicInput>
This class represents the following YANG schema fragment defined in module UnqualifiedQName{localName=event-source}
input input { leaf node { ext:context-reference inv:node-context; type instance-identifier; } leaf topic-id { type aggr:topic-id; } leaf notification-pattern { type aggr:notification-pattern; } }
The schema path to identify an instance is event-source/join-topic/input
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull JoinTopicInput thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull JoinTopicInput obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull JoinTopicInput obj)
Default implementation ofObject.toString()
contract for this interface.@Nullable InstanceIdentifier<?>
getNode()
Return node, ornull
if it is not present..@Nullable NotificationPattern
getNotificationPattern()
Return notificationPattern, ornull
if it is not present..@Nullable TopicId
getTopicId()
Return topicId, ornull
if it is not present..default Class<JoinTopicInput>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentations
-
-
-
-
Field Detail
-
QNAME
static final @NonNull QName QNAME
-
-
Method Detail
-
implementedInterface
default Class<JoinTopicInput> implementedInterface()
- Specified by:
implementedInterface
in interfaceDataContainer
- Specified by:
implementedInterface
in interfaceDataObject
- Specified by:
implementedInterface
in interfaceRpcInput
-
bindingHashCode
static int bindingHashCode(@NonNull JoinTopicInput 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
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull JoinTopicInput 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
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull JoinTopicInput 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:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
getNode
@RoutingContext(NodeContext.class) @Nullable InstanceIdentifier<?> getNode()
Return node, ornull
if it is not present..- Returns:
org.opendaylight.yangtools.yang.binding.InstanceIdentifier
node, ornull
if it is not present.
-
getTopicId
@Nullable TopicId getTopicId()
Return topicId, ornull
if it is not present..in current implementation notification-pattern is defined by topic-id. By persisting topic definition we could omit notification-pattern
- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.eventaggregator.rev141202.TopicId
topicId, ornull
if it is not present.
-
getNotificationPattern
@Nullable NotificationPattern getNotificationPattern()
Return notificationPattern, ornull
if it is not present..- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.eventaggregator.rev141202.NotificationPattern
notificationPattern, ornull
if it is not present.
-
-