public class DefaultReceiver extends org.onosproject.yang.model.InnerModelObject implements Receiver, org.onosproject.yang.model.MultiInstanceObject<ReceiverKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeReceiver.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected Host |
address |
protected PortNumber |
port |
protected TransportProtocol |
protocol |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultReceiver()
Creates an instance of defaultReceiver.
|
| Modifier and Type | Method and Description |
|---|---|
Host |
address()
Returns the attribute address.
|
void |
address(Host address)
Sets the attribute address.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Receiver.LeafIdentifier leaf)
Checks if the leaf value is set.
|
PortNumber |
port()
Returns the attribute port.
|
void |
port(PortNumber port)
Sets the attribute port.
|
TransportProtocol |
protocol()
Returns the attribute protocol.
|
void |
protocol(TransportProtocol protocol)
Sets the attribute protocol.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected Host address
protected PortNumber port
protected TransportProtocol protocol
protected BitSet valueLeafFlags
public Host address()
Receiverpublic PortNumber port()
Receiverpublic TransportProtocol protocol()
Receiverpublic BitSet valueLeafFlags()
ReceivervalueLeafFlags in interface Receiverpublic void address(Host address)
Receiverpublic void port(PortNumber port)
Receiverpublic void protocol(TransportProtocol protocol)
Receiverpublic boolean isLeafValueSet(Receiver.LeafIdentifier leaf)
ReceiverisLeafValueSet in interface Receiverleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.