Class VCardImportObject
java.lang.Object
ch.tocco.nice2.optional.address.impl.action.util.VCardImportObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable String[]
@Nullable String
getAddressAddition
(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable net.fortuna.ical4j.vcard.Property
getAddressPropertyByType
(net.fortuna.ical4j.vcard.parameter.Type type, boolean getAny) @Nullable org.joda.time.LocalDate
@Nullable String
@Nullable String
getCanton
(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable String
getCity
(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable String
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@Nullable String
getCountry
(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable String
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.@Nullable String
getEmail()
@Nullable String
getEmailByType
(net.fortuna.ical4j.vcard.parameter.Type type, boolean getAny) @Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
getPostbox
(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable net.fortuna.ical4j.vcard.Property
@Nullable String
getRole()
@Nullable String
getStreet
(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) @Nullable String
getTelephoneByType
(net.fortuna.ical4j.vcard.parameter.Type type, boolean getAny) @Nullable net.fortuna.ical4j.vcard.Property
@Nullable String
getZip
(@Nullable net.fortuna.ical4j.vcard.parameter.Type type) boolean
Check if vcard contains at least one address propertyint
hashCode()
boolean
boolean
void
setPrivateAddress
(@Nullable net.fortuna.ical4j.vcard.Property privateAddress) void
setWorkAddress
(@Nullable net.fortuna.ical4j.vcard.Property workAddress)
-
Constructor Details
-
VCardImportObject
public VCardImportObject(net.fortuna.ical4j.vcard.VCard card)
-
-
Method Details
-
setPrivateAddress
public void setPrivateAddress(@Nullable @Nullable net.fortuna.ical4j.vcard.Property privateAddress) -
setWorkAddress
public void setWorkAddress(@Nullable @Nullable net.fortuna.ical4j.vcard.Property workAddress) -
getPrivateAddress
@Nullable public @Nullable net.fortuna.ical4j.vcard.Property getPrivateAddress() -
getWorkAddress
@Nullable public @Nullable net.fortuna.ical4j.vcard.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
-
getEmailByType
@Nullable public @Nullable String getEmailByType(net.fortuna.ical4j.vcard.parameter.Type type, boolean getAny) -
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.vcard.Property getAddressPropertyByType(net.fortuna.ical4j.vcard.parameter.Type type, boolean getAny) -
equals
-
hashCode
public int hashCode()
-