Package cdm.product.common.settlement
Class FixedPrice.FixedPriceBuilderImpl
java.lang.Object
cdm.product.common.settlement.FixedPrice.FixedPriceBuilderImpl
- All Implemented Interfaces:
FixedPrice,FixedPrice.FixedPriceBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
FixedPrice
public static class FixedPrice.FixedPriceBuilderImpl
extends Object
implements FixedPrice.FixedPriceBuilder
Builder Implementation of FixedPrice
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.settlement.FixedPrice
FixedPrice.FixedPriceBuilder, FixedPrice.FixedPriceBuilderImpl, FixedPrice.FixedPriceImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface cdm.product.common.settlement.FixedPrice
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleangetPrice()Fixed price step schedule, including an initial price specified as an absolute number.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setPriceValue(PriceSchedule _price) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.settlement.FixedPrice
getType, metaData, processMethods inherited from interface cdm.product.common.settlement.FixedPrice.FixedPriceBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
price
-
-
Constructor Details
-
FixedPriceBuilderImpl
public FixedPriceBuilderImpl()
-
-
Method Details
-
getPrice
@RosettaAttribute("price") @RuneAttribute("price") @RuneScopedAttributeReference public ReferenceWithMetaPriceSchedule.ReferenceWithMetaPriceScheduleBuilder getPrice()Description copied from interface:FixedPriceFixed price step schedule, including an initial price specified as an absolute number.- Specified by:
getPricein interfaceFixedPrice- Specified by:
getPricein interfaceFixedPrice.FixedPriceBuilder
-
getOrCreatePrice
- Specified by:
getOrCreatePricein interfaceFixedPrice.FixedPriceBuilder
-
setPrice
@RosettaAttribute("price") @RuneAttribute("price") @RuneScopedAttributeReference public FixedPrice.FixedPriceBuilder setPrice(ReferenceWithMetaPriceSchedule _price) - Specified by:
setPricein interfaceFixedPrice.FixedPriceBuilder
-
setPriceValue
- Specified by:
setPriceValuein interfaceFixedPrice.FixedPriceBuilder
-
build
Description copied from interface:FixedPriceBuild Methods- Specified by:
buildin interfaceFixedPrice- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceFixedPrice- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceFixedPrice.FixedPriceBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public FixedPrice.FixedPriceBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-