Constructor and Description |
---|
Person()
Bean constructor.
|
Person(String name)
Normal constructor.
|
Modifier and Type | Method and Description |
---|---|
Person |
base(Object base)
Sets the URI base of this object.
|
Person |
email(String email)
Sets the email address of the person.
|
String |
getEmail()
Returns the email address of the person.
|
String |
getName()
Returns the name of the person.
|
URI |
getUri()
Returns the URI of the person.
|
Person |
lang(String lang)
Sets the language of this object.
|
Person |
name(String name)
Sets the name of the person.
|
Person |
uri(Object uri)
Sets the URI of the person.
|
public Person()
@BeanProperty(value="name") public Person name(String name)
name
- The name of the person.@BeanProperty(value="uri") public Person uri(Object uri)
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.
uri
- The URI of the person.public String getEmail()
@BeanProperty(value="email") public Person email(String email)
email
- The email address of the person.public Person base(Object base)
Common
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.
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.