FileDocCategorySizeDatePackage
LicenseDescriptor.javaAPI DocGlassfish v2 API3121Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

LicenseDescriptor

public class LicenseDescriptor extends Descriptor

Fields Summary
private Boolean
licenseRequired
Constructors Summary
Methods Summary
public java.lang.BooleangetLicenseRequired()
get value for licenseRequired

        return licenseRequired;
    
public java.lang.StringgetLicenseRequiredValue()
get value for licenseRequired

        if (licenseRequired.booleanValue() == true)
            return new String("true");
        else return new String("false");
    
public voidsetLicenseRequired(boolean licenseRequired)
set value for licenseRequired

        if(licenseRequired==true)
            this.licenseRequired =Boolean.TRUE;
        else if(licenseRequired==false)
            this.licenseRequired =Boolean.FALSE;
        else this.licenseRequired = Boolean.FALSE;
    
public voidsetLicenseRequired(java.lang.String licenseRequired)
set value for licenseRequired

        if(licenseRequired.equals("true"))
            this.licenseRequired =Boolean.TRUE;
        else if(licenseRequired.equals("false"))
            this.licenseRequired =Boolean.FALSE;
        else this.licenseRequired = Boolean.FALSE;