Codota Logo
ExpressionFormLine.isBound
Code IndexAdd Codota to your IDE (free)

How to use
isBound
method
in
org.drools.guvnor.models.commons.shared.rule.ExpressionFormLine

Best Java code snippets using org.drools.guvnor.models.commons.shared.rule.ExpressionFormLine.isBound (Showing top 4 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/drools-guvnor-models-commons

/**
 * Returns true of there is a field binding.
 */
public boolean isBound() {
  return expLeftSide != null && expLeftSide.isBound();
}
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

private String getBoundText() {
  if ( expression.isBound() ) {
    return "[" + expression.getBinding() + "] ";
  }
  return "";
}
origin: org.drools/drools-guvnor-models-commons

protected List<String> getFieldBinding( FieldConstraint f ) {
  List<String> result = new ArrayList<String>();
  if ( f instanceof SingleFieldConstraint ) {
    SingleFieldConstraint con = (SingleFieldConstraint) f;
    if ( con.isBound() ) {
      result.add( con.getFieldBinding() );
    }
    if ( con.getExpressionValue() != null && con.getExpressionValue().isBound() ) {
      result.add( con.getExpressionValue().getBinding() );
    }
    if ( con instanceof SingleFieldConstraintEBLeftSide ) {
      SingleFieldConstraintEBLeftSide exp = (SingleFieldConstraintEBLeftSide) con;
      if ( exp.getExpressionLeftSide() != null && exp.getExpressionLeftSide().isBound() ) {
        result.add( exp.getExpressionLeftSide().getBinding() );
      }
    }
  } else if ( f instanceof CompositeFieldConstraint ) {
    CompositeFieldConstraint cfc = (CompositeFieldConstraint) f;
    if ( cfc.getConstraints() != null ) {
      for ( FieldConstraint ss : cfc.getConstraints() ) {
        List<String> t = getFieldBinding( ss );
        result.addAll( t );
      }
    }
  }
  return result;
}
origin: org.drools/drools-guvnor-models-commons

if ( fc instanceof SingleFieldConstraintEBLeftSide ) {
  SingleFieldConstraintEBLeftSide exp = (SingleFieldConstraintEBLeftSide) fc;
  if ( exp.getExpressionLeftSide() != null && exp.getExpressionLeftSide().isBound() ) {
    result.add( exp.getExpressionLeftSide().getBinding() );
    result.add( con.getFieldBinding() );
  if ( con.getExpressionValue() != null && con.getExpressionValue().isBound() ) {
    result.add( con.getExpressionValue().getBinding() );
org.drools.guvnor.models.commons.shared.ruleExpressionFormLineisBound

Popular methods of ExpressionFormLine

  • <init>
  • appendPart
  • getBinding
  • setBinding
  • getClassType
  • getFieldName
  • getGenericType
  • getParts
  • getPreviousGenericType
  • getRootExpression
  • getText
  • getParametricType
  • getText,
  • getParametricType,
  • getPreviousClassType,
  • getPreviousPart,
  • isEmpty,
  • removeLast

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • getContentResolver (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
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