public interface IloAddable
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.
java.lang.String getName()
null is
returned.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.