Package com.onenetwork.platform.common
Class AddressImpl
java.lang.Object
com.onenetwork.platform.common.AddressImpl
- All Implemented Interfaces:
Address
public class AddressImpl extends java.lang.Object implements Address
Stub for AddressImpl to compile platform-api code. This is removed from the platform-api
jar, and at runtime the version from dvce.jar is used.
-
Constructor Summary
Constructors Constructor Description AddressImpl()
-
Method Summary
Modifier and Type Method Description java.lang.String
get(AddressComponentType compType)
Returns an address component for the given typejava.util.List<AddressComponent>
getComponents()
Return all components of this address (except for Country).Country
getCountry()
Country of the Address.void
set(AddressComponentType compType, java.lang.String val)
Sets an address component to the given valuevoid
setCountry(Country country)
Country of the Address.void
setNull(boolean value)
-
Constructor Details
-
AddressImpl
public AddressImpl()
-
-
Method Details
-
getCountry
Description copied from interface:Address
Country of the Address. This drives the availableAddressComponentType
s.- Specified by:
getCountry
in interfaceAddress
-
setCountry
Description copied from interface:Address
Country of the Address. This drives the availableAddressComponentType
s.- Specified by:
setCountry
in interfaceAddress
-
getComponents
Description copied from interface:Address
Return all components of this address (except for Country). Can be modified.- Specified by:
getComponents
in interfaceAddress
-
set
Description copied from interface:Address
Sets an address component to the given value -
get
Description copied from interface:Address
Returns an address component for the given type -
setNull
public void setNull(boolean value)
-