congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ExpressionFormLine.getPreviousGenericType
Code IndexAdd Tabnine to your IDE (free)

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

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

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

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

/**
 * This adds a new connective.
 */
@Override
public void addNewConnective() {
  String factType = getExpressionLeftSide().getPreviousGenericType();
  if ( factType == null ) {
    factType = getExpressionLeftSide().getGenericType();
  }
  String fieldName = getExpressionLeftSide().getFieldName();
  String fieldType = getExpressionLeftSide().getGenericType();
  if ( this.getConnectives() == null ) {
    this.setConnectives( new ConnectiveConstraint[]{ new ConnectiveConstraint( factType,
                                          fieldName,
                                          fieldType ) } );
  } else {
    final ConnectiveConstraint[] newList = new ConnectiveConstraint[ this.getConnectives().length + 1 ];
    for ( int i = 0; i < this.getConnectives().length; i++ ) {
      newList[ i ] = this.getConnectives()[ i ];
    }
    newList[ this.getConnectives().length ] = new ConnectiveConstraint( factType,
                                      fieldName,
                                      fieldType );
    this.setConnectives( newList );
  }
}
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

this.factType = sfexp.getExpressionLeftSide().getPreviousGenericType();
if ( this.factType == null ) {
  this.factType = sfexp.getExpressionLeftSide().getGenericType();
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

factType = sfexp.getExpressionLeftSide().getPreviousGenericType();
if ( factType == null ) {
  factType = sfexp.getExpressionLeftSide().getGenericType();
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

this.factType = sfexp.getExpressionLeftSide().getPreviousGenericType();
if ( this.factType == null ) {
  this.factType = sfexp.getExpressionLeftSide().getGenericType();
org.drools.guvnor.models.commons.shared.ruleExpressionFormLinegetPreviousGenericType

Popular methods of ExpressionFormLine

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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