public class DefaultMulticastTransportProtocol extends org.onosproject.yang.model.InnerModelObject implements MulticastTransportProtocol
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeMulticastTransportProtocol.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
ipv4 |
protected boolean |
ipv6 |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultMulticastTransportProtocol()
Creates an instance of defaultMulticastTransportProtocol.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
ipv4()
Returns the attribute ipv4.
|
void |
ipv4(boolean ipv4)
Sets the attribute ipv4.
|
boolean |
ipv6()
Returns the attribute ipv6.
|
void |
ipv6(boolean ipv6)
Sets the attribute ipv6.
|
boolean |
isLeafValueSet(MulticastTransportProtocol.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
protected boolean ipv4
protected boolean ipv6
protected BitSet valueLeafFlags
public DefaultMulticastTransportProtocol()
public boolean ipv4()
MulticastTransportProtocolipv4 in interface MulticastTransportProtocolpublic boolean ipv6()
MulticastTransportProtocolipv6 in interface MulticastTransportProtocolpublic BitSet valueLeafFlags()
MulticastTransportProtocolvalueLeafFlags in interface MulticastTransportProtocolpublic void ipv4(boolean ipv4)
MulticastTransportProtocolipv4 in interface MulticastTransportProtocolipv4 - value of ipv4public void ipv6(boolean ipv6)
MulticastTransportProtocolipv6 in interface MulticastTransportProtocolipv6 - value of ipv6public boolean isLeafValueSet(MulticastTransportProtocol.LeafIdentifier leaf)
MulticastTransportProtocolisLeafValueSet in interface MulticastTransportProtocolleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.