public final class N
extends net.fortuna.ical4j.vcard.Property
Modifier and Type | Field and Description |
---|---|
static net.fortuna.ical4j.vcard.PropertyFactory<N> |
FACTORY |
Constructor and Description |
---|
N(java.util.List<net.fortuna.ical4j.vcard.Parameter> params,
java.lang.String value)
Factory constructor.
|
N(java.lang.String familyName,
java.lang.String givenName,
java.lang.String[] additionalNames,
java.lang.String[] prefixes,
java.lang.String[] suffixes) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAdditionalNames() |
java.lang.String |
getFamilyName() |
java.lang.String |
getGivenName() |
java.lang.String[] |
getPrefixes() |
java.lang.String[] |
getSuffixes() |
java.lang.String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public static final net.fortuna.ical4j.vcard.PropertyFactory<N> FACTORY
public N(java.lang.String familyName, java.lang.String givenName, java.lang.String[] additionalNames, java.lang.String[] prefixes, java.lang.String[] suffixes)
familyName
- the family name component of a namegivenName
- the given name component of a nameadditionalNames
- additional names component of a nameprefixes
- prefix components of a namesuffixes
- suffix components of a namepublic N(java.util.List<net.fortuna.ical4j.vcard.Parameter> params, java.lang.String value)
params
- property parametersvalue
- string representation of a property valuepublic java.lang.String getFamilyName()
public java.lang.String getGivenName()
public java.lang.String[] getAdditionalNames()
public java.lang.String[] getPrefixes()
public java.lang.String[] getSuffixes()
public java.lang.String getValue()
getValue
in class net.fortuna.ical4j.vcard.Property
public void validate() throws net.fortuna.ical4j.model.ValidationException
validate
in class net.fortuna.ical4j.vcard.Property
net.fortuna.ical4j.model.ValidationException
Copyright © 2021. All Rights Reserved.