public class DefaultLocation extends org.onosproject.yang.model.InnerModelObject implements Location
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeLocation.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected String |
city |
protected String |
countryCode |
protected String |
state |
protected BitSet |
valueLeafFlags |
protected String |
zipCode |
| Constructor and Description |
|---|
DefaultLocation()
Creates an instance of defaultLocation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
address()
Returns the attribute address.
|
void |
address(String address)
Sets the attribute address.
|
String |
city()
Returns the attribute city.
|
void |
city(String city)
Sets the attribute city.
|
String |
countryCode()
Returns the attribute countryCode.
|
void |
countryCode(String countryCode)
Sets the attribute countryCode.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Location.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
state()
Returns the attribute state.
|
void |
state(String state)
Sets the attribute state.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
String |
zipCode()
Returns the attribute zipCode.
|
void |
zipCode(String zipCode)
Sets the attribute zipCode.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String address
protected String zipCode
protected String state
protected String city
protected String countryCode
protected BitSet valueLeafFlags
public String address()
Locationpublic String zipCode()
Locationpublic String state()
Locationpublic String countryCode()
LocationcountryCode in interface Locationpublic BitSet valueLeafFlags()
LocationvalueLeafFlags in interface Locationpublic void address(String address)
Locationpublic void zipCode(String zipCode)
Locationpublic void state(String state)
Locationpublic void city(String city)
Locationpublic void countryCode(String countryCode)
LocationcountryCode in interface LocationcountryCode - value of countryCodepublic boolean isLeafValueSet(Location.LeafIdentifier leaf)
LocationisLeafValueSet in interface Locationleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.