Package org.apache.maven.model
Class Organization
java.lang.Object
org.apache.maven.model.Organization
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
Specifies the organization that produces this project.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate InputLocationField location.private Map<Object, InputLocation> Field locations.private StringThe full name of the organization.private InputLocationField nameLocation.private StringThe URL to the organization's home page.private InputLocationField urlLocation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Method clone.getLocation(Object key) Gets the location of the specified field in the input source.getName()Get the full name of the organization.private InputLocationgetOtherLocation(Object key) getUrl()Get the URL to the organization's home page.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidSet the full name of the organization.voidsetOtherLocation(Object key, InputLocation location) voidSet the URL to the organization's home page.toString()
-
Field Details
-
name
The full name of the organization. -
url
The URL to the organization's home page. -
locations
Field locations. -
location
Field location. -
nameLocation
Field nameLocation. -
urlLocation
Field urlLocation.
-
-
Constructor Details
-
Organization
public Organization()
-
-
Method Details
-
clone
Method clone. -
getLocation
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
Get the full name of the organization.- Returns:
- String
-
setLocation
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
- Parameters:
key- a key object.location- a location object.
-
getOtherLocation
- Parameters:
key- a key object.- Returns:
- InputLocation
-
getUrl
Get the URL to the organization's home page.- Returns:
- String
-
setName
Set the full name of the organization.- Parameters:
name- a name object.
-
setUrl
Set the URL to the organization's home page.- Parameters:
url- a url object.
-
toString
-