Enum AddressComponentType

java.lang.Object
java.lang.Enum<AddressComponentType>
com.onenetwork.platform.common.address.AddressComponentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AddressComponentType>, java.lang.constant.Constable

public enum AddressComponentType
extends java.lang.Enum<AddressComponentType>
Enumeration of types of components which can go into an Address. The CountryImpl drives the list of available AddressComponentType for an Address.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    ADDRESS_ENT
    Addresses can be used to represent "temporary" enterprises, orgs and sites.
    ADDRESS_ORG
    Addresses can be used to represent "temporary" enterprises, orgs and sites.
    ADDRESS_SITE
    Addresses can be used to represent "temporary" enterprises, orgs and sites.
    CITY
    City
    COUNTRY
    Country
    COUNTY
    County
    LATITUDE
    Latitude
    LONGITUDE
    Longitude
    PO_BOX
    Post Office Box
    POSTAL_CODE
    Postal Code
    PREFECTURE
    Prefecture
    PROVINCE
    Province
    STATE
    State
    STREET_1
    First line of the "Street" portion of the Address
    STREET_2
    Second line of the "Street" portion of the Address
    STREET_3
    Third line of the "Street" portion of the Address
    SUB_CITY
    Sub-city is relevant for large cities, e.g.
    TIME_ZONE
    Addresses can be used to represent "temporary" enterprises, orgs and sites.
    WARD
    Ward
    ZIP
    U.S.
  • Method Summary

    Modifier and Type Method Description
    static AddressComponentType fromValue​(java.lang.String v)
    Returns an AddressCompnentType matching the given string value
    java.lang.String toString()  
    java.lang.String value()
    Returns a string representation of the enumeration value.
    static AddressComponentType valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static AddressComponentType[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait