Class ReplaceParty
java.lang.Object
cdm.base.staticdata.party.functions.ReplaceParty
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
ReplaceParty.ReplacePartyDefault
public abstract class ReplaceParty
extends Object
implements com.rosetta.model.lib.functions.RosettaFunction
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.lib.functions.ModelObjectValidator -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.functions.RosettaFunction
toBuilder, toBuilder, toBuilder
-
Field Details
-
objectValidator
@Inject protected com.rosetta.model.lib.functions.ModelObjectValidator objectValidator
-
-
Constructor Details
-
ReplaceParty
public ReplaceParty()
-
-
Method Details
-
evaluate
public List<? extends Party> evaluate(List<? extends Party> parties, Party oldParty, Party newParty) - Parameters:
parties- Specifies the list of parties to update.oldParty- Specifies the party to be removed.newParty- Specifies the party to be added.- Returns:
- updatedParties The updated list of parties.
-
doEvaluate
-