Package org.marketcetera.trade.pnl
Interface ProfitAndLossFactory
-
- All Superinterfaces:
Factory<ProfitAndLoss>
public interface ProfitAndLossFactory extends Factory<ProfitAndLoss>
Creates newProfitAndLossobjects.- Since:
- $Release$
- Version:
- $Id$
- Author:
- Colin DuPlantis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfitAndLosscreate()Create a newProfitAndLossinstance.ProfitAndLosscreate(ProfitAndLoss inProfitAndLoss)Create a newProfitAndLossinstance from the given object.
-
-
-
Method Detail
-
create
ProfitAndLoss create()
Create a newProfitAndLossinstance.- Specified by:
createin interfaceFactory<ProfitAndLoss>- Returns:
- a
ProfitAndLossvalue
-
create
ProfitAndLoss create(ProfitAndLoss inProfitAndLoss)
Create a newProfitAndLossinstance from the given object.- Specified by:
createin interfaceFactory<ProfitAndLoss>- Parameters:
inProfitAndLoss- aProfitAndLossvalue- Returns:
- a
ProfitAndLossvalue
-
-