org.drools.ide.common.client.modeldriven.brl
Class DSLSentence

java.lang.Object
  extended by org.drools.ide.common.client.modeldriven.brl.DSLSentence
All Implemented Interfaces:
Serializable, IAction, IPattern, PortableObject

public class DSLSentence
extends Object
implements IPattern, IAction

This represents a DSL sentence.

See Also:
Serialized Form

Constructor Summary
DSLSentence()
           
 
Method Summary
 DSLSentence copy()
          This is used by the GUI when adding a sentence to LHS or RHS.
 String getDefinition()
           
 List<String> getValues()
           
 String interpolate()
          This will strip off any "{" stuff, substituting values accordingly
 void setDefinition(String definition)
           
 void setValues(List<String> values)
           
 String toString()
          This will strip off any residual "{" stuff...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSLSentence

public DSLSentence()
Method Detail

toString

public String toString()
This will strip off any residual "{" stuff...

Overrides:
toString in class Object

interpolate

public String interpolate()
This will strip off any "{" stuff, substituting values accordingly


copy

public DSLSentence copy()
This is used by the GUI when adding a sentence to LHS or RHS.

Returns:

getDefinition

public String getDefinition()

setDefinition

public void setDefinition(String definition)

getValues

public List<String> getValues()

setValues

public void setValues(List<String> values)


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.