org.ow2.bonita.facade.def.majorElement.impl
Class DataFieldDefinitionImpl

java.lang.Object
  extended by org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl
      extended by org.ow2.bonita.facade.def.majorElement.impl.ProcessElementImpl
          extended by org.ow2.bonita.facade.def.majorElement.impl.DataFieldDefinitionImpl
All Implemented Interfaces:
java.io.Serializable, DataFieldDefinition, NamedElement, ProcessElement

public class DataFieldDefinitionImpl
extends ProcessElementImpl
implements DataFieldDefinition

See Also:
Serialized Form

Field Summary
protected  boolean activityDataField
           
protected  java.lang.String dataFieldId
           
protected  DataTypeDefinition dataType
           
protected  java.lang.String description
           
protected  java.lang.String initialValue
           
protected  DataFieldDefinitionUUID uuid
           
 
Fields inherited from class org.ow2.bonita.facade.def.majorElement.impl.ProcessElementImpl
processDefinitionUUID
 
Fields inherited from class org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl
name
 
Constructor Summary
protected DataFieldDefinitionImpl()
           
  DataFieldDefinitionImpl(DataFieldDefinition src)
           
  DataFieldDefinitionImpl(DataFieldDefinitionUUID uuid, java.lang.String dataFieldId, ProcessDefinitionUUID processUUID, DataTypeDefinition dataType, java.lang.String description, java.lang.String initialValue, java.lang.String length, java.lang.String name, boolean array, boolean activityDataField)
           
 
Method Summary
 java.lang.String getDataFieldId()
          Returns the value of the id attribute of the DataField element defined into the XPDL file.
 DataTypeDefinition getDataType()
          Returns the org.ow2.bonita.facade.def.dataType interface.
 java.lang.String getDescription()
          Returns the description of the dataField.
 java.lang.String getInitialValue()
          Returns the initial value of the dataField.
 DataFieldDefinitionUUID getUUID()
          Returns the UUID for the DataFieldDefinition.
 boolean isActivityDataField()
          Indicates if it is an activity dataField.
 void setDescription(java.lang.String description)
          Adds a description
 void setInitialValue(java.lang.String initialValue)
          Initializes the dataField value
 void setUUID(DataFieldDefinitionUUID uuid)
          Sets the dataFieldDefinitionUUID.
 
Methods inherited from class org.ow2.bonita.facade.def.majorElement.impl.ProcessElementImpl
getProcessDefinitionUUID, setProcessDefinitionUUID
 
Methods inherited from class org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.bonita.facade.def.majorElement.ProcessElement
getProcessDefinitionUUID, setProcessDefinitionUUID
 
Methods inherited from interface org.ow2.bonita.facade.def.majorElement.NamedElement
getName
 

Field Detail

uuid

protected DataFieldDefinitionUUID uuid

dataFieldId

protected java.lang.String dataFieldId

dataType

protected DataTypeDefinition dataType

description

protected java.lang.String description

initialValue

protected java.lang.String initialValue

activityDataField

protected boolean activityDataField
Constructor Detail

DataFieldDefinitionImpl

protected DataFieldDefinitionImpl()

DataFieldDefinitionImpl

public DataFieldDefinitionImpl(DataFieldDefinitionUUID uuid,
                               java.lang.String dataFieldId,
                               ProcessDefinitionUUID processUUID,
                               DataTypeDefinition dataType,
                               java.lang.String description,
                               java.lang.String initialValue,
                               java.lang.String length,
                               java.lang.String name,
                               boolean array,
                               boolean activityDataField)

DataFieldDefinitionImpl

public DataFieldDefinitionImpl(DataFieldDefinition src)
Method Detail

getDataType

public DataTypeDefinition getDataType()
Description copied from interface: DataFieldDefinition
Returns the org.ow2.bonita.facade.def.dataType interface.

Specified by:
getDataType in interface DataFieldDefinition

getDescription

public java.lang.String getDescription()
Description copied from interface: DataFieldDefinition
Returns the description of the dataField.

Specified by:
getDescription in interface DataFieldDefinition

getInitialValue

public java.lang.String getInitialValue()
Description copied from interface: DataFieldDefinition
Returns the initial value of the dataField.

Specified by:
getInitialValue in interface DataFieldDefinition

isActivityDataField

public boolean isActivityDataField()
Description copied from interface: DataFieldDefinition
Indicates if it is an activity dataField.

Specified by:
isActivityDataField in interface DataFieldDefinition

getDataFieldId

public java.lang.String getDataFieldId()
Description copied from interface: DataFieldDefinition
Returns the value of the id attribute of the DataField element defined into the XPDL file.

Specified by:
getDataFieldId in interface DataFieldDefinition

getUUID

public DataFieldDefinitionUUID getUUID()
Description copied from interface: DataFieldDefinition
Returns the UUID for the DataFieldDefinition.

Specified by:
getUUID in interface DataFieldDefinition

setDescription

public void setDescription(java.lang.String description)
Description copied from interface: DataFieldDefinition
Adds a description

Specified by:
setDescription in interface DataFieldDefinition
Parameters:
description - the dataField description

setInitialValue

public void setInitialValue(java.lang.String initialValue)
Description copied from interface: DataFieldDefinition
Initializes the dataField value

Specified by:
setInitialValue in interface DataFieldDefinition
Parameters:
initialValue - the initial value

setUUID

public void setUUID(DataFieldDefinitionUUID uuid)
Description copied from interface: DataFieldDefinition
Sets the dataFieldDefinitionUUID.

Specified by:
setUUID in interface DataFieldDefinition


Copyright © 2009 OW2 Consortium. All Rights Reserved.