public TxIntrospectorCodeGenerator(CompilerArgs compArgs, DomainModel domainModel) { super(compArgs, domainModel); String param = compArgs.getParams().get(TXINTROSPECTOR_ON_CONFIG_KEY); enabled = (param != null) && param.trim().equalsIgnoreCase(TXINTROSPECTOR_ON_CONFIG_VALUE); }
public DAPCodeGenerator(CompilerArgs compArgs, DomainModel domainModel) { super(compArgs, domainModel); //System.out.println("\n\n__DAPCodeGenerator__\n\n"); String state = compArgs.getParams().get(FFDAPConfig.DAP_ON_CONFIG_KEY); DAP_ENABLED = (state != null) && state.trim().equalsIgnoreCase(FFDAPConfig.DAP_ON_CONFIG_VALUE); }
public JVSTMCodeGenerator(CompilerArgs compArgs, DomainModel domainModel) { super(compArgs, domainModel); String collectionName = compArgs.getParams().get(COLLECTION_CLASS_NAME_KEY); if (collectionName == null || collectionName.isEmpty()) { setCollectionToUse("pt.ist.fenixframework.adt.bplustree.BPlusTree"); } }
public InfinispanCodeGenerator(CompilerArgs compArgs, DomainModel domainModel) { super(compArgs, domainModel); String collectionName = compArgs.getParams().get(COLLECTION_CLASS_NAME_KEY); if (collectionName == null || collectionName.isEmpty()) { setCollectionToUse("pt.ist.fenixframework.adt.bplustree.BPlusTree"); } }
public OgmCodeGenerator(CompilerArgs compArgs, DomainModel domainModel) { super(compArgs, domainModel); String collectionName = compArgs.getParams().get(COLLECTION_CLASS_NAME_KEY); if (collectionName == null || collectionName.isEmpty()) { setCollectionToUse("pt.ist.fenixframework.adt.bplustree.BPlusTree"); } }
public CodeGenerator(CompilerArgs compArgs, DomainModel domainModel) { this.compArgs = compArgs; this.domainModel = domainModel; this.destDirectory = getPackageDirectory(compArgs.destDirectory, compArgs.packageName); this.destDirectoryBase = getPackageDirectory((compArgs.destDirectoryBase == null) ? compArgs.destDirectory : compArgs.destDirectoryBase, compArgs.packageName); String collectionName = compArgs.getParams().get(COLLECTION_CLASS_NAME_KEY); if (collectionName == null || collectionName.isEmpty()) { this.collectionToUse = DEFAULT_DOMAIN_BASED_MAP; } else { this.collectionToUse = compArgs.getParams().get(COLLECTION_CLASS_NAME_KEY); } }