public class TLcdAtomPerson extends TLcdDataObject
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ANY_PROPERTY
Data any property.
|
static TLcdDataProperty |
BASE_PROPERTY
Data property that maps to the
base attribute. |
static TLcdDataProperty |
EMAILS_PROPERTY
Data property that maps to the
email element. |
static TLcdDataProperty |
LANGUAGE_PROPERTY
Data property that maps to the
lang attribute. |
static TLcdDataProperty |
NAMES_PROPERTY
Data property that maps to the
name element. |
static TLcdDataProperty |
URIS_PROPERTY
Data property that maps to the
uri element. |
Constructor and Description |
---|
TLcdAtomPerson() |
TLcdAtomPerson(String aName)
Convenience constructor that adds the given name to
getNames() |
TLcdAtomPerson(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Returns the value of the any property.
|
URI |
getBase()
Returns the value of the property that maps to the
base attribute. |
List<String> |
getEmails()
Returns the value of the property that maps to the
email element. |
String |
getLanguage()
Returns the value of the property that maps to the
lang attribute. |
List<String> |
getNames()
Returns the value of the property that maps to the
name element. |
List<TLcdAtomUri> |
getUris()
Returns the value of the property that maps to the
uri element. |
void |
setBase(URI aValue)
Sets the value of the property that maps to the
base attribute. |
void |
setLanguage(String aValue)
Sets the value of the property that maps to the
lang attribute. |
public static final TLcdDataProperty BASE_PROPERTY
base
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty LANGUAGE_PROPERTY
lang
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty NAMES_PROPERTY
name
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty URIS_PROPERTY
uri
element.
The possible values for this property are instances of List<TLcdAtomUri>
.public static final TLcdDataProperty EMAILS_PROPERTY
email
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty ANY_PROPERTY
List<Object>
.public TLcdAtomPerson()
public TLcdAtomPerson(TLcdDataType aType)
public TLcdAtomPerson(String aName)
getNames()
aName
- the content to addpublic URI getBase()
base
attribute.
BASE_PROPERTY
property.public void setBase(URI aValue)
base
attribute.
aValue
- the value to set for the BASE_PROPERTY
property.public String getLanguage()
lang
attribute.
LANGUAGE_PROPERTY
property.public void setLanguage(String aValue)
lang
attribute.
aValue
- the value to set for the LANGUAGE_PROPERTY
property.public List<String> getNames()
name
element.NAMES_PROPERTY
property.public List<TLcdAtomUri> getUris()
uri
element.URIS_PROPERTY
property.public List<String> getEmails()
email
element.EMAILS_PROPERTY
property.public List<Object> getAny()
ANY_PROPERTY
property.