|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.
| Method Summary | |
java.lang.Integer[] |
getConditionsArray()
Returns the array of Ids of the conditions that will force the requirement of this attribute if set. |
boolean |
isConditioned()
|
boolean |
isRequiredIf(java.lang.Integer optionID)
Return true if the given attributeOptionId will make the current attribute required. |
void |
setConditionsArray(java.lang.Integer[] aOptionId)
Load the attribute options' IDs from the template combo. |
| Method Detail |
public java.lang.Integer[] getConditionsArray()
public void setConditionsArray(java.lang.Integer[] aOptionId)
throws org.apache.torque.TorqueException
aOptionId -
org.apache.torque.TorqueException
public boolean isRequiredIf(java.lang.Integer optionID)
throws org.apache.torque.TorqueException
optionID -
org.apache.torque.TorqueExceptionpublic boolean isConditioned()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||