public GuidedDecisionTableUtils(
     final PackageDataModelOracle oracle, final GuidedDecisionTable52 model) {
   PortablePreconditions.checkNotNull("oracle", oracle);
   PortablePreconditions.checkNotNull("model", model);
   this.oracle = oracle;
   this.model = model;
 }
예제 #2
0
 public FileExtensionsFilter(final String[] extensions) {
   this.extensions = PortablePreconditions.checkNotNull("extension", extensions);
   for (int i = 0; i < extensions.length; i++) {
     if (!extensions[i].startsWith(".")) {
       extensions[i] = "." + extensions[i];
     }
   }
 }
 public ActionInsertFactCol52ActionInsertFactAdaptor(final ActionInsertFactCol52 action) {
   PortablePreconditions.checkNotNull("action", action);
   this.action = action;
   this.setFactType(action.getFactType());
   final ActionFieldValue afv = new ActionFieldValue();
   afv.setField(action.getFactField());
   afv.setNature(BaseSingleFieldConstraint.TYPE_LITERAL);
   afv.setType(action.getType());
   super.addFieldValue(afv);
 }
예제 #4
0
 public FileItem(final Path path, final String caption) {
   super(path, caption);
   PortablePreconditions.checkNotNull("path", path);
 }