Codota Logo
org.drools.ide.common.client.modeldriven.brl
Code IndexAdd Codota to your IDE (free)

How to use org.drools.ide.common.client.modeldriven.brl

Best Java code snippets using org.drools.ide.common.client.modeldriven.brl (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: org.drools/droolsjbpm-ide-common

public void visit(ExpressionMethod part) {
  ExpressionMethod method = new ExpressionMethod(part.getName(), part.getClassType(), part.getGenericType(), part.getParametricType());
  copyMethodParams(part, method);
  add(method);
  moveNext(part);
}
origin: org.drools/droolsjbpm-ide-common

public void visit(ExpressionCollectionIndex part) {
  ExpressionCollectionIndex method = new ExpressionCollectionIndex(part.getName(), part.getClassType(), part.getGenericType(), part.getParametricType());
  copyMethodParams(part, method);
  add(method);
  moveNext(part);
}
origin: org.drools/droolsjbpm-ide-common

private void fixConnectiveConstraints(SingleFieldConstraint sfc) {
  if ( sfc.connectives == null ) {
    return;
  }
  for ( ConnectiveConstraint cc : sfc.connectives ) {
    if ( cc.getFieldName() == null ) {
      cc.setFieldName( sfc.getFieldName() );
      cc.setFieldType( sfc.getFieldType() );
    }
  }
}
origin: org.drools/droolsjbpm-ide-common

private ActionUpdateField visitActionFieldList(ActionUpdateField afl) {
  ActionUpdateField clone = new ActionUpdateField();
  clone.variable = afl.variable;
  for ( ActionFieldValue afv : afl.fieldValues ) {
    ActionFieldValue afvClone = new ActionFieldValue();
    afvClone.setField( afv.getField() );
    afvClone.setNature( afv.getNature() );
    afvClone.setType( afv.getType() );
    afvClone.setValue( afv.getValue() );
    clone.addFieldValue( afvClone );
  }
  return clone;
}
origin: org.drools/droolsjbpm-ide-common

private ActionSetField visitActionFieldList(ActionSetField afl) {
  ActionSetField clone = new ActionSetField();
  clone.variable = afl.variable;
  for ( ActionFieldValue afv : afl.fieldValues ) {
    ActionFieldValue afvClone = new ActionFieldValue();
    afvClone.setField( afv.getField() );
    afvClone.setNature( afv.getNature() );
    afvClone.setType( afv.getType() );
    afvClone.setValue( afv.getValue() );
    clone.addFieldValue( afvClone );
  }
  return clone;
}
origin: org.drools/droolsjbpm-ide-common

private void fixConstraints(FactPattern fp,
              SingleFieldConstraint sfc) {
  sfc.setFactType( fp.getFactType() );
  sfc.setFieldName( fixFieldName( sfc.getFieldName() ) );
  if ( sfc.connectives == null ) {
    return;
  }
  for ( ConnectiveConstraint cc : sfc.connectives ) {
    cc.setFactType( fp.getFactType() );
    cc.setFieldName( fixFieldName( cc.getFieldName() ) );
  }
}
origin: org.chtijbug.drools/droolsjbpm-ide-common

public void visit(ExpressionGlobalVariable part) {
  add(new ExpressionGlobalVariable(part.getName(), part.getClassType(), part.getGenericType(), part.getParametricType()));
  moveNext(part);
}
origin: org.chtijbug.drools/droolsjbpm-ide-common

public void visit(ExpressionCollection part) {
  add(new ExpressionCollection(part.getName(), part.getClassType(), part.getGenericType(), part.getParametricType()));
  moveNext(part);
}
origin: org.drools/droolsjbpm-ide-common

public String getText(boolean renderBindVariable) {
  return new ToStringVisitor().buildString( renderBindVariable ? getBinding() : null,
                       getRootExpression() );
}
origin: org.chtijbug.drools/droolsjbpm-ide-common

@Override
public String getFieldName() {
  return getExpressionLeftSide().getFieldName();
}
origin: org.drools/droolsjbpm-ide-common

@Override
public String getFieldBinding() {
  return getExpressionLeftSide().getBinding();
}
origin: org.drools/droolsjbpm-ide-common

@Override
public void setFieldBinding(String fieldBinding) {
  getExpressionLeftSide().setBinding( fieldBinding );
}
origin: org.drools/droolsjbpm-ide-common

public String getPreviousName() {
  ExpressionPart previousPart = getPreviousPart();
  return previousPart == null ? null : previousPart.getName();
}
origin: org.chtijbug.drools/droolsjbpm-ide-common

private ActionUpdateField visitActionFieldList(ActionUpdateField afl) {
  ActionUpdateField clone = new ActionUpdateField();
  clone.variable = afl.variable;
  for ( ActionFieldValue afv : afl.fieldValues ) {
    ActionFieldValue afvClone = new ActionFieldValue();
    afvClone.setField( afv.getField() );
    afvClone.setNature( afv.getNature() );
    afvClone.setType( afv.getType() );
    afvClone.setValue( afv.getValue() );
    clone.addFieldValue( afvClone );
  }
  return clone;
}
origin: org.chtijbug.drools/droolsjbpm-ide-common

public void visit(ExpressionMethod part) {
  ExpressionMethod method = new ExpressionMethod(part.getName(), part.getClassType(), part.getGenericType(), part.getParametricType());
  copyMethodParams(part, method);
  add(method);
  moveNext(part);
}
origin: org.chtijbug.drools/droolsjbpm-ide-common

public void visit(ExpressionCollectionIndex part) {
  ExpressionCollectionIndex method = new ExpressionCollectionIndex(part.getName(), part.getClassType(), part.getGenericType(), part.getParametricType());
  copyMethodParams(part, method);
  add(method);
  moveNext(part);
}
origin: org.chtijbug.drools/droolsjbpm-ide-common

private void fixConnectiveConstraints(SingleFieldConstraint sfc) {
  if ( sfc.connectives == null ) {
    return;
  }
  for ( ConnectiveConstraint cc : sfc.connectives ) {
    if ( cc.getFieldName() == null ) {
      cc.setFieldName( sfc.getFieldName() );
      cc.setFieldType( sfc.getFieldType() );
    }
  }
}
origin: org.drools/droolsjbpm-ide-common

public void visit(ExpressionGlobalVariable part) {
  add(new ExpressionGlobalVariable(part.getName(), part.getClassType(), part.getGenericType(), part.getParametricType()));
  moveNext(part);
}
origin: org.chtijbug.drools/droolsjbpm-ide-common

public String getText(boolean renderBindVariable) {
  return new ToStringVisitor().buildString( renderBindVariable ? getBinding() : null,
                       getRootExpression() );
}
origin: org.chtijbug.drools/droolsjbpm-ide-common

public String getPreviousName() {
  ExpressionPart previousPart = getPreviousPart();
  return previousPart == null ? null : previousPart.getName();
}
org.drools.ide.common.client.modeldriven.brl

Most used classes

  • ActionExecuteWorkItem
    An Action to invoke a Work Item
  • ActionFieldValue
    Holds field and value for "action" parts of the rule.
  • ActionInsertFact
    This is used when asserting a new fact.
  • ActionInsertLogicalFact
    Logical assertions are used as part of "truth maintenance".
  • ActionRetractFact
    This is used to specify that the bound fact should be retracted when the rule fires.
  • ActionUpdateField,
  • ActionWorkItemFieldValue,
  • CEPWindow,
  • CompositeFactPattern,
  • CompositeFieldConstraint,
  • ConnectiveConstraint,
  • DSLComplexVariableValue,
  • DSLSentence,
  • DSLVariableValue,
  • ExpressionCollectionIndex,
  • ExpressionField,
  • ExpressionFormLine,
  • ExpressionMethod,
  • ExpressionPart
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now