org.onosproject.yang.model.ModelObject.ModelObjectTypeFood.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected String |
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 |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Food.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
p1()
Returns the attribute p1.
|
void |
p1(String 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.
|
protected String p1
protected BitSet valueLeafFlags
protected Snack snack
public BitSet valueLeafFlags()
FoodvalueLeafFlags in interface Foodpublic void snack(Snack snack)
Foodpublic boolean isLeafValueSet(Food.LeafIdentifier leaf)
FoodisLeafValueSet in interface Foodleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.