public class DefaultChips extends org.onosproject.yang.model.InnerModelObject implements Chips
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeChips.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected List<Banana> |
banana |
protected ColdDrink |
coldDrink |
protected List<Boolean> |
potato |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultChips()
Creates an instance of defaultChips.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToBanana(Banana addTo)
Adds to the list of banana.
|
void |
addToPotato(Boolean addTo)
Adds to the list of potato.
|
List<Banana> |
banana()
Returns the attribute banana.
|
void |
banana(List<Banana> banana)
Sets the attribute banana.
|
ColdDrink |
coldDrink()
Returns the attribute coldDrink.
|
void |
coldDrink(ColdDrink coldDrink)
Sets the attribute coldDrink.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Chips.LeafIdentifier leaf)
Checks if the leaf value is set.
|
List<Boolean> |
potato()
Returns the attribute potato.
|
void |
potato(List<Boolean> potato)
Sets the attribute potato.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationpublic List<Boolean> potato()
Chipspublic BitSet valueLeafFlags()
ChipsvalueLeafFlags in interface Chipspublic List<Banana> banana()
Chipspublic ColdDrink coldDrink()
Chipspublic void potato(List<Boolean> potato)
Chipspublic void banana(List<Banana> banana)
Chipspublic void coldDrink(ColdDrink coldDrink)
Chipspublic void addToPotato(Boolean addTo)
ChipsaddToPotato in interface ChipsaddTo - value of potatopublic void addToBanana(Banana addTo)
ChipsaddToBanana in interface ChipsaddTo - value of bananapublic boolean isLeafValueSet(Chips.LeafIdentifier leaf)
ChipsisLeafValueSet in interface Chipsleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.