congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ExpressionFormLine.getClassType
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.drools.guvnor.models.commons.shared.rule.ExpressionFormLine.getClassType (Showing top 3 results out of 315)

origin: org.kie.guvnor/guvnor-guided-rule-editor-client

private String getCurrentClassType() {
  return expression.getClassType();
}
origin: org.drools/drools-guvnor-models-commons

@Override
public String getFieldType() {
  return getExpressionLeftSide().getClassType();
}
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.ruleExpressionFormLinegetClassType

Popular methods of ExpressionFormLine

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

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Table (org.hibernate.mapping)
    A relational table
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now