Interface MappingChanged
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<MappingChanged>,org.opendaylight.yangtools.yang.binding.BaseNotification,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.EidContainer,org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MappingRecordContainer,org.opendaylight.yangtools.yang.binding.Notification
public interface MappingChanged extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<MappingChanged>, org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MappingRecordContainer, org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.EidContainer, org.opendaylight.yangtools.yang.binding.Notification
Notification sent when a mapping is changedThis class represents the following YANG schema fragment defined in module odl-mappingservice
notification mapping-changed { leaf change-type { type mapping-change; } uses lisp-proto:mapping-record-container; uses lisp-proto:eid-container; list subscriber-item { uses lisp-proto:subscriber-data-grouping; } list dst-subscriber-item { uses lisp-proto:subscriber-data-grouping; } }The schema path to identify an instance is odl-mappingservice/mapping-changedTo create instances of this class use
MappingChangedBuilder.- See Also:
MappingChangedBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable MappingChangegetChangeType()The type of change@Nullable List<DstSubscriberItem>getDstSubscriberItem()For Src/Dst EIDs, The list of the Dst subscribers to be notified of this change.@Nullable List<SubscriberItem>getSubscriberItem()The list of subscribers to be notified of this change.default Class<MappingChanged>implementedInterface()default @NonNull List<DstSubscriberItem>nonnullDstSubscriberItem()default @NonNull List<SubscriberItem>nonnullSubscriberItem()
-
-
-
Method Detail
-
implementedInterface
default Class<MappingChanged> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.EidContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MappingRecordContainer
-
getChangeType
@Nullable MappingChange getChangeType()
The type of change- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.MappingChangechangeType, ornullif not present
-
getSubscriberItem
@Nullable List<SubscriberItem> getSubscriberItem()
The list of subscribers to be notified of this change.- Returns:
java.util.ListsubscriberItem, ornullif not present
-
nonnullSubscriberItem
default @NonNull List<SubscriberItem> nonnullSubscriberItem()
- Returns:
java.util.ListsubscriberItem, or an empty list if it is not present
-
getDstSubscriberItem
@Nullable List<DstSubscriberItem> getDstSubscriberItem()
For Src/Dst EIDs, The list of the Dst subscribers to be notified of this change.- Returns:
java.util.ListdstSubscriberItem, ornullif not present
-
nonnullDstSubscriberItem
default @NonNull List<DstSubscriberItem> nonnullDstSubscriberItem()
- Returns:
java.util.ListdstSubscriberItem, or an empty list if it is not present
-
-