public class AddressType extends VersionedVCardParameter
Address
and Label
properties.
Supported versions: 2.1, 3.0, 4.0
Modifier and Type | Field and Description |
---|---|
static AddressType |
DOM
Supported versions:
2.1, 3.0 |
static AddressType |
HOME
Supported versions:
2.1, 3.0, 4.0 |
static AddressType |
INTL
Supported versions:
2.1, 3.0 |
static AddressType |
PARCEL
Supported versions:
2.1, 3.0 |
static AddressType |
POSTAL
Supported versions:
2.1, 3.0 |
static AddressType |
PREF
Supported versions:
2.1, 3.0 |
static AddressType |
WORK
Supported versions:
2.1, 3.0, 4.0 |
supportedVersions
value
Modifier and Type | Method and Description |
---|---|
static Collection<AddressType> |
all()
Gets all of the parameter values that are defined as static constants in
this class.
|
static AddressType |
find(String value)
Searches for a parameter value that is defined as a static constant in
this class.
|
static AddressType |
get(String value)
Searches for a parameter value and creates one if it cannot be found.
|
isSupported
equals, getValue, hashCode, toString
public static final AddressType HOME
2.1, 3.0, 4.0
public static final AddressType WORK
2.1, 3.0, 4.0
public static final AddressType DOM
2.1, 3.0
public static final AddressType INTL
2.1, 3.0
public static final AddressType POSTAL
2.1, 3.0
public static final AddressType PARCEL
2.1, 3.0
public static final AddressType PREF
2.1, 3.0
public static AddressType find(String value)
value
- the parameter valuepublic static AddressType get(String value)
==
equality.value
- the parameter valuepublic static Collection<AddressType> all()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.