iserializer.cs
来自「工作流的基本资料(文档资料」· CS 代码 · 共 30 行
CS
30 行
using System;
namespace NetBpm.Workflow.Delegation
{
/// <summary> performs (de)serialisation of {@link NetBpm.Workflow.Execution.IAttributeInstance}-values (which are ordinary java-objects), for storage in the database.
/// It is even possible to use a process specific java-type as {@link NetBpm.Workflow.Execution.IAttributeInstance}-value.
/// </summary>
//@portme and port docu samples.xml
public interface ISerializer : IConfigurable //, System.Runtime.Serialization.ISerializable
{
/// <summary> serializes the value of an {@link NetBpm.Workflow.Execution.IAttributeInstance}
/// to store it in the database.
/// </summary>
/// <param name="valueObject">is the java-object that represents the value for the {@link NetBpm.Workflow.Execution.IAttributeInstance}
/// @throws IllegalArgumentException if object is not serializable by this serializer
/// </param>
String Serialize(Object valueObject);
/// <summary> serializes the value of an {@link NetBpm.Workflow.Execution.IAttributeInstance}
/// to store it in the database.
/// </summary>
/// <param name="text">text, previously generated by the serialize-method and stored in the database.
/// </param>
/// <returns> the java-object that represents the value for the {@link NetBpm.Workflow.Execution.IAttributeInstance}
/// </returns>
/// <returns> IllegalArgumentException if object is not deserializable by this serializer
/// </returns>
Object Deserialize(String text);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?