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

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

public class ClassStructureDefinition
extends Object
implements FieldBaseStructureDefinition

Represents a structure encapsulated in a class

作者:
Esteban Robles Luna

字段摘要
protected  Class<?> classStructure
           
protected  String id
           
 
构造方法摘要
ClassStructureDefinition(Class<?> classStructure)
           
ClassStructureDefinition(String id, Class<?> classStructure)
           
 
方法摘要
 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
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

id

protected String id

classStructure

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

ClassStructureDefinition

public ClassStructureDefinition(Class<?> classStructure)

ClassStructureDefinition

public ClassStructureDefinition(String id,
                                Class<?> classStructure)
方法详细信息

getId

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

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

getFieldSize

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

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

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.