org.activiti.engine.impl.form
类 EnumFormType

java.lang.Object
  继承者 org.activiti.engine.form.AbstractFormType
      继承者 org.activiti.engine.impl.form.EnumFormType
所有已实现的接口:
FormType

public class EnumFormType
extends AbstractFormType

作者:
Tom Baeyens

字段摘要
protected  Map<String,String> values
           
 
构造方法摘要
EnumFormType(Map<String,String> values)
           
 
方法摘要
 Object convertFormValueToModelValue(String propertyValue)
           
 String convertModelValueToFormValue(Object modelValue)
           
 Object getInformation(String key)
          Retrieve type specific extra information like the list of values for enum types or the format for date types.
 String getName()
          Name for the form type.
protected  void validateValue(String value)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

values

protected Map<String,String> values
构造方法详细信息

EnumFormType

public EnumFormType(Map<String,String> values)
方法详细信息

getName

public String getName()
从接口 FormType 复制的描述
Name for the form type.


getInformation

public Object getInformation(String key)
从接口 FormType 复制的描述
Retrieve type specific extra information like the list of values for enum types or the format for date types. Look in the userguide for which extra information keys each type provides and what return type they give.

指定者:
接口 FormType 中的 getInformation
覆盖:
AbstractFormType 中的 getInformation

convertFormValueToModelValue

public Object convertFormValueToModelValue(String propertyValue)
指定者:
AbstractFormType 中的 convertFormValueToModelValue

convertModelValueToFormValue

public String convertModelValueToFormValue(Object modelValue)
指定者:
AbstractFormType 中的 convertModelValueToFormValue

validateValue

protected void validateValue(String value)


Copyright © 2013 Alfresco. All rights reserved.