net.sourceforge.toscanaj.model.context
Interface WritableFCAElement

All Superinterfaces:
FCAElement
All Known Implementing Classes:
FCAElementImplementation

public interface WritableFCAElement
extends FCAElement

This interface is a writable version of FCAElement.


Method Summary
 void setContextPosition(int contextPosition)
          Sets an index within a context.
 void setData(java.lang.Object data)
          Changes the data stored in this FCAElement.
 void setDescription(org.jdom.Element description)
          Sets a description for the FCAElement.
 
Methods inherited from interface net.sourceforge.toscanaj.model.context.FCAElement
getContextPosition, getData, getDescription
 

Method Detail

setData

public void setData(java.lang.Object data)
Changes the data stored in this FCAElement. Note that this most likely changes the identity of the object.

Parameters:
data - The new data, must not be null.

setDescription

public void setDescription(org.jdom.Element description)
Sets a description for the FCAElement.

Parameters:
description - The new description, can be null.

setContextPosition

public void setContextPosition(int contextPosition)
Sets an index within a context. This method can be used to add an order to the FCAElements in a context.

Parameters:
contextPosition - The position of the object or attribute in the context or -1 if there is no such order.


The ToscanaJ project