public class FoodOpParam extends ModelObject implements Food
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
Food.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
bool |
protected Food |
food |
protected BitSet |
valueLeafFlags |
protected List<Boolean> |
yangAutoPrefixBoolean |
| Constructor and Description |
|---|
FoodOpParam()
Creates an instance of foodOpParam.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAugmentation(ModelObject obj) |
<T extends ModelObject> |
augmentation(Class<T> c) |
Map<Class<? extends ModelObject>,ModelObject> |
augmentations() |
boolean |
bool()
Returns the attribute bool.
|
void |
bool(boolean bool)
Sets the attribute bool.
|
boolean |
equals(Object obj) |
Food |
food()
Returns the attribute food.
|
void |
food(Food food)
Sets the attribute food.
|
int |
hashCode() |
boolean |
isLeafValueSet(Food.LeafIdentifier leaf)
Checks if the leaf value is set.
|
void |
removeAugmentation(ModelObject obj) |
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
List<Boolean> |
yangAutoPrefixBoolean()
Returns the attribute yangAutoPrefixBoolean.
|
void |
yangAutoPrefixBoolean(List<Boolean> yangAutoPrefixBoolean)
Sets the attribute yangAutoPrefixBoolean.
|
protected boolean bool
protected BitSet valueLeafFlags
protected Food food
public boolean bool()
Foodpublic List<Boolean> yangAutoPrefixBoolean()
FoodyangAutoPrefixBoolean in interface Foodpublic BitSet valueLeafFlags()
FoodvalueLeafFlags in interface Foodpublic void bool(boolean bool)
Foodpublic void yangAutoPrefixBoolean(List<Boolean> yangAutoPrefixBoolean)
FoodyangAutoPrefixBoolean in interface FoodyangAutoPrefixBoolean - list of yangAutoPrefixBooleanpublic boolean isLeafValueSet(Food.LeafIdentifier leaf)
FoodisLeafValueSet in interface Foodleaf - leaf whose value status needs to checkedpublic void addAugmentation(ModelObject obj)
addAugmentation in class ModelObjectpublic void removeAugmentation(ModelObject obj)
removeAugmentation in class ModelObjectpublic Map<Class<? extends ModelObject>,ModelObject> augmentations()
augmentations in class ModelObjectpublic <T extends ModelObject> T augmentation(Class<T> c)
augmentation in class ModelObjectCopyright © 2017. All rights reserved.