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

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

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

private void visitSingleFieldConstraint( SingleFieldConstraintEBLeftSide sfexp ) {
  String genericType = sfexp.getExpressionLeftSide().getGenericType();
  String factType = sfexp.getExpressionLeftSide().getPreviousClassType();
  if ( factType == null ) {
    factType = sfexp.getExpressionLeftSide().getClassType();
  }
  InterpolationVariable var = new InterpolationVariable( sfexp.getValue(),
                              genericType,
                              factType,
                              sfexp.getFieldName() );
  if ( BaseSingleFieldConstraint.TYPE_TEMPLATE == sfexp.getConstraintValueType() && !vars.containsKey( var ) ) {
    vars.put( var,
         vars.size() );
  }
  //Visit Connection constraints
  if ( sfexp.getConnectives() != null ) {
    for ( int i = 0; i < sfexp.getConnectives().length; i++ ) {
      final ConnectiveConstraint cc = sfexp.getConnectives()[ i ];
      InterpolationVariable ccVar = new InterpolationVariable( cc.getValue(),
                                   genericType,
                                   factType,
                                   cc.getFieldName() );
      if ( BaseSingleFieldConstraint.TYPE_TEMPLATE == cc.getConstraintValueType() && !vars.containsKey( ccVar ) ) {
        vars.put( ccVar,
             vars.size() );
      }
    }
  }
}
org.drools.guvnor.models.commons.shared.ruleExpressionFormLinegetPreviousClassType

Popular methods of ExpressionFormLine

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

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • onRequestPermissionsResult (Fragment)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • JTable (javax.swing)
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