org.apache.maven.project
Class License

java.lang.Object
  extended byorg.apache.maven.project.BaseObject
      extended byorg.apache.maven.project.License

public class License
extends BaseObject

A License as specified in the project descriptor

Version:
$Id: License.java,v 1.4.4.1 2004/03/01 22:36:38 evenisse Exp $
Author:
Ben Walding

Field Summary
 
Fields inherited from class org.apache.maven.project.BaseObject
id
 
Constructor Summary
License()
           
 
Method Summary
 java.lang.String getComments()
           
 java.lang.String getDistribution()
           
 java.lang.String getName()
          Gets the name attribute
 java.lang.String getUrl()
           
 void setComments(java.lang.String comments)
          Sets the comments.
 void setDistribution(java.lang.String type)
          Sets the type.
 void setName(java.lang.String name)
          Sets the name.
 void setUrl(java.lang.String url)
          Sets the url.
 
Methods inherited from class org.apache.maven.project.BaseObject
addProperty, equals, getId, getProperties, getProperty, hashCode, isValid, resolvedProperties, setId, setProperties, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

License

public License()
Method Detail

getName

public java.lang.String getName()
Description copied from class: BaseObject
Gets the name attribute

Overrides:
getName in class BaseObject
Returns:
String

getDistribution

public java.lang.String getDistribution()
Returns:
String

getUrl

public java.lang.String getUrl()
Returns:
String

setName

public void setName(java.lang.String name)
Sets the name.

Overrides:
setName in class BaseObject
Parameters:
name - The name to set

setDistribution

public void setDistribution(java.lang.String type)
Sets the type.

Parameters:
type - The type to set

setUrl

public void setUrl(java.lang.String url)
Sets the url.

Parameters:
url - The url to set

getComments

public java.lang.String getComments()
Returns:
String

setComments

public void setComments(java.lang.String comments)
Sets the comments.

Parameters:
comments - The comments to set


Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.