* 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() {
XModuleType mType = getModuleType();
double specVersion = Double.parseDouble(getSpecVersion());
// we do not process annotations for earlier versions of DD
if ( (mType.equals(XModuleType.EJB) &&
specVersion < ANNOTATION_EJB_VER) ||
(mType.equals(XModuleType.WAR) &&
specVersion < ANNOTATION_WAR_VER) ||
(mType.equals(XModuleType.CAR) &&
specVersion < ANNOTATION_CAR_VER) ||
(mType.equals(XModuleType.RAR) &&
specVersion < ANNOTATION_RAR_VER)) {
return true;
} else {
return false;
}