public interface State extends ChildOf<Component>, Augmentable<State>
This class represents the following YANG schema fragment defined in module ietf-hardware
container state { if-feature hardware-state; leaf state-last-changed { type yang:date-and-time; config false; } leaf admin-state { type admin-state; } leaf oper-state { type oper-state; config false; } leaf usage-state { type usage-state; config false; } leaf alarm-state { type alarm-state; config false; } leaf standby-state { type standby-state; config false; } }The schema path to identify an instance is ietf-hardware/hardware/component/state
To create instances of this class use StateBuilder
.
StateBuilder
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable AdminState |
getAdminState()
The administrative state for this component.This node refers to a component's
administrativepermission to service both other components within itscontainment
hierarchy as well other users of itsservices defined by means outside the scope
of thismodule.Some components exhibit only a subset of the
remainingadministrative state values.
|
@Nullable AlarmState |
getAlarmState()
The alarm state for this component.
|
@Nullable OperState |
getOperState()
The operational state for this component.Note that this node does not follow the
administrativestate.
|
@Nullable StandbyState |
getStandbyState()
The standby state for this component.Some components will exhibit only a subset
of theremaining standby state values.
|
@Nullable DateAndTime |
getStateLastChanged()
The date and time when the value of any of theadmin-state, oper-state,
usage-state, alarm-state, orstandby-state changed for this component.If there
has been no change since the lastre-initialization of the local system, this
nodecontains the date and time of local systeminitialization.
|
@Nullable UsageState |
getUsageState()
The usage state for this component.This node refers to a component's ability to
servicemore components in a containment hierarchy.Some components will exhibit
only a subset of the usagestate values.
|
getImplementedInterface
augmentation
@Nullable DateAndTime getStateLastChanged()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime
stateLastChanged
, or null
if not present@Nullable AdminState getAdminState()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.AdminState
adminState
, or null
if not present@Nullable OperState getOperState()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.OperState
operState
, or null
if not present@Nullable UsageState getUsageState()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.UsageState
usageState
, or null
if not present@Nullable AlarmState getAlarmState()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.AlarmState
alarmState
, or null
if not present@Nullable StandbyState getStandbyState()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.StandbyState
standbyState
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.