Package cdm.base.staticdata.party
Class Address.AddressBuilderImpl
java.lang.Object
cdm.base.staticdata.party.Address.AddressBuilderImpl
- All Implemented Interfaces:
Address,Address.AddressBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Address
Builder Implementation of Address
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.party.Address
Address.AddressBuilder, Address.AddressBuilderImpl, Address.AddressImpl -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleangetCity()The city component of the postal address.The ISO 3166 standard code for the country within which the postal address is located.The code, required for computerized mail sorting systems, that is allocated to a physical address by a national postal authority.getState()A country subdivision used in postal addresses in some countries.The set of street and building number information that identifies a postal address within a city.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCountry(FieldWithMetaString _country) setCountryValue(String _country) setPostalCode(String _postalCode) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.party.Address.AddressBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
street
-
city
-
state
-
country
-
postalCode
-
-
Constructor Details
-
AddressBuilderImpl
public AddressBuilderImpl()
-
-
Method Details
-
getStreet
@RosettaAttribute(value="street", isRequired=true) @RuneAttribute(value="street", isRequired=true) public List<String> getStreet()Description copied from interface:AddressThe set of street and building number information that identifies a postal address within a city. -
getCity
Description copied from interface:AddressThe city component of the postal address. -
getState
Description copied from interface:AddressA country subdivision used in postal addresses in some countries. For example, US states, Canadian provinces, Swiss cantons, ... -
getCountry
@RosettaAttribute("country") @RuneAttribute("country") public FieldWithMetaString.FieldWithMetaStringBuilder getCountry()Description copied from interface:AddressThe ISO 3166 standard code for the country within which the postal address is located.- Specified by:
getCountryin interfaceAddress- Specified by:
getCountryin interfaceAddress.AddressBuilder
-
getOrCreateCountry
- Specified by:
getOrCreateCountryin interfaceAddress.AddressBuilder
-
getPostalCode
Description copied from interface:AddressThe code, required for computerized mail sorting systems, that is allocated to a physical address by a national postal authority.- Specified by:
getPostalCodein interfaceAddress
-
addStreet
@RosettaAttribute(value="street", isRequired=true) @RuneAttribute(value="street", isRequired=true) public Address.AddressBuilder addStreet(String _street) - Specified by:
addStreetin interfaceAddress.AddressBuilder
-
addStreet
- Specified by:
addStreetin interfaceAddress.AddressBuilder
-
addStreet
- Specified by:
addStreetin interfaceAddress.AddressBuilder
-
setStreet
- Specified by:
setStreetin interfaceAddress.AddressBuilder
-
setCity
@RosettaAttribute("city") @RuneAttribute("city") public Address.AddressBuilder setCity(String _city) - Specified by:
setCityin interfaceAddress.AddressBuilder
-
setState
@RosettaAttribute("state") @RuneAttribute("state") public Address.AddressBuilder setState(String _state) - Specified by:
setStatein interfaceAddress.AddressBuilder
-
setCountry
@RosettaAttribute("country") @RuneAttribute("country") public Address.AddressBuilder setCountry(FieldWithMetaString _country) - Specified by:
setCountryin interfaceAddress.AddressBuilder
-
setCountryValue
- Specified by:
setCountryValuein interfaceAddress.AddressBuilder
-
setPostalCode
@RosettaAttribute("postalCode") @RuneAttribute("postalCode") public Address.AddressBuilder setPostalCode(String _postalCode) - Specified by:
setPostalCodein interfaceAddress.AddressBuilder
-
build
Description copied from interface:AddressBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfaceAddress.AddressBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public Address.AddressBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-