| |
|
| org.tigris.scarab.om.BaseRModuleAttribute org.tigris.scarab.om.RModuleAttribute
RModuleAttribute | public class RModuleAttribute extends BaseRModuleAttribute implements Persistent,Conditioned(Code) | | This class represents a RModuleAttribute relationship.
author: John McNally version: $Id: RModuleAttribute.java 9977 2005-12-09 00:40:59Z hair $ |
getConditions | public List getConditions() throws TorqueException(Code) | | |
getConditionsArray | public Integer[] getConditionsArray()(Code) | | Returns the array of attributeOptionIds that will force the requiment of this
attribute if set. Used by templates to load the combo.
|
getDisplayValue | public String getDisplayValue()(Code) | | Get the Display Value for the attribute. In the event that this
is a new RModuleAttribute that has not been assigned a Display
Value, this method will return the Attribute Name.
|
getIsDefaultText | public boolean getIsDefaultText() throws TorqueException(Code) | | if this RMA is the chosen attribute for email subjects then return
true. if not explicitly chosen, check the other RMA's for this module
and if none is chosen as the email attribute, choose the highest
ordered text attribute.
a boolean value |
getModule | public Module getModule() throws TorqueException(Code) | | Module getter. Use this method instead of getScarabModule().
a Module value |
getScarabModule | public ScarabModule getScarabModule()(Code) | | Throws UnsupportedOperationException. Use
getModule() instead.
a ScarabModule value |
isConditioned | public boolean isConditioned()(Code) | | Returns true if this object is conditioned (has related conditions)
|
isRequiredIf | public boolean isRequiredIf(Integer optionID) throws TorqueException(Code) | | Return true if the given attributeOptionId will make the current
attribute required.
Parameters: optionID - throws: TorqueException - |
setConditionsArray | public void setConditionsArray(Integer aOptionId) throws TorqueException(Code) | | Load the attribute options' IDs from the template combo.
Parameters: aOptionId - throws: TorqueException - |
setIsDefaultText | public void setIsDefaultText(boolean b) throws TorqueException(Code) | | This method sets the defaultTextFlag property and also makes sure
that no other related RMA is defined as the default. It should be
used instead of setDefaultTextFlag in application code.
Parameters: b - a boolean value |
setModule | public void setModule(Module me) throws TorqueException(Code) | | Use this instead of setScarabModule. Note: module cannot be new.
|
setScarabModule | public void setScarabModule(ScarabModule module)(Code) | | Throws UnsupportedOperationException. Use
setModule(Module) instead.
|
Fields inherited from org.tigris.scarab.om.BaseRModuleAttribute | protected List collConditions(Code)(Java Doc)
|
|
|
|