* b. web module and schema version earlier than 2.5;
* c. appclient module and schema version earlier than 5.0.
* d. connector module and schema version earlier than 1.6
*/
public boolean isDDWithNoAnnotationAllowed() {
ArchiveType mType = getModuleType();
if (mType == null) return false;
double specVersion = Double.parseDouble(getSpecVersion());
// we do not process annotations for earlier versions of DD
if ( (mType.equals(DOLUtils.ejbType()) &&
specVersion < ANNOTATION_EJB_VER) ||
(mType.equals(DOLUtils.warType()) &&
specVersion < ANNOTATION_WAR_VER) ||
(mType.equals(DOLUtils.carType()) &&
specVersion < ANNOTATION_CAR_VER) ||
(mType.equals(DOLUtils.rarType()) &&
specVersion < ANNOTATION_RAR_VER)) {
return true;
} else {
return false;
}