Class VCardImportObject
java.lang.Object
ch.tocco.nice2.optional.address.impl.action.util.VCardImportObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable String[]@Nullable StringgetAddressAddition(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable net.fortuna.ical4j.model.PropertygetAddressPropertyByType(net.fortuna.ical4j.vcard.parameter.Type type, boolean getAny) @Nullable org.joda.time.LocalDate@Nullable String@Nullable StringgetCanton(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable StringgetCity(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable StringThe 'ORG' Property definition:
Purpose: To specify the organizational name and units associated with the vCard.
Value type: A single structured text value consisting of components separated by the semicolon character.
Special notes: The property value is a structured type consisting of the organization name, followed by zero or more levels of organizational unit names.
Example: ORG:ABC\, Inc.;North American Division;Marketing@Nullable StringgetCountry(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable StringThe 'ORG' Property definition:
Purpose: To specify the organizational name and units associated with the vCard.
Value type: A single structured text value consisting of components separated by the semicolon character.
Special notes: The property value is a structured type consisting of the organization name, followed by zero or more levels of organizational unit names.
Example: ORG:ABC\, Inc.;North American Division;Marketing
We take only the last value as department information.@Nullable StringgetEmail()@Nullable String@Nullable String@Nullable String@Nullable String@Nullable StringgetPostbox(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable net.fortuna.ical4j.model.Property@Nullable StringgetRole()@Nullable StringgetStreet(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable StringgetTelephoneByType(net.fortuna.ical4j.vcard.parameter.Type type, boolean getAny) @Nullable net.fortuna.ical4j.model.Property@Nullable StringgetZip(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) booleanCheck if vcard contains at least one address propertyinthashCode()booleanbooleanvoidsetPrivateAddress(@Nullable net.fortuna.ical4j.model.Property privateAddress) voidsetWorkAddress(@Nullable net.fortuna.ical4j.model.Property workAddress)
-
Constructor Details
-
VCardImportObject
public VCardImportObject(net.fortuna.ical4j.vcard.Entity vCardEntity)
-
-
Method Details
-
setPrivateAddress
public void setPrivateAddress(@Nullable @Nullable net.fortuna.ical4j.model.Property privateAddress) -
setWorkAddress
public void setWorkAddress(@Nullable @Nullable net.fortuna.ical4j.model.Property workAddress) -
getPrivateAddress
@Nullable public @Nullable net.fortuna.ical4j.model.Property getPrivateAddress() -
getWorkAddress
@Nullable public @Nullable net.fortuna.ical4j.model.Property getWorkAddress() -
hasPrivateAddress
public boolean hasPrivateAddress() -
hasWorkAddress
public boolean hasWorkAddress() -
getLastname
-
getFirstname
-
getAcademicTitles
-
getOtherTitles
-
getCallname
-
getGender
-
getRole
-
getBirthdate
@Nullable public @Nullable org.joda.time.LocalDate getBirthdate() -
getEmail
-
getTelephoneByType
@Nullable public @Nullable String getTelephoneByType(net.fortuna.ical4j.vcard.parameter.Type type, boolean getAny) -
getPostbox
@Nullable public @Nullable String getPostbox(@Nullable @Nullable net.fortuna.ical4j.vcard.parameter.Type type) -
getAddressAddition
@Nullable public @Nullable String getAddressAddition(@Nullable @Nullable net.fortuna.ical4j.vcard.parameter.Type type) -
getStreet
@Nullable public @Nullable String getStreet(@Nullable @Nullable net.fortuna.ical4j.vcard.parameter.Type type) -
getZip
@Nullable public @Nullable String getZip(@Nullable @Nullable net.fortuna.ical4j.vcard.parameter.Type type) -
getCity
@Nullable public @Nullable String getCity(@Nullable @Nullable net.fortuna.ical4j.vcard.parameter.Type type) -
getCanton
@Nullable public @Nullable String getCanton(@Nullable @Nullable net.fortuna.ical4j.vcard.parameter.Type type) -
getCountry
@Nullable public @Nullable String getCountry(@Nullable @Nullable net.fortuna.ical4j.vcard.parameter.Type type) -
getCompany
The 'ORG' Property definition:
Purpose: To specify the organizational name and units associated with the vCard.
Value type: A single structured text value consisting of components separated by the semicolon character.
Special notes: The property value is a structured type consisting of the organization name, followed by zero or more levels of organizational unit names.
Example: ORG:ABC\, Inc.;North American Division;Marketing -
getDepartment
The 'ORG' Property definition:
Purpose: To specify the organizational name and units associated with the vCard.
Value type: A single structured text value consisting of components separated by the semicolon character.
Special notes: The property value is a structured type consisting of the organization name, followed by zero or more levels of organizational unit names.
Example: ORG:ABC\, Inc.;North American Division;Marketing
We take only the last value as department information. -
hasAddress
public boolean hasAddress()Check if vcard contains at least one address property- Returns:
- true if vcard contains one address property, false otherwise
-
getAddressPropertyByType
@Nullable public @Nullable net.fortuna.ical4j.model.Property getAddressPropertyByType(net.fortuna.ical4j.vcard.parameter.Type type, boolean getAny) -
equals
-
hashCode
-