public class Organization extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
| Modifier and Type | Field and Description |
|---|---|
private InputLocation |
location
Field location.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
private java.lang.String |
name
The full name of the organization.
|
private InputLocation |
nameLocation
Field nameLocation.
|
private java.lang.String |
url
The URL to the organization's home page.
|
private InputLocation |
urlLocation
Field urlLocation.
|
| 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.
|
private InputLocation |
getOtherLocation(java.lang.Object key) |
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 |
setOtherLocation(java.lang.Object key,
InputLocation location) |
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
private InputLocation location
private InputLocation nameLocation
private InputLocation urlLocation
public Organization clone()
clone in class java.lang.Objectpublic InputLocation getLocation(java.lang.Object key)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public java.lang.String getName()
public void setLocation(java.lang.Object key,
InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackerkey - location - public void setOtherLocation(java.lang.Object key,
InputLocation location)
key - location - private InputLocation getOtherLocation(java.lang.Object key)
key - public java.lang.String getUrl()
public void setName(java.lang.String name)
name - public void setUrl(java.lang.String url)
url -