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
-
-
Constructor Summary
Constructors Constructor Description Organization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Organizationclone()Method clone.InputLocationgetLocation(java.lang.Object key)Gets the location of the specified field in the input source.java.lang.StringgetName()Get the full name of the organization.java.lang.StringgetUrl()Get the URL to the organization's home page.voidsetLocation(java.lang.Object key, InputLocation location)Sets the location of the specified field.voidsetName(java.lang.String name)Set the full name of the organization.voidsetOtherLocation(java.lang.Object key, InputLocation location)voidsetUrl(java.lang.String url)Set the URL to the organization's home page.java.lang.StringtoString()
-
-
-
Method Detail
-
clone
public Organization clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- Organization
-
getLocation
public InputLocation getLocation(java.lang.Object key)
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Parameters:
key- a key object.- 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:InputLocationTrackerSets the location of the specified field.- Specified by:
setLocationin interfaceInputLocationTracker- Parameters:
key- a key object.location- a location object.
-
setOtherLocation
public void setOtherLocation(java.lang.Object key, InputLocation location)- Parameters:
key- a key object.location- a location object.
-
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- a name object.
-
setUrl
public void setUrl(java.lang.String url)
Set the URL to the organization's home page.- Parameters:
url- a url object.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
-