Class Person

java.lang.Object
org.apache.juneau.dto.atom.Common
org.apache.juneau.dto.atom.Person

public class Person extends Common
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 Details

    • Person

      public Person(String name)
      Normal constructor.
      Parameters:
      name - The name of the person.
    • Person

      public Person()
      Bean constructor.
  • Method Details

    • getName

      public String getName()
      Bean property getter: name.

      The name of the person.

      Returns:
      The property value, or null if it is not set.
    • setName

      public Person setName(String value)
      Bean property setter: name.

      The name of the person.

      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • getUri

      public URI getUri()
      Bean property getter: uri.

      The URI of the person.

      Returns:
      The property value, or null if it is not set.
    • setUri

      public Person setUri(Object value)
      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 be null to unset the property.
      Returns:
      This object
    • getEmail

      public String getEmail()
      Bean property getter: email.

      The email address of the person.

      Returns:
      The property value, or null if it is not set.
    • setEmail

      public Person setEmail(String value)
      Bean property setter: email.

      The email address of the person.

      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setBase

      public Person setBase(Object value)
      Description copied from class: Common
      Bean property setter: term.

      The URI base of this object.

      The value can be of any of the following types: URI, URL, String. Strings must be valid URIs.

      Overrides:
      setBase in class Common
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setLang

      public Person setLang(String value)
      Description copied from class: Common
      Bean property setter: lang.

      The language of this object.

      Overrides:
      setLang in class Common
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object