|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opttek.optquest.COptQuestOrRequirement
The COptQuestOrRequirement class allows you to define a logical "or" relationship
among COptQuestRequirement objects. Any number of COptQuestRequirement objects
can be added to the COptQuestOrRequirement object.
The COptQuestRequirement objects
are added to the the COptQuestOrRequirement object, and the COptQuestOrRequirement
object is added to the COptQuestOptimization object using the
COptQuestOptimization::AddRequirement() method.
| Constructor Summary | |
COptQuestOrRequirement()
Default constructor |
|
COptQuestOrRequirement(java.lang.String name)
Constructor that assigns a name to the COptQuestOrRequirement |
|
| Method Summary | |
void |
AddRequirement(COptQuestRequirement requirement)
Adds a COptQuestRequirement object to the COptQuestOrRequirement. |
java.lang.String |
GetName()
Returns the name assigned to the COptQuestOrRequirement. |
int |
GetNumberOfRequirements()
Returns the number of COptQuestRequirement objects that were added by calls to COptQuestOrRequirement::AddRequirement(). |
COptQuestRequirement |
GetRequirementAt(int index)
Returns the COptQuestRequirement object at the specified index. |
void |
SetName(java.lang.String value)
Assigns a name to the COptQuestOrRequirement |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public COptQuestOrRequirement(java.lang.String name)
name - alphanumeric namepublic COptQuestOrRequirement()
| Method Detail |
public void SetName(java.lang.String value)
value - alphanumeric namepublic java.lang.String GetName()
public void AddRequirement(COptQuestRequirement requirement)
requirement - COptQuestRequirement object.public int GetNumberOfRequirements()
public COptQuestRequirement GetRequirementAt(int index)
index - 0 based index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||