public abstract class BOA
extends java.lang.Object
BoaRepItem.getInstance() and then caling
{#init(NegotiationSession)}| Modifier and Type | Field and Description |
|---|---|
protected NegotiationSession |
negotiationSession
Reference to the object which holds all information about the negotiation
|
| Constructor and Description |
|---|
BOA() |
| Modifier and Type | Method and Description |
|---|---|
void |
endSession(NegotiationResult result)
Method called at the end of the negotiation.
|
abstract java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.Double> |
getParameters() |
java.util.Set<BOAparameter> |
getParameterSpec() |
protected void |
init(NegotiationSession negotiationSession,
java.util.Map<java.lang.String,java.lang.Double> parameters)
Initializes the model.
|
abstract java.io.Serializable |
loadData()
Method used to load the saved object, possibly created in a previous
negotiation session.
|
abstract void |
storeData(java.io.Serializable object)
Method used to store data that should be accessible in the next
negotiation session on the same scenario.
|
protected NegotiationSession negotiationSession
protected void init(NegotiationSession negotiationSession, java.util.Map<java.lang.String,java.lang.Double> parameters)
negotiationSession - reference to the state of the negotiationparameters - the init parameters used to configure this componentpublic java.util.Map<java.lang.String,java.lang.Double> getParameters()
init(NegotiationSession, Map).public java.util.Set<BOAparameter> getParameterSpec()
#init(NegotiationSession) calls to the components.public void endSession(NegotiationResult result)
result - of the negotiation.public abstract void storeData(java.io.Serializable object)
object - to be saved by this component.public abstract java.io.Serializable loadData()
public abstract java.lang.String getName()