g-Eclipse
Release 1.0.0

eu.geclipse.workflow.impl
Class WorkflowElementImpl

java.lang.Object
  extended by EObjectImpl
      extended by eu.geclipse.workflow.impl.WorkflowElementImpl
All Implemented Interfaces:
IWorkflowElement
Direct Known Subclasses:
LinkImpl, PortImpl, WorkflowImpl, WorkflowNodeImpl

public abstract class WorkflowElementImpl
extends EObjectImpl
implements IWorkflowElement

An implementation of the model object 'IWorkflow Element'.

The following features are implemented:


Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String generateId()
          This method generates a random id based on the current time.
 java.lang.String getId()
          This method generates and caches an id as and when required.
 java.lang.String getName()
           
 void setId(java.lang.String newId)
          This method sets an id.
 void setName(java.lang.String newName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()

Specified by:
getName in interface IWorkflowElement
Returns:
the value of the 'Name' attribute.
See Also:
IWorkflowElement.setName(String), eu.geclipse.workflow.WorkflowPackage#getIWorkflowElement_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface IWorkflowElement
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
IWorkflowElement.getName()

getId

public java.lang.String getId()
This method generates and caches an id as and when required.

Specified by:
getId in interface IWorkflowElement
Returns:
the value of the 'Id' attribute.
See Also:
IWorkflowElement.setId(String), eu.geclipse.workflow.WorkflowPackage#getIWorkflowElement_Id()

generateId

public java.lang.String generateId()
This method generates a random id based on the current time.

Returns:
the generated id

setId

public void setId(java.lang.String newId)
This method sets an id.

Specified by:
setId in interface IWorkflowElement
Parameters:
newId - the new value of the 'Id' attribute.
See Also:
IWorkflowElement.getId()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)


eSet

public void eSet(int featureID,
                 java.lang.Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public java.lang.String toString()


g-Eclipse
Release 1.0.0