public class DefaultDevice extends org.onosproject.yang.model.InnerModelObject implements Device
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeDevice.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected List<Device> |
device |
protected String |
reqEndDateTime |
protected String |
reqStartDateTime |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultDevice()
Creates an instance of defaultDevice.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToDevice(Device addTo)
Adds to the list of device.
|
List<Device> |
device()
Returns the attribute device.
|
void |
device(List<Device> device)
Sets the attribute device.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Device.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
reqEndDateTime()
Returns the attribute reqEndDateTime.
|
void |
reqEndDateTime(String reqEndDateTime)
Sets the attribute reqEndDateTime.
|
String |
reqStartDateTime()
Returns the attribute reqStartDateTime.
|
void |
reqStartDateTime(String reqStartDateTime)
Sets the attribute reqStartDateTime.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String reqStartDateTime
protected String reqEndDateTime
protected BitSet valueLeafFlags
public String reqStartDateTime()
DevicereqStartDateTime in interface Devicepublic String reqEndDateTime()
DevicereqEndDateTime in interface Devicepublic BitSet valueLeafFlags()
DevicevalueLeafFlags in interface Devicepublic List<Device> device()
Devicepublic void reqStartDateTime(String reqStartDateTime)
DevicereqStartDateTime in interface DevicereqStartDateTime - value of reqStartDateTimepublic void reqEndDateTime(String reqEndDateTime)
DevicereqEndDateTime in interface DevicereqEndDateTime - value of reqEndDateTimepublic void device(List<Device> device)
Devicepublic void addToDevice(Device addTo)
DeviceaddToDevice in interface DeviceaddTo - value of devicepublic boolean isLeafValueSet(Device.LeafIdentifier leaf)
DeviceisLeafValueSet in interface Deviceleaf - leaf whose value status needs to checkedCopyright © 2019. All rights reserved.