public class Person extends JsonObject implements Cloneable
http://getcomposer.org/doc/04-schema.md#authorspropertiessortOrderchangeSupport| Constructor and Description |
|---|
Person()
Creates an empty person
|
Person(Object json) |
Person(String json) |
| Modifier and Type | Method and Description |
|---|---|
Person |
clone() |
boolean |
equals(Object obj) |
String |
getEmail()
Returns the perons's email
|
String |
getHomepage()
Returns the person's homepage
|
String |
getInitString()
Returns a string that is passed to composer's init command
|
String |
getName()
Returns the person's name
|
String |
getRole()
Returns the person's role
|
void |
setEmail(String email)
Sets the person's email
|
void |
setHomepage(String homepage)
Sets the person's homepage
|
void |
setName(String name)
Sets the person's name
|
void |
setRole(String role)
Sets the person's role
|
cloneProperties, getAsArray, getAsBoolean, getAsFloat, getAsInteger, getAsObject, getAsRaw, getAsString, initialize, is, isArray, isObject, setbuildJson, clear, doParse, get, getOwnProperties, has, parseField, remove, set, sizeappendSortOrder, fromJson, fromJson, fromJson, fromJson, getFieldByName, getFieldName, getFieldNames, getFields, getJsonValue, listen, toJsonaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerpublic Person()
public Person(Object json)
public Person(String json) throws ParseException
ParseExceptionpublic String getInitString()
public String getName()
public void setName(String name)
name - the name to setpublic String getEmail()
public void setEmail(String email)
email - the email to setpublic String getHomepage()
public void setHomepage(String homepage)
homepage - the homepage to setpublic String getRole()
public void setRole(String role)
role - the role to setCopyright © 2014. All rights reserved.