|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.constraints.impl.CommonBase
public class CommonBase
This is a base implementation for all types of problem objects that refer to the problem and have an associated name, business objects, implementation, etc.
| Constructor Summary | |
|---|---|
CommonBase(Problem problem)
|
|
CommonBase(Problem problem,
java.lang.String name)
|
|
| 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()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonBase(Problem problem)
public CommonBase(Problem problem,
java.lang.String name)
| Method Detail |
|---|
public final java.lang.Object getImpl()
public java.lang.String getName()
public final java.lang.Object getObject()
public Problem getProblem()
public final void setImpl(java.lang.Object impl)
impl - the Object that represents an actual implementation of this
object inside a implementation solver.public void setName(java.lang.String name)
name - the name for this object.public final 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 | ||||||||