org.activiti.engine.impl.variable
类 SerializableType

java.lang.Object
  继承者 org.activiti.engine.impl.variable.ByteArrayType
      继承者 org.activiti.engine.impl.variable.SerializableType
所有已实现的接口:
VariableType

public class SerializableType
extends ByteArrayType

作者:
Tom Baeyens, Marcus Klimstra (CGI)

字段摘要
static String TYPE_NAME
           
 
构造方法摘要
SerializableType()
           
 
方法摘要
protected  ObjectInputStream createObjectInputStream(InputStream is)
           
 String getTypeName()
          name of variable type (limited to 100 characters length)
 Object getValue(ValueFields valueFields)
           
 boolean isAbleToStore(Object value)
           
static byte[] serialize(Object value, ValueFields valueFields)
           
 void setValue(Object value, ValueFields valueFields)
          Stores the specified value in the supplied ValueFields.
 
从类 org.activiti.engine.impl.variable.ByteArrayType 继承的方法
isCachable
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

TYPE_NAME

public static final String TYPE_NAME
另请参见:
常量字段值
构造方法详细信息

SerializableType

public SerializableType()
方法详细信息

getTypeName

public String getTypeName()
从接口 VariableType 复制的描述
name of variable type (limited to 100 characters length)

指定者:
接口 VariableType 中的 getTypeName
覆盖:
ByteArrayType 中的 getTypeName

getValue

public Object getValue(ValueFields valueFields)
指定者:
接口 VariableType 中的 getValue
覆盖:
ByteArrayType 中的 getValue
返回:
the value of a variable based on the specified ValueFields.

setValue

public void setValue(Object value,
                     ValueFields valueFields)
从接口 VariableType 复制的描述
Stores the specified value in the supplied ValueFields.

指定者:
接口 VariableType 中的 setValue
覆盖:
ByteArrayType 中的 setValue

serialize

public static byte[] serialize(Object value,
                               ValueFields valueFields)

isAbleToStore

public boolean isAbleToStore(Object value)
指定者:
接口 VariableType 中的 isAbleToStore
覆盖:
ByteArrayType 中的 isAbleToStore
返回:
whether this variable type can store the specified value.

createObjectInputStream

protected ObjectInputStream createObjectInputStream(InputStream is)
                                             throws IOException
抛出:
IOException


Copyright © 2013 Alfresco. All rights reserved.