public class Organization extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
private java.lang.String |
name
The full name of the organization.
|
private java.lang.String |
url
The URL to the organization's home page.
|
Constructor and Description |
---|
Organization() |
Modifier and Type | Method and Description |
---|---|
Organization |
clone()
Method clone.
|
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
java.lang.String |
getName()
Get the full name of the organization.
|
java.lang.String |
getUrl()
Get the URL to the organization's home page.
|
void |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setName(java.lang.String name)
Set the full name of the organization.
|
void |
setUrl(java.lang.String url)
Set the URL to the organization's home page.
|
private java.lang.String name
private java.lang.String url
private java.util.Map<java.lang.Object,InputLocation> locations
public Organization clone()
clone
in class java.lang.Object
public InputLocation getLocation(java.lang.Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public java.lang.String getName()
public java.lang.String getUrl()
public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setName(java.lang.String name)
name
- public void setUrl(java.lang.String url)
url
-