com.cinnabarsystems.clm
Class Licensee

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

public class Licensee
extends LicenseElement

Class describing a licensee for a given License. A Licensee's name is the name of the licensee. A Licensee contains zero or more Feature objects, each of which describes a feature licensed to the licensee.


Method Summary
 Feature getFeature(String name)
          Get the Feature object for the given feature name.
 Collection getFeatures()
          Get all the Features for this Licensee.
 
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

getFeature

public Feature getFeature(String name)
Get the Feature object for the given feature name.

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

getFeatures

public Collection getFeatures()
Get all the Features for this Licensee.

Returns:
a Collection of Feature objects