public class BOAagentRepository
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addComponent(BOArepItem newComponent) |
java.lang.Object |
clone()
Override of clone method to enforce singleton pattern.
|
java.util.ArrayList<java.lang.String> |
getAcceptanceStrategies()
Method which returns the list of acceptance strategies in the BOA
repository.
|
java.util.HashMap<java.lang.String,BOArepItem> |
getAcceptanceStrategiesRepItems()
Method which returns the list of acceptance strategies in the BOA
repository.
|
AcceptanceStrategy |
getAcceptanceStrategy(java.lang.String name)
Method used to load the acceptance strategy associated with the given
name.
|
BOArepItem |
getAcceptanceStrategyRepItem(java.lang.String name) |
BOArepItem |
getBiddingStrategyRepItem(java.lang.String name) |
static BOAagentRepository |
getInstance() |
int |
getItemsCount() |
java.util.ArrayList<java.lang.String> |
getOfferingStrategies()
Method which returns the list of offering strategies in the BOA
repository.
|
java.util.HashMap<java.lang.String,BOArepItem> |
getOfferingStrategiesRepItems()
Method which returns the list of offering strategies in the BOA
repository.
|
OfferingStrategy |
getOfferingStrategy(java.lang.String name)
Method used to load the offering strategy associated with the given name.
|
java.util.ArrayList<java.lang.String> |
getOMStrategies()
Method which returns the list of opponent model strategies in the BOA
repository.
|
java.util.HashMap<java.lang.String,BOArepItem> |
getOMStrategiesRepItems()
Method which returns the list of opponent model strategies in the BOA
repository.
|
OMStrategy |
getOMStrategy(java.lang.String name)
Method used to load the opponent model strategy associated with the given
name.
|
OpponentModel |
getOpponentModel(java.lang.String name)
Method used to load the opponent model associated with the given name.
|
BOArepItem |
getOpponentModelRepItem(java.lang.String name) |
java.util.ArrayList<java.lang.String> |
getOpponentModels()
Method which returns the list of opponent models in the BOA repository.
|
java.util.HashMap<java.lang.String,BOArepItem> |
getOpponentModelsRepItems()
Method which returns the list of opponent models in the BOA repository.
|
BOArepItem |
getOpponentModelStrategyRepItem(java.lang.String name) |
void |
removeComponent(BOArepItem removed) |
void |
saveRepository() |
java.lang.String |
toXML() |
public static BOAagentRepository getInstance()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.util.ArrayList<java.lang.String> getOfferingStrategies()
public java.util.HashMap<java.lang.String,BOArepItem> getOfferingStrategiesRepItems()
public java.util.ArrayList<java.lang.String> getAcceptanceStrategies()
public java.util.HashMap<java.lang.String,BOArepItem> getAcceptanceStrategiesRepItems()
public java.util.ArrayList<java.lang.String> getOpponentModels()
public java.util.HashMap<java.lang.String,BOArepItem> getOpponentModelsRepItems()
public java.util.ArrayList<java.lang.String> getOMStrategies()
public java.util.HashMap<java.lang.String,BOArepItem> getOMStrategiesRepItems()
public OfferingStrategy getOfferingStrategy(java.lang.String name)
name
- of the offering strategy to be loaded.public AcceptanceStrategy getAcceptanceStrategy(java.lang.String name)
name
- of the acceptance strategy to be loaded.public OpponentModel getOpponentModel(java.lang.String name)
name
- of the opponent model to be loaded.public BOArepItem getOpponentModelRepItem(java.lang.String name)
public BOArepItem getBiddingStrategyRepItem(java.lang.String name)
public BOArepItem getAcceptanceStrategyRepItem(java.lang.String name)
public BOArepItem getOpponentModelStrategyRepItem(java.lang.String name)
public OMStrategy getOMStrategy(java.lang.String name)
name
- of the opponent model strategy.public void saveRepository()
public java.lang.String toXML()
public int getItemsCount()
public void removeComponent(BOArepItem removed)
public void addComponent(BOArepItem newComponent)