| org.tigris.scarab.om.Conditioned
All known Subclasses: org.tigris.scarab.om.Attribute, org.tigris.scarab.om.Transition, org.tigris.scarab.om.RModuleIssueType, org.tigris.scarab.om.RModuleAttribute,
Conditioned | public interface Conditioned (Code) | | This interface declared the methods that any object subjected to Conditions
should implement. It's meant to enforce the way this objects behave, so the
Condition-related actions could evolve if necessary.
author: Jorge |
Method Summary | |
public Integer[] | getConditionsArray() Returns the array of Ids of the conditions that will force the requirement
of this attribute if set. | public boolean | isConditioned() | public boolean | isRequiredIf(Integer optionID) Return true if the given attributeOptionId will make the current
attribute required. | public void | setConditionsArray(Integer aOptionId) Load the attribute options' IDs from the template combo. |
getConditionsArray | public Integer[] getConditionsArray()(Code) | | Returns the array of Ids of the conditions that will force the requirement
of this attribute if set. Used by templates to load the combo.
|
isConditioned | public boolean isConditioned()(Code) | | true if there's any condition associated to this object, false if there's not. |
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 - |
|
|