Package org.apache.juneau.dto.atom
Class Person
java.lang.Object
org.apache.juneau.dto.atom.Common
org.apache.juneau.dto.atom.Person
Represents an atomPersonConstruct construct in the RFC4287 specification.
Schema
atomPersonConstruct = atomCommonAttributes, (element atom:name { text } & element atom:uri { atomUri }? & element atom:email { atomEmailAddress }? & extensionElement*)
See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Person
Normal constructor.- Parameters:
name
- The name of the person.
-
Person
public Person()Bean constructor.
-
-
Method Details
-
getName
Bean property getter:name .The name of the person.
- Returns:
- The property value, or
null if it is not set.
-
setName
Bean property setter:name .The name of the person.
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
getUri
Bean property getter:uri .The URI of the person.
- Returns:
- The property value, or
null if it is not set.
-
setUri
Bean property setter:uri .The URI of the person.
The value can be of any of the following types:
URI
,URL
,String
. Strings must be valid URIs.URIs defined by
UriResolver
can be used for values.- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
getEmail
Bean property getter:email .The email address of the person.
- Returns:
- The property value, or
null if it is not set.
-
setEmail
Bean property setter:email .The email address of the person.
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
setBase
Description copied from class:Common
-
setLang
Description copied from class:Common
Bean property setter:lang .The language of this object.
-