|
|||||||||||
| 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.BaseRModuleAttribute
org.tigris.scarab.om.RModuleAttribute
This class represents a RModuleAttribute relationship.
| Field Summary |
| Fields inherited from class org.tigris.scarab.om.BaseRModuleAttribute |
collConditions |
| Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
| Constructor Summary | |
RModuleAttribute()
|
|
| Method Summary | |
void |
delete()
|
protected void |
delete(boolean overrideLock)
|
java.util.List |
getConditions()
If this collection has already been initialized, returns the collection. |
java.lang.Integer[] |
getConditionsArray()
Returns the array of attributeOptionIds that will force the requiment of this attribute if set. |
java.lang.String |
getDisplayValue()
Get the Display Value for the attribute. |
boolean |
getIsDefaultText()
if this RMA is the chosen attribute for email subjects then return true. |
Module |
getModule()
Module getter. |
ScarabModule |
getScarabModule()
Throws UnsupportedOperationException. |
boolean |
isConditioned()
Returns true if this object is conditioned (has related conditions) |
boolean |
isRequiredIf(java.lang.Integer optionID)
Return true if the given attributeOptionId will make the current attribute required. |
void |
save(java.sql.Connection con)
Stores the object in the database. |
void |
setConditionsArray(java.lang.Integer[] aOptionId)
Load the attribute options' IDs from the template combo. |
void |
setIsDefaultText(boolean b)
This method sets the defaultTextFlag property and also makes sure that no other related RMA is defined as the default. |
void |
setModule(Module me)
Use this instead of setScarabModule. |
void |
setScarabModule(ScarabModule module)
Throws UnsupportedOperationException. |
| 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, setModified, setNew, setPrimaryKey, setPrimaryKey |
| Constructor Detail |
public RModuleAttribute()
| Method Detail |
public void save(java.sql.Connection con)
throws org.apache.torque.TorqueException
BaseRModuleAttribute
save in interface org.apache.torque.om.Persistentsave in class BaseRModuleAttributecon -
org.apache.torque.TorqueExceptionpublic ScarabModule getScarabModule()
getModule() instead.
ScarabModule valuepublic void setScarabModule(ScarabModule module)
setModule(Module) instead.
public void setModule(Module me)
throws org.apache.torque.TorqueException
setModule in class BaseRModuleAttributeme - Module
org.apache.torque.TorqueException
public Module getModule()
throws org.apache.torque.TorqueException
getModule in class BaseRModuleAttributeModule value
org.apache.torque.TorqueExceptionpublic java.lang.String getDisplayValue()
getDisplayValue in class BaseRModuleAttribute
public void delete()
throws org.apache.torque.TorqueException,
ScarabException
org.apache.torque.TorqueException
ScarabException
protected void delete(boolean overrideLock)
throws org.apache.torque.TorqueException,
ScarabException
org.apache.torque.TorqueException
ScarabException
public boolean getIsDefaultText()
throws org.apache.torque.TorqueException
boolean value
org.apache.torque.TorqueException
public void setIsDefaultText(boolean b)
throws org.apache.torque.TorqueException
b - a boolean value
org.apache.torque.TorqueException
public java.util.List getConditions()
throws org.apache.torque.TorqueException
BaseRModuleAttribute
getConditions in class BaseRModuleAttributeorg.apache.torque.TorqueExceptionpublic java.lang.Integer[] getConditionsArray()
getConditionsArray in interface Conditioned
public void setConditionsArray(java.lang.Integer[] aOptionId)
throws org.apache.torque.TorqueException
setConditionsArray in interface ConditionedaOptionId -
org.apache.torque.TorqueException
public boolean isRequiredIf(java.lang.Integer optionID)
throws org.apache.torque.TorqueException
isRequiredIf in interface ConditionedoptionID -
org.apache.torque.TorqueExceptionpublic boolean isConditioned()
isConditioned in interface Conditioned
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||