org.drools.ide.common.client.modeldriven.ui
Class ConstraintValueEditorHelper

java.lang.Object
  extended by org.drools.ide.common.client.modeldriven.ui.ConstraintValueEditorHelper

public class ConstraintValueEditorHelper
extends Object


Constructor Summary
ConstraintValueEditorHelper()
           
 
Method Summary
static String[] splitValue(String v)
          'Person.age' : ['M=Male', 'F=Female'] 'Person.expression' : ['a\\=5=expression1', 'a\\=5*2=expression2'] This will split the drop down item into a value and a key, e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintValueEditorHelper

public ConstraintValueEditorHelper()
Method Detail

splitValue

public static String[] splitValue(String v)
'Person.age' : ['M=Male', 'F=Female'] 'Person.expression' : ['a\\=5=expression1', 'a\\=5*2=expression2'] This will split the drop down item into a value and a key, e.g. key=value. Equals signs in the expression can be delimited with "\\"



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