org.jbpm.formModeler.api.model
Class PojoDataHolder
java.lang.Object
org.jbpm.formModeler.api.model.PojoDataHolder
- All Implemented Interfaces:
- Comparable, DataHolder
public class PojoDataHolder
- extends Object
- implements DataHolder, Comparable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoDataHolder
public PojoDataHolder(String id,
String className,
String renderColor)
getId
public String getId()
- Specified by:
getId in interface DataHolder
load
public void load(Map<String,Object> values)
- Specified by:
load in interface DataHolder
writeValue
public void writeValue(String id,
Object value)
- Specified by:
writeValue in interface DataHolder
readValue
public Object readValue(String id)
- Specified by:
readValue in interface DataHolder
getFieldHolders
public Set<DataFieldHolder> getFieldHolders()
- Specified by:
getFieldHolders in interface DataHolder
getTypeCode
public String getTypeCode()
- Specified by:
getTypeCode in interface DataHolder
compareTo
public int compareTo(Object o)
- Specified by:
compareTo in interface Comparable
getInfo
public String getInfo()
- Specified by:
getInfo in interface DataHolder
getDataFieldHolderById
public DataFieldHolder getDataFieldHolderById(String fieldHolderId)
- Specified by:
getDataFieldHolderById in interface DataHolder
isValidReturnType
protected boolean isValidReturnType(String returnType)
throws Exception
- Throws:
Exception
getPropertyName
protected String getPropertyName(String methodName,
Class returnType,
Class[] parameterTypes)
getRenderColor
public String getRenderColor()
- Specified by:
getRenderColor in interface DataHolder
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.