public class DefaultNetwork extends org.onosproject.yang.model.InnerModelObject implements Network, org.onosproject.yang.model.MultiInstanceObject<NetworkKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeNetwork.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected NetworkId |
networkId |
protected NetworkTypes |
networkTypes |
protected List<Node> |
node |
protected List<SupportingNetwork> |
supportingNetwork |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultNetwork()
Creates an instance of defaultNetwork.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToNode(Node addTo)
Adds to the list of node.
|
void |
addToSupportingNetwork(SupportingNetwork addTo)
Adds to the list of supportingNetwork.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Network.LeafIdentifier leaf)
Checks if the leaf value is set.
|
NetworkId |
networkId()
Returns the attribute networkId.
|
void |
networkId(NetworkId networkId)
Sets the attribute networkId.
|
NetworkTypes |
networkTypes()
Returns the attribute networkTypes.
|
void |
networkTypes(NetworkTypes networkTypes)
Sets the attribute networkTypes.
|
List<Node> |
node()
Returns the attribute node.
|
void |
node(List<Node> node)
Sets the attribute node.
|
List<SupportingNetwork> |
supportingNetwork()
Returns the attribute supportingNetwork.
|
void |
supportingNetwork(List<SupportingNetwork> supportingNetwork)
Sets the attribute supportingNetwork.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
protected NetworkId networkId
protected BitSet valueLeafFlags
protected NetworkTypes networkTypes
protected List<SupportingNetwork> supportingNetwork
public NetworkId networkId()
Networkpublic BitSet valueLeafFlags()
NetworkvalueLeafFlags in interface Networkpublic NetworkTypes networkTypes()
NetworknetworkTypes in interface Networkpublic List<SupportingNetwork> supportingNetwork()
NetworksupportingNetwork in interface Networkpublic List<Node> node()
Networkpublic void networkId(NetworkId networkId)
Networkpublic void networkTypes(NetworkTypes networkTypes)
NetworknetworkTypes in interface NetworknetworkTypes - value of networkTypespublic void supportingNetwork(List<SupportingNetwork> supportingNetwork)
NetworksupportingNetwork in interface NetworksupportingNetwork - list of supportingNetworkpublic void node(List<Node> node)
Networkpublic void addToSupportingNetwork(SupportingNetwork addTo)
NetworkaddToSupportingNetwork in interface NetworkaddTo - value of supportingNetworkpublic void addToNode(Node addTo)
Networkpublic boolean isLeafValueSet(Network.LeafIdentifier leaf)
NetworkisLeafValueSet in interface Networkleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.