Kie Workbench - Common - UI 6.1.0.CR1

org.kie.workbench.common.widgets.client.util
Class ConstraintValueHelper

java.lang.Object
  extended by org.kie.workbench.common.widgets.client.util.ConstraintValueHelper

public class ConstraintValueHelper
extends Object


Constructor Summary
ConstraintValueHelper()
           
 
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

ConstraintValueHelper

public ConstraintValueHelper()
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 "\\"


Kie Workbench - Common - UI 6.1.0.CR1

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