Package org.apache.maven.model
Class Organization
- java.lang.Object
-
- org.apache.maven.model.Organization
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,InputLocationTracker
public class Organization extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
Specifies the organization that produces this project.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description Organization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
name
private java.lang.String name
The full name of the organization.
-
url
private java.lang.String url
The URL to the organization's home page.
-
locations
private java.util.Map<java.lang.Object,InputLocation> locations
Field locations.
-
location
private InputLocation location
Field location.
-
nameLocation
private InputLocation nameLocation
Field nameLocation.
-
urlLocation
private InputLocation urlLocation
Field urlLocation.
-
-
Method Detail
-
clone
public Organization clone()
Method clone.- Overrides:
clone
in classjava.lang.Object
- Returns:
- Organization
-
getLocation
public InputLocation getLocation(java.lang.Object key)
Description copied from interface:InputLocationTracker
Gets the location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
- Parameters:
key
-- Returns:
- InputLocation
-
getName
public java.lang.String getName()
Get the full name of the organization.- Returns:
- String
-
setLocation
public void setLocation(java.lang.Object key, InputLocation location)
Description copied from interface:InputLocationTracker
Sets the location of the specified field.- Specified by:
setLocation
in interfaceInputLocationTracker
- Parameters:
key
-location
-
-
setOtherLocation
public void setOtherLocation(java.lang.Object key, InputLocation location)
- Parameters:
key
-location
-
-
getOtherLocation
private InputLocation getOtherLocation(java.lang.Object key)
- Parameters:
key
-- Returns:
- InputLocation
-
getUrl
public java.lang.String getUrl()
Get the URL to the organization's home page.- Returns:
- String
-
setName
public void setName(java.lang.String name)
Set the full name of the organization.- Parameters:
name
-
-
setUrl
public void setUrl(java.lang.String url)
Set the URL to the organization's home page.- Parameters:
url
-
-
-