|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used for modeling objects. Objects of classes
implementing this interface can be added to an instance of IloModel
.
Constraint classes, such as IloRange
, and classes representing
optimization objectives, such as IloObjective
, are examples.
All addable modeling objects can be assigned a name with the method
setName()
. The name can be queried with the method
getName()
. Assigning a name is not required. Modeling objects are
created without an assigned name unless a name is specified in the
construction.
Method Summary | |
java.lang.String |
getName()
Accesses the name assigned to the invoking modeling object. |
void |
setName(java.lang.String name)
Sets the name of the invoking addable object. |
Method Detail |
public java.lang.String getName()
null
is
returned.
public void setName(java.lang.String name)
null
as the argument.
name
- The name assigned to the invoking modeling object.
null
can be passed as argument to remove an assigned
name from the invoking modeling object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |