Interface InstructionStatusChanged
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<InstructionStatusChanged>,org.opendaylight.yangtools.binding.BaseNotification,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,,InstructionStatusChanged> org.opendaylight.yangtools.binding.lib.JavaDataContainer<InstructionStatusChanged>,org.opendaylight.yangtools.binding.Notification<InstructionStatusChanged>,org.opendaylight.yangtools.binding.ParentObject<InstructionStatusChanged>
@Generated("mdsal-binding-generator")
public interface InstructionStatusChanged
extends org.opendaylight.yangtools.binding.Notification<InstructionStatusChanged>
This class represents the following YANG schema fragment defined in module programming
notification instruction-status-changed {
leaf id {
type instruction-id;
}
leaf status {
type instruction-status;
}
container details {
leaf-list unmet-dependencies {
when "../../status = cancelled";
type instruction-id;
}
}
}
To create instances of this class use InstructionStatusChangedBuilder.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameThe YANG identifier of thenotificationstatement represented by this interface. -
Method Summary
Modifier and TypeMethodDescriptionReturn details, ornullif it is not present.getId()Return id, ornullif it is not present.Return status, ornullif it is not present.default Class<InstructionStatusChanged> default booleandefault intjavaHC()default StringjavaTS()@NonNull DetailsReturn details, or an empty instance if it is not present.default @NonNull InstructionIdReturn id, guaranteed to be non-null.default @NonNull InstructionStatusReturn status, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentationsMethods inherited from interface org.opendaylight.yangtools.binding.lib.JavaContract
equals, hashCode, toString
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEThe YANG identifier of thenotificationstatement represented by this interface.
-
-
Method Details
-
getId
InstructionId getId()Return id, ornullif it is not present.Instruction identifier.- Returns:
InstructionIdid, ornullif it is not present.
-
requireId
Return id, guaranteed to be non-null.Instruction identifier.- Returns:
InstructionIdid, guaranteed to be non-null.- Throws:
NoSuchElementException- if id is not present
-
getStatus
InstructionStatus getStatus()Return status, ornullif it is not present.New status of the instruction.- Returns:
InstructionStatusstatus, ornullif it is not present.
-
requireStatus
Return status, guaranteed to be non-null.New status of the instruction.- Returns:
InstructionStatusstatus, guaranteed to be non-null.- Throws:
NoSuchElementException- if status is not present
-
getDetails
Details getDetails()Return details, ornullif it is not present.More details about the instruction state.- Returns:
Detailsdetails, ornullif it is not present.
-
nonnullDetails
@NonNull Details nonnullDetails()Return details, or an empty instance if it is not present.More details about the instruction state.- Returns:
Detailsdetails, or an empty instance if it is not present.
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.ParentObject<InstructionStatusChanged>
-
javaHC
default int javaHC()- Specified by:
javaHCin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InstructionStatusChanged> - Specified by:
javaHCin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<InstructionStatusChanged>
-
javaEQ
- Specified by:
javaEQin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InstructionStatusChanged> - Specified by:
javaEQin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<InstructionStatusChanged>
-
javaTS
- Specified by:
javaTSin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InstructionStatusChanged> - Specified by:
javaTSin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<InstructionStatusChanged>
-