Package org.gedcomx.atom
Class Person
- java.lang.Object
-
- org.gedcomx.atom.CommonAttributes
-
- org.gedcomx.atom.ExtensibleElement
-
- org.gedcomx.atom.Person
-
- All Implemented Interfaces:
HasTransientProperties,SupportsExtensionElements
public final class Person extends ExtensibleElement
A Person construct is an element that describes a person, corporation, or similar entity- Author:
- Ryan Heaton
- See Also:
- The atom spec, section 3.2.
-
-
Field Summary
-
Fields inherited from class org.gedcomx.atom.ExtensibleElement
transientProperties
-
-
Constructor Summary
Constructors Constructor Description Person()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(AtomModelVisitor visitor)Accept a visitor.StringgetEmail()an e-mail address associated with the person.StringgetName()Conveys a human-readable name for the person.URIgetUri()an IRI associated with the person.voidsetEmail(String email)an e-mail address associated with the person.voidsetName(String name)a human-readable name for the person.voidsetUri(URI uri)an IRI associated with the person.-
Methods inherited from class org.gedcomx.atom.ExtensibleElement
addExtensionElement, findExtensionOfType, findExtensionsOfType, getExtensionElements, getTransientProperties, getTransientProperty, setExtensionElements, setTransientProperty
-
Methods inherited from class org.gedcomx.atom.CommonAttributes
getBase, getLang, setBase, setLang
-
-
-
-
Method Detail
-
getName
public String getName()
Conveys a human-readable name for the person.- Returns:
- a human-readable name for the person.
-
setName
public void setName(String name)
a human-readable name for the person.- Parameters:
name- a human-readable name for the person.
-
getUri
public URI getUri()
an IRI associated with the person.- Returns:
- an IRI associated with the person.
-
setUri
public void setUri(URI uri)
an IRI associated with the person.- Parameters:
uri- an IRI associated with the person.
-
getEmail
public String getEmail()
an e-mail address associated with the person.- Returns:
- an e-mail address associated with the person.
-
setEmail
public void setEmail(String email)
an e-mail address associated with the person.- Parameters:
email- an e-mail address associated with the person.
-
accept
public void accept(AtomModelVisitor visitor)
Accept a visitor.- Parameters:
visitor- The visitor to accept.
-
-