This method of the LicenseDescriptor Interface sets the type of license.
public void setType(int type) throws Exception;
CLASS ARCHIVE PACKAGE
Exception if the license type is not valid.
getType