Package org.isda.cdm
Class Address
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.Address
-
@RosettaClass @RosettaSynonym(value="Address", source="FpML_5_10") public class Address extends com.rosetta.model.lib.RosettaModelObject
A class to specify a post or street address.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Address.AddressBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Address.AddressBuilder
builder()
boolean
equals(java.lang.Object o)
java.lang.String
getCity()
The city component of the postal address.FieldWithMetaString
getCountry()
The ISO 3166 standard code for the country within which the postal address is located.java.lang.String
getPostalCode()
The code, required for computerized mail sorting systems, that is allocated to a physical address by a national postal authority.java.lang.String
getState()
A country subdivision used in postal addresses in some countries.java.util.List<java.lang.String>
getStreet()
The set of street and building number information that identifies a postal address within a city.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends Address>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
Address.AddressBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getCity
@RosettaSynonym(value="city", source="FpML_5_10") public final java.lang.String getCity()
The city component of the postal address.
-
getCountry
@RosettaSynonym(value="country", source="FpML_5_10") public final FieldWithMetaString getCountry()
The ISO 3166 standard code for the country within which the postal address is located.
-
getPostalCode
@RosettaSynonym(value="postalCode", source="FpML_5_10") public final java.lang.String getPostalCode()
The code, required for computerized mail sorting systems, that is allocated to a physical address by a national postal authority.
-
getState
@RosettaSynonym(value="state", source="FpML_5_10") public final java.lang.String getState()
A country subdivision used in postal addresses in some countries. For example, US states, Canadian provinces, Swiss cantons, ...
-
getStreet
@RosettaSynonym(value="streetAddress", source="FpML_5_10") public final java.util.List<java.lang.String> getStreet()
The set of street and building number information that identifies a postal address within a city.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends Address> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public Address.AddressBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static Address.AddressBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-