Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.library.model.licence
Class LicenceInfo

java.lang.Object
  extended by org.eclipse.mtj.core.library.model.licence.LicenceInfo

public final class LicenceInfo
extends Object

This Class represents the licensing information available in a library.

Since:
0.9.1

Constructor Summary
LicenceInfo(String name, URI uri)
          Create a new LicenceInfo
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Return the license name.
 URI getUri()
          Return the URI were additional license information can be found.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenceInfo

public LicenceInfo(String name,
                   URI uri)
Create a new LicenceInfo

Parameters:
name - the license name
uri - an URI to a remote location were additional license information can be found
Method Detail

getName

public String getName()
Return the license name.

Returns:
the license name.

getUri

public URI getUri()
Return the URI were additional license information can be found.

Returns:
the additional license information URI.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Mobile Tools for Java
Release 1.0