net.fortuna.ical4j.vcard.IdentificationPropertyAccessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ical4j-vcard Show documentation
Show all versions of ical4j-vcard Show documentation
Support for the vCard specification
The newest version!
package net.fortuna.ical4j.vcard;
import net.fortuna.ical4j.model.PropertyContainer;
import net.fortuna.ical4j.vcard.property.*;
import java.util.List;
import java.util.Optional;
public interface IdentificationPropertyAccessor extends PropertyContainer {
default List getFns() {
return getProperties(PropertyName.FN.toString());
}
default Optional getN() {
return getProperty(PropertyName.N);
}
default List getNicknames() {
return getProperties(PropertyName.NICKNAME.toString());
}
default List getPhotos() {
return getProperties(PropertyName.PHOTO.toString());
}
default Optional> getBDay() {
return getProperty(PropertyName.BDAY);
}
default Optional> getAnniversary() {
return getProperty(PropertyName.ANNIVERSARY);
}
default Optional getGender() {
return getProperty(PropertyName.GENDER);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy