Interface PortState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
State
@Generated("mdsal-binding-generator") public interface PortState extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-port-types
grouping port-state { leaf link-down { type boolean; } leaf blocked { type boolean; } leaf live { type boolean; } }The schema path to identify an instance is opendaylight-port-types/port-state
-
-
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 Deprecated Methods Modifier and Type Method Description BooleangetBlocked()Return blocked, ornullif it is not present.BooleangetLinkDown()Return linkDown, ornullif it is not present.BooleangetLive()Return live, ornullif it is not present.Class<? extends PortState>implementedInterface()default BooleanisBlocked()Deprecated, for removal: This API element is subject to removal in a future version.default BooleanisLinkDown()Deprecated, for removal: This API element is subject to removal in a future version.default BooleanisLive()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PortState> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLinkDown
Boolean getLinkDown()
Return linkDown, ornullif it is not present.- Returns:
java.lang.BooleanlinkDown, ornullif it is not present.
-
isLinkDown
@Deprecated(forRemoval=true) default Boolean isLinkDown()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getBlocked
Boolean getBlocked()
Return blocked, ornullif it is not present.- Returns:
java.lang.Booleanblocked, ornullif it is not present.
-
isBlocked
@Deprecated(forRemoval=true) default Boolean isBlocked()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getLive
Boolean getLive()
Return live, ornullif it is not present.- Returns:
java.lang.Booleanlive, ornullif it is not present.
-
isLive
@Deprecated(forRemoval=true) default Boolean isLive()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-