Codota Logo
Variable.isTemporary
Code IndexAdd Codota to your IDE (free)

How to use
isTemporary
method
in
jadex.rules.rulesystem.rules.Variable

Best Java code snippets using jadex.rules.rulesystem.rules.Variable.isTemporary (Showing top 2 results out of 315)

  • Common ways to obtain Variable
private void myMethod () {
Variable v =
  • Codota IconBuildContext buildContext;String name;buildContext.getVariable(name)
  • Smart code suggestions by Codota
}
origin: net.sourceforge.jadex/jadex-rules

/**
 *  Add a new terminal node.
 *  @param rule The rule.
 *  @param context The build context.
 */
protected void addTerminalNode(IRule rule, BuildContext context)
{
  // Create and connect the terminal node
  
  Map varinfos = context.getVarInfos();
  Map extractors = new HashMap();
  for(Iterator it=varinfos.keySet().iterator(); it.hasNext(); )
  {
    Variable var = (Variable)it.next();
    if(!var.isTemporary())
      extractors.put(var.getName(), getLeftVariableExtractor(context, var));
  }
  
  TerminalNode tnode = new TerminalNode(context.getRootNode().getNextNodeId(), rule, extractors);
  connectLeft(context.getLastBetaNode(), tnode, context);
  
  // Save the terminal node for later removal
  context.getRootNode().putTerminalNode(tnode);
}
 
origin: org.activecomponents.jadex/jadex-rules

/**
 *  Add a new terminal node.
 *  @param rule The rule.
 *  @param context The build context.
 */
protected void addTerminalNode(IRule rule, BuildContext context)
{
  // Create and connect the terminal node
  
  Map varinfos = context.getVarInfos();
  Map extractors = new HashMap();
  for(Iterator it=varinfos.keySet().iterator(); it.hasNext(); )
  {
    Variable var = (Variable)it.next();
    if(!var.isTemporary())
      extractors.put(var.getName(), getLeftVariableExtractor(context, var));
  }
  
  TerminalNode tnode = new TerminalNode(context.getRootNode().getNextNodeId(), rule, extractors);
  connectLeft(context.getLastBetaNode(), tnode, context);
  
  // Save the terminal node for later removal
  context.getRootNode().putTerminalNode(tnode);
}
 
jadex.rules.rulesystem.rulesVariableisTemporary

Javadoc

Test if variable is temporary.

Popular methods of Variable

  • <init>
    Create a new variable.
  • getName
    Get the name.
  • getType
    Get the type.
  • equals
    Test for equality.
  • hashCode
    Get the hash code.
  • isMulti
    Test if it is a multi variable. A multi variable can hold 0 - * values
  • setType
    Set the type.
  • toString
    Get the string representation.

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Socket (java.net)
    Provides a client-side TCP socket.
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
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