com.waveset.object
Class License

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.License
All Implemented Interfaces:
javax.naming.Referenceable, XmlObject

Deprecated. License no longer used.

public class License
extends AbstractXmlObject


Field Summary
protected  boolean _auditor
          Deprecated.  
protected  boolean _idm
          Deprecated.  
protected  boolean _idmx
          Deprecated.  
protected static License _singleton
          Deprecated.  
static java.lang.String ATT_NAME
          Deprecated.  
static java.lang.String code_id
          Deprecated.  
static java.lang.String COMPANY
          Deprecated.  
static java.lang.String ELEMENT
          Deprecated. Our Element name
static java.lang.String EXPIRATION
          Deprecated.  
static java.lang.String PRODCUTS
          Deprecated.  
static java.lang.String PRODUCT
          Deprecated.  
static java.lang.String PUBLIC_KEY
          Deprecated.  
static java.lang.String RESOURCE
          Deprecated.  
static java.lang.String RESOURCES
          Deprecated.  
static java.lang.String SIGNATURE
          Deprecated.  
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace
 
Constructor Summary
License()
          Deprecated. Build an empty object, ready for filling.
License(org.w3c.dom.Element e)
          Deprecated. Build a License object by parsing its DOM representation.
License(java.lang.String xml)
          Deprecated. Create a License object by parsing its XML representation.
 
Method Summary
 int daysLeft()
          Deprecated.  
 java.lang.String format()
          Deprecated.  
 java.lang.String getCompany()
          Deprecated.  
static License getDefaultLicense()
          Deprecated.  
 java.util.List getDisplayProducts()
          Deprecated.  
 java.lang.String getElementName()
          Deprecated. Return our XML element name, required by XmlObject.
 java.lang.String getExpiration()
          Deprecated.  
static License getLicense()
          Deprecated.  
 java.util.List getLicensedVersions()
          Deprecated. Return a list of Release.Version types for all licensed products.
 java.util.List getProducts()
          Deprecated.  
 java.util.List getResources()
          Deprecated.  
 java.lang.String getSignature()
          Deprecated.  
 Type getType()
          Deprecated. Returns the associated Type object.
 boolean hasExpiration()
          Deprecated.  
 boolean isAuditor()
          Deprecated.  
 boolean isExpired()
          Deprecated.  
 boolean isIdm()
          Deprecated.  
 boolean isIdmX()
          Deprecated.  
 boolean isValid()
          Deprecated.  
 boolean isValid(java.lang.String productname)
          Deprecated. Check for any product licensed.
 Configuration makeConfigObject()
          Deprecated.  
static org.w3c.dom.Element parseXml(java.lang.String xml)
          Deprecated.  
 void setCompany(java.lang.String companyName)
          Deprecated.  
 void setExpiration(java.lang.String expiration)
          Deprecated.  
 void setProducts(java.util.List products)
          Deprecated.  
 void setResources(java.util.List resources)
          Deprecated.  
 void setSignature(java.lang.String signature)
          Deprecated.  
 void toXml(java.lang.StringBuffer b, int indent)
          Deprecated. Serialize the object to an XML buffer.
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
Deprecated. 
See Also:
Constant Field Values

ELEMENT

public static final java.lang.String ELEMENT
Deprecated. 
Our Element name

See Also:
Constant Field Values

SIGNATURE

public static final java.lang.String SIGNATURE
Deprecated. 
See Also:
Constant Field Values

PRODCUTS

public static final java.lang.String PRODCUTS
Deprecated. 
See Also:
Constant Field Values

PRODUCT

public static final java.lang.String PRODUCT
Deprecated. 
See Also:
Constant Field Values

EXPIRATION

public static final java.lang.String EXPIRATION
Deprecated. 
See Also:
Constant Field Values

RESOURCES

public static final java.lang.String RESOURCES
Deprecated. 
See Also:
Constant Field Values

RESOURCE

public static final java.lang.String RESOURCE
Deprecated. 
See Also:
Constant Field Values

COMPANY

public static final java.lang.String COMPANY
Deprecated. 
See Also:
Constant Field Values

PUBLIC_KEY

public static final java.lang.String PUBLIC_KEY
Deprecated. 
See Also:
Constant Field Values

_singleton

protected static License _singleton
Deprecated. 

ATT_NAME

public static final java.lang.String ATT_NAME
Deprecated. 
See Also:
Constant Field Values

_idm

protected boolean _idm
Deprecated. 

_idmx

protected boolean _idmx
Deprecated. 

_auditor

protected boolean _auditor
Deprecated. 
Constructor Detail

License

public License()
Deprecated. 
Build an empty object, ready for filling.


License

public License(java.lang.String xml)
        throws WavesetException
Deprecated. 
Create a License object by parsing its XML representation.


License

public License(org.w3c.dom.Element e)
        throws WavesetException
Deprecated. 
Build a License object by parsing its DOM representation. Required by XmlObject.

Method Detail

getLicense

public static License getLicense()
                          throws WavesetException
Deprecated. 
Throws:
WavesetException

getType

public Type getType()
Deprecated. 
Returns the associated Type object.


getExpiration

public java.lang.String getExpiration()
Deprecated. 

getProducts

public java.util.List getProducts()
Deprecated. 
Returns:
Returns the list of licensed products.

getDisplayProducts

public java.util.List getDisplayProducts()
Deprecated. 
Returns:
Returns the list of display products.

getSignature

public java.lang.String getSignature()
Deprecated. 

getResources

public java.util.List getResources()
Deprecated. 

getCompany

public java.lang.String getCompany()
Deprecated. 

hasExpiration

public boolean hasExpiration()
Deprecated. 

daysLeft

public int daysLeft()
             throws WavesetException
Deprecated. 
Returns:
how many days are left for the license.
Throws:
WavesetException

setExpiration

public void setExpiration(java.lang.String expiration)
Deprecated. 

setProducts

public void setProducts(java.util.List products)
Deprecated. 

setSignature

public void setSignature(java.lang.String signature)
Deprecated. 

setResources

public void setResources(java.util.List resources)
Deprecated. 

setCompany

public void setCompany(java.lang.String companyName)
Deprecated. 

format

public java.lang.String format()
Deprecated. 

isValid

public boolean isValid()
                throws WavesetException
Deprecated. 
Throws:
WavesetException

isExpired

public boolean isExpired()
Deprecated. 

makeConfigObject

public Configuration makeConfigObject()
Deprecated. 

getElementName

public java.lang.String getElementName()
Deprecated. 
Return our XML element name, required by XmlObject.

Specified by:
getElementName in interface XmlObject
Specified by:
getElementName in class AbstractXmlObject

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)
Deprecated. 
Serialize the object to an XML buffer.

Specified by:
toXml in interface XmlObject
Specified by:
toXml in class AbstractXmlObject

parseXml

public static org.w3c.dom.Element parseXml(java.lang.String xml)
                                    throws WavesetException
Deprecated. 
Throws:
WavesetException

isIdm

public boolean isIdm()
Deprecated.  

Test if Idm is licensed for use.


isAuditor

public boolean isAuditor()
Deprecated.  

Test if Auditor is licensed for use.


isIdmX

public boolean isIdmX()
Deprecated.  

Test if Identity Service Provider is licensed for use.


isValid

public boolean isValid(java.lang.String productname)
Deprecated. 
Check for any product licensed.


getLicensedVersions

public java.util.List getLicensedVersions()
Deprecated. 
Return a list of Release.Version types for all licensed products.


getDefaultLicense

public static License getDefaultLicense()
Deprecated.