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

Field Summary
static String BOOLEAN_TAG
           
static String DATE_TAG
           
static String ENUM_TAG
           
 
Constructor Summary
DSLSentence()
           
 
Method Summary
 DSLSentence copy()
          This is used by the GUI when adding a sentence to LHS or RHS.
 String getDefinition()
           
 Map<String,String> getEnumFieldValueMap()
           
 List<String> getValues()
           
 String interpolate()
          This will strip off any "{" stuff, substituting values accordingly
 void setDefinition(String definition)
           
 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
 

Field Detail

ENUM_TAG

public static final String ENUM_TAG
See Also:
Constant Field Values

DATE_TAG

public static final String DATE_TAG
See Also:
Constant Field Values

BOOLEAN_TAG

public static final String BOOLEAN_TAG
See Also:
Constant Field Values
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()

getEnumFieldValueMap

public Map<String,String> getEnumFieldValueMap()


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