com.cinnabarsystems.clm
Class License

java.lang.Object
  extended by com.cinnabarsystems.clm.LicenseElement
      extended by com.cinnabarsystems.clm.License

public class License
extends LicenseElement

Class describing license parameters for a given license file. A License's name is the name of the product the License pertains to. A License contains zero or more Licensee objects, each of which describes a licensee of the product.


Method Summary
 Licensee getLicensee(String name)
          Get the Licensee object for the given licensee name.
 Collection getLicensees()
          Get all the Licensees for this License.
 
Methods inherited from class com.cinnabarsystems.clm.LicenseElement
getAttribute, getAttributes, getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLicensee

public Licensee getLicensee(String name)
Get the Licensee object for the given licensee name.

Parameters:
name - the name of the licensee
Returns:
the Licensee object for the named licensee, or null if no such licensee is present in this License.

getLicensees

public Collection getLicensees()
Get all the Licensees for this License.

Returns:
a Collection of Licensee objects.