Package cdm.base.staticdata.party
Class AncillaryParty.AncillaryPartyBuilderImpl
java.lang.Object
cdm.base.staticdata.party.AncillaryParty.AncillaryPartyBuilderImpl
- All Implemented Interfaces:
AncillaryParty,AncillaryParty.AncillaryPartyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
AncillaryParty
public static class AncillaryParty.AncillaryPartyBuilderImpl
extends Object
implements AncillaryParty.AncillaryPartyBuilder
Builder Implementation of AncillaryParty
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.party.AncillaryParty
AncillaryParty.AncillaryPartyBuilder, AncillaryParty.AncillaryPartyBuilderImpl, AncillaryParty.AncillaryPartyImpl -
Field Summary
FieldsFields inherited from interface cdm.base.staticdata.party.AncillaryParty
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPartyReference(ReferenceWithMetaParty _partyReference) addPartyReference(ReferenceWithMetaParty _partyReference, int idx) addPartyReference(List<? extends ReferenceWithMetaParty> partyReferences) addPartyReferenceValue(Party _partyReference) addPartyReferenceValue(Party _partyReference, int idx) addPartyReferenceValue(List<? extends Party> partyReferences) build()Build MethodsbooleanOptionally specifies the counterparty that the ancillary party is acting on behalf of.getOrCreatePartyReference(int index) Specifies the party, or parties, associated to the ancillary role.getRole()Specifies the AncillaryRoleEnum that is associated to the party reference.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setOnBehalfOf(CounterpartyRoleEnum _onBehalfOf) setPartyReference(List<? extends ReferenceWithMetaParty> partyReferences) setPartyReferenceValue(List<? extends Party> partyReferences) setRole(AncillaryRoleEnum _role) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.party.AncillaryParty
getType, metaData, processMethods inherited from interface cdm.base.staticdata.party.AncillaryParty.AncillaryPartyBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
role
-
partyReference
-
onBehalfOf
-
-
Constructor Details
-
AncillaryPartyBuilderImpl
public AncillaryPartyBuilderImpl()
-
-
Method Details
-
getRole
@RosettaAttribute(value="role", isRequired=true) @RuneAttribute(value="role", isRequired=true) public AncillaryRoleEnum getRole()Description copied from interface:AncillaryPartySpecifies the AncillaryRoleEnum that is associated to the party reference. An ancillary party is any involved party that is not one of the two principal parties to the transaction.- Specified by:
getRolein interfaceAncillaryParty
-
getPartyReference
@RosettaAttribute(value="partyReference", isRequired=true) @RuneAttribute(value="partyReference", isRequired=true) public List<? extends ReferenceWithMetaParty.ReferenceWithMetaPartyBuilder> getPartyReference()Description copied from interface:AncillaryPartySpecifies the party, or parties, associated to the ancillary role.- Specified by:
getPartyReferencein interfaceAncillaryParty- Specified by:
getPartyReferencein interfaceAncillaryParty.AncillaryPartyBuilder
-
getOrCreatePartyReference
- Specified by:
getOrCreatePartyReferencein interfaceAncillaryParty.AncillaryPartyBuilder
-
getOnBehalfOf
@RosettaAttribute("onBehalfOf") @RuneAttribute("onBehalfOf") public CounterpartyRoleEnum getOnBehalfOf()Description copied from interface:AncillaryPartyOptionally specifies the counterparty that the ancillary party is acting on behalf of.- Specified by:
getOnBehalfOfin interfaceAncillaryParty
-
setRole
@RosettaAttribute(value="role", isRequired=true) @RuneAttribute(value="role", isRequired=true) public AncillaryParty.AncillaryPartyBuilder setRole(AncillaryRoleEnum _role) - Specified by:
setRolein interfaceAncillaryParty.AncillaryPartyBuilder
-
addPartyReference
@RosettaAttribute(value="partyReference", isRequired=true) @RuneAttribute(value="partyReference", isRequired=true) public AncillaryParty.AncillaryPartyBuilder addPartyReference(ReferenceWithMetaParty _partyReference) - Specified by:
addPartyReferencein interfaceAncillaryParty.AncillaryPartyBuilder
-
addPartyReference
public AncillaryParty.AncillaryPartyBuilder addPartyReference(ReferenceWithMetaParty _partyReference, int idx) - Specified by:
addPartyReferencein interfaceAncillaryParty.AncillaryPartyBuilder
-
addPartyReferenceValue
- Specified by:
addPartyReferenceValuein interfaceAncillaryParty.AncillaryPartyBuilder
-
addPartyReferenceValue
- Specified by:
addPartyReferenceValuein interfaceAncillaryParty.AncillaryPartyBuilder
-
addPartyReference
public AncillaryParty.AncillaryPartyBuilder addPartyReference(List<? extends ReferenceWithMetaParty> partyReferences) - Specified by:
addPartyReferencein interfaceAncillaryParty.AncillaryPartyBuilder
-
setPartyReference
@RuneAttribute("partyReference") public AncillaryParty.AncillaryPartyBuilder setPartyReference(List<? extends ReferenceWithMetaParty> partyReferences) - Specified by:
setPartyReferencein interfaceAncillaryParty.AncillaryPartyBuilder
-
addPartyReferenceValue
public AncillaryParty.AncillaryPartyBuilder addPartyReferenceValue(List<? extends Party> partyReferences) - Specified by:
addPartyReferenceValuein interfaceAncillaryParty.AncillaryPartyBuilder
-
setPartyReferenceValue
public AncillaryParty.AncillaryPartyBuilder setPartyReferenceValue(List<? extends Party> partyReferences) - Specified by:
setPartyReferenceValuein interfaceAncillaryParty.AncillaryPartyBuilder
-
setOnBehalfOf
@RosettaAttribute("onBehalfOf") @RuneAttribute("onBehalfOf") public AncillaryParty.AncillaryPartyBuilder setOnBehalfOf(CounterpartyRoleEnum _onBehalfOf) - Specified by:
setOnBehalfOfin interfaceAncillaryParty.AncillaryPartyBuilder
-
build
Description copied from interface:AncillaryPartyBuild Methods- Specified by:
buildin interfaceAncillaryParty- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceAncillaryParty- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceAncillaryParty.AncillaryPartyBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public AncillaryParty.AncillaryPartyBuilder 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
-