com.silverpeas.workflow.engine.model
Class ColumnsImpl

java.lang.Object
  extended by com.silverpeas.workflow.engine.AbstractReferrableObject
      extended by com.silverpeas.workflow.engine.model.ColumnsImpl
All Implemented Interfaces:
Columns, ReferrableObjectIntf, Serializable

public class ColumnsImpl
extends AbstractReferrableObject
implements Serializable, Columns

Class implementing the representation of the <columns> element of a Process Model.

See Also:
Serialized Form

Constructor Summary
ColumnsImpl()
          Constructor
 
Method Summary
 void addColumn(Column column)
          Add an column to the collection
 Column createColumn()
          Create an Column
 Column getColumn(String strItemName)
          Get the column referencing the given item
 List<Column> getColumnList()
          Get the referenced Column objects as a list
 String getKey()
          Get the unique key, used by equals method
 String getRoleName()
          Get the role for which the list of items must be returned
 Iterator<Column> iterateColumn()
          Iterate through the Column objects
 void removeAllColumns()
          Remove all column objects from the collection
 void setRoleName(String roleName)
          Set the role for which the list of items must be returned
 
Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnsImpl

public ColumnsImpl()
Constructor

Method Detail

getColumnList

public List<Column> getColumnList()
Description copied from interface: Columns
Get the referenced Column objects as a list

Specified by:
getColumnList in interface Columns
Returns:

getRoleName

public String getRoleName()
Description copied from interface: Columns
Get the role for which the list of items must be returned

Specified by:
getRoleName in interface Columns
Returns:
role name

setRoleName

public void setRoleName(String roleName)
Description copied from interface: Columns
Set the role for which the list of items must be returned

Specified by:
setRoleName in interface Columns
Parameters:
roleName - role name

getColumn

public Column getColumn(String strItemName)
Description copied from interface: Columns
Get the column referencing the given item

Specified by:
getColumn in interface Columns
Parameters:
strItemName - the name of the item
Returns:
a Column object

getKey

public String getKey()
Get the unique key, used by equals method

Specified by:
getKey in interface ReferrableObjectIntf
Specified by:
getKey in class AbstractReferrableObject
Returns:
unique key
See Also:
equals, hashCode

addColumn

public void addColumn(Column column)
Description copied from interface: Columns
Add an column to the collection

Specified by:
addColumn in interface Columns
Parameters:
column - to be added

createColumn

public Column createColumn()
Description copied from interface: Columns
Create an Column

Specified by:
createColumn in interface Columns
Returns:
an object implementing Column

iterateColumn

public Iterator<Column> iterateColumn()
Description copied from interface: Columns
Iterate through the Column objects

Specified by:
iterateColumn in interface Columns
Returns:
an iterator

removeAllColumns

public void removeAllColumns()
Description copied from interface: Columns
Remove all column objects from the collection

Specified by:
removeAllColumns in interface Columns


Copyright © 2016 Silverpeas. All Rights Reserved.