net.sourceforge.toscanaj.model.database
Class DatabaseRetrievedObject
java.lang.Object
net.sourceforge.toscanaj.model.database.DatabaseRetrievedObject
- All Implemented Interfaces:
- FCAElement
- public class DatabaseRetrievedObject
- extends java.lang.Object
- implements FCAElement
- To do:
- drop distinctions between objects with or without keys and with or without special
clauses. The object should have only one clause attached which gives whatever this
object represents, the clause for the full object set of a label should not be part
of instances of this class. Probably it is a good idea if aggregates just return
null as their clause -- they just don't have any clause specific for them.
This change needs first dropping the distinction between different viewers in the
DatabaseViewerManager.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DatabaseRetrievedObject
public DatabaseRetrievedObject(java.lang.String queryWhereClause,
java.lang.String displayString)
hasKey
public boolean hasKey()
getKey
public java.lang.Object getKey()
setKey
public void setKey(java.lang.Object key)
hasSpecialWhereClause
public boolean hasSpecialWhereClause()
getSpecialWhereClause
public java.lang.String getSpecialWhereClause()
setSpecialWhereClause
public void setSpecialWhereClause(java.lang.String specialWhereClause)
getQueryWhereClause
public java.lang.String getQueryWhereClause()
getDisplayString
public java.lang.String getDisplayString()
toString
public java.lang.String toString()
getData
public java.lang.Object getData()
- Description copied from interface:
FCAElement
- Returns the data stored in this FCAElement.
This is not allowed to be null.
- Specified by:
getData
in interface FCAElement
getDescription
public org.jdom.Element getDescription()
- Description copied from interface:
FCAElement
- Returns the description of the FCAElement.
The return value of this method can be null.
- Specified by:
getDescription
in interface FCAElement
getContextPosition
public int getContextPosition()
- Description copied from interface:
FCAElement
- Return the position in a context if available.
The return value is either the position in the according
context (i.e. in the list of objects or attributes, depending
on the usage of this element), or -1 if no position in a
context is known.
- Specified by:
getContextPosition
in interface FCAElement
The ToscanaJ project