org.apache.archiva.metadata.model
Class License

java.lang.Object
  extended by org.apache.archiva.metadata.model.License
All Implemented Interfaces:
Serializable

public class License
extends Object
implements Serializable

A description of a particular license used by a project.

See Also:
Serialized Form

Field Summary
private  String name
          The name of the license.
private  String url
          The URL of the license text.
 
Constructor Summary
License()
           
License(String name, String url)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 String getUrl()
           
 int hashCode()
           
 void setName(String name)
           
 void setUrl(String url)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private String name
The name of the license.


url

private String url
The URL of the license text.

Constructor Detail

License

public License(String name,
               String url)

License

public License()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.