|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.om.BaseObject
org.tigris.scarab.om.BaseROptionOption
org.tigris.scarab.om.ROptionOption
This class represents the SCARAB_R_OPTION_OPTION table.
| Field Summary |
| Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
| Constructor Summary | |
protected |
ROptionOption()
Must call getInstance() |
| Method Summary | |
static void |
doRemove(java.lang.Integer parent,
java.lang.Integer child)
This will also remove the ROptionOption from the internal cache as well as from the database. |
static void |
doRemove(ROptionOption roo)
This will also remove the ROptionOption from the internal cache as well as from the database. |
(package private) static java.lang.String |
getCacheKey(java.lang.Integer option1,
java.lang.Integer option2)
Creates a key for use in caching AttributeOptions |
protected static org.apache.fulcrum.cache.GlobalCacheService |
getGlobalCacheService()
Gets the GlobalCacheService implementation. |
static ROptionOption |
getInstance()
Gets an instance of a new ROptionOption |
static ROptionOption |
getInstance(java.lang.Integer parent,
java.lang.Integer child)
Gets an instance of a new ROptionOption |
int |
getLevel()
Get the level in the option parent-child tree. |
AttributeOption |
getOption1Option()
Gets the AttributeOption assigned to the Option1Id |
AttributeOption |
getOption2Option()
Gets the AttributeOption assigned to the Option2Id |
void |
setLevel(int v)
Get the level in the option parent-child tree. |
java.lang.String |
toString()
A String representation of this object. |
| Methods inherited from class org.apache.torque.om.BaseObject |
equals, equals, getLog, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.torque.om.Persistent |
getPrimaryKey, isModified, isNew, save, save, save, setModified, setNew, setPrimaryKey, setPrimaryKey |
| Constructor Detail |
protected ROptionOption()
| Method Detail |
static java.lang.String getCacheKey(java.lang.Integer option1,
java.lang.Integer option2)
public static ROptionOption getInstance()
public static ROptionOption getInstance(java.lang.Integer parent,
java.lang.Integer child)
throws org.apache.torque.TorqueException,
ScarabException
org.apache.torque.TorqueException
ScarabException
public static void doRemove(ROptionOption roo)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public static void doRemove(java.lang.Integer parent,
java.lang.Integer child)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public AttributeOption getOption1Option()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public AttributeOption getOption2Option()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic int getLevel()
public void setLevel(int v)
v - Value to assign to level.public java.lang.String toString()
toString in class BaseROptionOptionprotected static final org.apache.fulcrum.cache.GlobalCacheService getGlobalCacheService()
GlobalCacheService implementation.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||