public class DefaultFood extends org.onosproject.yang.model.InnerModelObject implements Food
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeFood.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
p1 |
protected List<String> |
p2 |
protected Snack |
snack |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultFood()
Creates an instance of defaultFood.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToP2(String addTo)
Adds to the list of p2.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Food.LeafIdentifier leaf)
Checks if the leaf value is set.
|
boolean |
p1()
Returns the attribute p1.
|
void |
p1(boolean p1)
Sets the attribute p1.
|
List<String> |
p2()
Returns the attribute p2.
|
void |
p2(List<String> p2)
Sets the attribute p2.
|
Snack |
snack()
Returns the attribute snack.
|
void |
snack(Snack snack)
Sets the attribute snack.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected boolean p1
protected BitSet valueLeafFlags
protected Snack snack
public boolean p1()
Foodpublic BitSet valueLeafFlags()
FoodvalueLeafFlags in interface Foodpublic void p1(boolean p1)
Foodpublic void snack(Snack snack)
Foodpublic void addToP2(String addTo)
Foodpublic boolean isLeafValueSet(Food.LeafIdentifier leaf)
FoodisLeafValueSet in interface Foodleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.