Package org.apache.maven.model
Class Organization
- java.lang.Object
-
- org.apache.maven.model.Organization
-
- All Implemented Interfaces:
Serializable
,Cloneable
,InputLocationTracker
public class Organization extends Object implements Serializable, Cloneable, InputLocationTracker
Specifies the organization that produces this project.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
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(Object key)
Gets the location of the specified field in the input source.String
getName()
Get the full name of the organization.String
getUrl()
Get the URL to the organization's home page.void
setLocation(Object key, InputLocation location)
Sets the location of the specified field.void
setName(String name)
Set the full name of the organization.void
setOtherLocation(Object key, InputLocation location)
void
setUrl(String url)
Set the URL to the organization's home page.String
toString()
-
-
-
Method Detail
-
clone
public Organization clone()
Method clone.
-
getLocation
public InputLocation getLocation(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
- a key object.- Returns:
- InputLocation
-
getName
public String getName()
Get the full name of the organization.- Returns:
- String
-
setLocation
public void setLocation(Object key, InputLocation location)
Description copied from interface:InputLocationTracker
Sets the location of the specified field.- Specified by:
setLocation
in interfaceInputLocationTracker
- Parameters:
key
- a key object.location
- a location object.
-
setOtherLocation
public void setOtherLocation(Object key, InputLocation location)
- Parameters:
key
- a key object.location
- a location object.
-
getUrl
public String getUrl()
Get the URL to the organization's home page.- Returns:
- String
-
setName
public void setName(String name)
Set the full name of the organization.- Parameters:
name
- a name object.
-
setUrl
public void setUrl(String url)
Set the URL to the organization's home page.- Parameters:
url
- a url object.
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-