public class DefaultVpnPolicy extends org.onosproject.yang.model.InnerModelObject implements VpnPolicy, org.onosproject.yang.model.MultiInstanceObject<VpnPolicyKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeVpnPolicy.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected List<Entries> |
entries |
protected BitSet |
valueLeafFlags |
protected SvcId |
vpnPolicyId |
| Constructor and Description |
|---|
DefaultVpnPolicy()
Creates an instance of defaultVpnPolicy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToEntries(Entries addTo)
Adds to the list of entries.
|
List<Entries> |
entries()
Returns the attribute entries.
|
void |
entries(List<Entries> entries)
Sets the attribute entries.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(VpnPolicy.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
SvcId |
vpnPolicyId()
Returns the attribute vpnPolicyId.
|
void |
vpnPolicyId(SvcId vpnPolicyId)
Sets the attribute vpnPolicyId.
|
public DefaultVpnPolicy()
public SvcId vpnPolicyId()
VpnPolicyvpnPolicyId in interface VpnPolicypublic BitSet valueLeafFlags()
VpnPolicyvalueLeafFlags in interface VpnPolicypublic List<Entries> entries()
VpnPolicypublic void vpnPolicyId(SvcId vpnPolicyId)
VpnPolicyvpnPolicyId in interface VpnPolicyvpnPolicyId - value of vpnPolicyIdpublic void entries(List<Entries> entries)
VpnPolicypublic void addToEntries(Entries addTo)
VpnPolicyaddToEntries in interface VpnPolicyaddTo - value of entriespublic boolean isLeafValueSet(VpnPolicy.LeafIdentifier leaf)
VpnPolicyisLeafValueSet in interface VpnPolicyleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.