org.activiti.engine.impl.bpmn.data
类 SimpleStructureDefinition

java.lang.Object
  继承者 org.activiti.engine.impl.bpmn.data.SimpleStructureDefinition
所有已实现的接口:
FieldBaseStructureDefinition, StructureDefinition

public class SimpleStructureDefinition
extends Object
implements FieldBaseStructureDefinition

Represents a simple in memory structure

作者:
Esteban Robles Luna

字段摘要
protected  List<String> fieldNames
           
protected  List<Class<?>> fieldTypes
           
protected  String id
           
 
构造方法摘要
SimpleStructureDefinition(String id)
           
 
方法摘要
 StructureInstance createInstance()
           
 String getFieldNameAt(int index)
          Obtains the name of the field in the index position
 int getFieldSize()
          Obtains the number of fields that this structure has
 Class<?> getFieldTypeAt(int index)
          Obtains the type of the field in the index position
 String getId()
          Obtains the id of this structure
 void setFieldName(int index, String fieldName, Class<?> type)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

id

protected String id

fieldNames

protected List<String> fieldNames

fieldTypes

protected List<Class<?>> fieldTypes
构造方法详细信息

SimpleStructureDefinition

public SimpleStructureDefinition(String id)
方法详细信息

getFieldSize

public int getFieldSize()
从接口 FieldBaseStructureDefinition 复制的描述
Obtains the number of fields that this structure has

指定者:
接口 FieldBaseStructureDefinition 中的 getFieldSize
返回:
the number of fields that this structure has

getId

public String getId()
从接口 StructureDefinition 复制的描述
Obtains the id of this structure

指定者:
接口 StructureDefinition 中的 getId
返回:
the id of this structure

setFieldName

public void setFieldName(int index,
                         String fieldName,
                         Class<?> type)

getFieldNameAt

public String getFieldNameAt(int index)
从接口 FieldBaseStructureDefinition 复制的描述
Obtains the name of the field in the index position

指定者:
接口 FieldBaseStructureDefinition 中的 getFieldNameAt
参数:
index - the position of the field
返回:
the name of the field

getFieldTypeAt

public Class<?> getFieldTypeAt(int index)
从接口 FieldBaseStructureDefinition 复制的描述
Obtains the type of the field in the index position

指定者:
接口 FieldBaseStructureDefinition 中的 getFieldTypeAt
参数:
index - the position of the field
返回:
the type of the field

createInstance

public StructureInstance createInstance()
指定者:
接口 StructureDefinition 中的 createInstance
返回:
a new instance of this structure definition


Copyright © 2013 Alfresco. All rights reserved.