|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConstrainedVariable
This is a base interface for all constrained variable. It defines variable names, a Problem to which the variable belongs to, an associated business object, etc.
| Method Summary | |
|---|---|
java.lang.Object |
getImpl()
This method should be defined by a concrete solver implementation. |
java.lang.String |
getName()
Returns the name of this object. |
java.lang.Object |
getObject()
This method may be used to get an attached Business Object for this object. |
Problem |
getProblem()
Return a problem to which this object belongs |
void |
setImpl(java.lang.Object impl)
This method defines an Object that represents an actual implementation of this object inside a concrete solver. |
void |
setName(java.lang.String name)
Sets the name of this object. |
void |
setObject(java.lang.Object obj)
This method may be used to attach a business object to this object. |
| Method Detail |
|---|
java.lang.Object getImpl()
java.lang.String getName()
java.lang.Object getObject()
Problem getProblem()
void setImpl(java.lang.Object impl)
impl - the Object that represents an actual implementation of this
object inside a implementation solver.void setName(java.lang.String name)
name - the name for this object.void setObject(java.lang.Object obj)
obj - the business object being attached.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||