Interface NoPathObject
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping,Object,ObjectHeader
- All Known Subinterfaces:
NoPath
@Generated("mdsal-binding-generator")
public interface NoPathObject
extends org.opendaylight.yangtools.binding.Grouping, Object
NO-PATH Object
This class represents the following YANG schema fragment defined in module pcep-types
grouping no-path-object {
uses object;
leaf nature-of-issue {
type uint8;
}
leaf unsatisfied-constraints {
when "nature-of-issue = 0" {
}
type boolean;
default false;
}
}
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint8Return natureOfIssue, ornullif it is not present.Return unsatisfiedConstraints, ornullif it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint8Return natureOfIssue, guaranteed to be non-null.default @NonNull BooleanReturn unsatisfiedConstraints, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterfaceMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.ObjectHeader
getIgnore, getProcessingRule, requireIgnore, requireProcessingRule
-
Method Details
-
getNatureOfIssue
org.opendaylight.yangtools.yang.common.Uint8 getNatureOfIssue()Return natureOfIssue, ornullif it is not present.- Returns:
Uint8natureOfIssue, ornullif it is not present.
-
requireNatureOfIssue
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireNatureOfIssue()Return natureOfIssue, guaranteed to be non-null.- Returns:
Uint8natureOfIssue, guaranteed to be non-null.- Throws:
NoSuchElementException- if natureOfIssue is not present
-
getUnsatisfiedConstraints
Boolean getUnsatisfiedConstraints()Return unsatisfiedConstraints, ornullif it is not present.- Returns:
BooleanunsatisfiedConstraints, ornullif it is not present.
-
requireUnsatisfiedConstraints
Return unsatisfiedConstraints, guaranteed to be non-null.- Returns:
BooleanunsatisfiedConstraints, guaranteed to be non-null.- Throws:
NoSuchElementException- if unsatisfiedConstraints is not present
-