This method of the LicenseDescriptor Interface retrieves the type of license from the descriptor object.
public int getType();
Returns the type of license. This can be one of the following:
CLASS ARCHIVE PACKAGE
setType