Package cdm.legaldocumentation.common
Class LegalAgreementBase.LegalAgreementBaseBuilderImpl
java.lang.Object
cdm.legaldocumentation.common.LegalAgreementBase.LegalAgreementBaseBuilderImpl
- All Implemented Interfaces:
LegalAgreementBase,LegalAgreementBase.LegalAgreementBaseBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Direct Known Subclasses:
LegalAgreement.LegalAgreementBuilderImpl
- Enclosing interface:
LegalAgreementBase
public static class LegalAgreementBase.LegalAgreementBaseBuilderImpl
extends Object
implements LegalAgreementBase.LegalAgreementBaseBuilder
Builder Implementation of LegalAgreementBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.common.LegalAgreementBase
LegalAgreementBase.LegalAgreementBaseBuilder, LegalAgreementBase.LegalAgreementBaseBuilderImpl, LegalAgreementBase.LegalAgreementBaseImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.lib.records.Dateprotected List<Resource.ResourceBuilder> protected com.rosetta.model.lib.records.Dateprotected List<Identifier.IdentifierBuilder> protected List<PartyRole.PartyRoleBuilder> Fields inherited from interface cdm.legaldocumentation.common.LegalAgreementBase
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttachment(Resource _attachment) addAttachment(Resource _attachment, int idx) addAttachment(List<? extends Resource> attachments) addContractualParty(ReferenceWithMetaParty _contractualParty) addContractualParty(ReferenceWithMetaParty _contractualParty, int idx) addContractualParty(List<? extends ReferenceWithMetaParty> contractualPartys) addContractualPartyValue(Party _contractualParty) addContractualPartyValue(Party _contractualParty, int idx) addContractualPartyValue(List<? extends Party> contractualPartys) addIdentifier(Identifier _identifier) addIdentifier(Identifier _identifier, int idx) addIdentifier(List<? extends Identifier> identifiers) addOtherParty(PartyRole _otherParty) addOtherParty(PartyRole _otherParty, int idx) addOtherParty(List<? extends PartyRole> otherPartys) build()Build Methodsbooleancom.rosetta.model.lib.records.DateThe date on which the legal agreement has been agreed between the parties.List<? extends Resource.ResourceBuilder> A human readable document, for example a confirmation.The two contractual parties to the legal agreement, which reference information is positioned as part of the partyInformation attribute.com.rosetta.model.lib.records.DateThe date on which, or as of which, the agreement is effective, if different from the agreement date.List<? extends Identifier.IdentifierBuilder> The legal agreement identifier.The type of legal agreement, identified via a set of composable attributes: agreementName, publisher, governing law and version, e.g.getOrCreateAttachment(int index) getOrCreateContractualParty(int index) getOrCreateIdentifier(int index) getOrCreateOtherParty(int index) List<? extends PartyRole.PartyRoleBuilder> The role(s) that other party(ies) may have in relation to the legal agreement, further to the contractual parties.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAgreementDate(com.rosetta.model.lib.records.Date _agreementDate) setAttachment(List<? extends Resource> attachments) setContractualParty(List<? extends ReferenceWithMetaParty> contractualPartys) setContractualPartyValue(List<? extends Party> contractualPartys) setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) setIdentifier(List<? extends Identifier> identifiers) setLegalAgreementIdentification(LegalAgreementIdentification _legalAgreementIdentification) setOtherParty(List<? extends PartyRole> otherPartys) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.legaldocumentation.common.LegalAgreementBase
getType, metaData, processMethods inherited from interface cdm.legaldocumentation.common.LegalAgreementBase.LegalAgreementBaseBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
agreementDate
protected com.rosetta.model.lib.records.Date agreementDate -
effectiveDate
protected com.rosetta.model.lib.records.Date effectiveDate -
identifier
-
legalAgreementIdentification
protected LegalAgreementIdentification.LegalAgreementIdentificationBuilder legalAgreementIdentification -
contractualParty
-
otherParty
-
attachment
-
-
Constructor Details
-
LegalAgreementBaseBuilderImpl
public LegalAgreementBaseBuilderImpl()
-
-
Method Details
-
getAgreementDate
@RosettaAttribute("agreementDate") @RuneAttribute("agreementDate") public com.rosetta.model.lib.records.Date getAgreementDate()Description copied from interface:LegalAgreementBaseThe date on which the legal agreement has been agreed between the parties. This corresponds to the Date of Deed in an English Law document.- Specified by:
getAgreementDatein interfaceLegalAgreementBase
-
getEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public com.rosetta.model.lib.records.Date getEffectiveDate()Description copied from interface:LegalAgreementBaseThe date on which, or as of which, the agreement is effective, if different from the agreement date. It is expected that it will most often correspond to the agreement date, although there could be situations where the parties will explicitly agree on a distinct effective date.- Specified by:
getEffectiveDatein interfaceLegalAgreementBase
-
getIdentifier
@RosettaAttribute("identifier") @RuneAttribute("identifier") public List<? extends Identifier.IdentifierBuilder> getIdentifier()Description copied from interface:LegalAgreementBaseThe legal agreement identifier. Several identifiers can be specified.- Specified by:
getIdentifierin interfaceLegalAgreementBase- Specified by:
getIdentifierin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
getOrCreateIdentifier
- Specified by:
getOrCreateIdentifierin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
getLegalAgreementIdentification
@RosettaAttribute(value="legalAgreementIdentification", isRequired=true) @RuneAttribute(value="legalAgreementIdentification", isRequired=true) public LegalAgreementIdentification.LegalAgreementIdentificationBuilder getLegalAgreementIdentification()Description copied from interface:LegalAgreementBaseThe type of legal agreement, identified via a set of composable attributes: agreementName, publisher, governing law and version, e.g. ISDA 2013 Standard Credit Support Annex English Law.- Specified by:
getLegalAgreementIdentificationin interfaceLegalAgreementBase- Specified by:
getLegalAgreementIdentificationin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
getOrCreateLegalAgreementIdentification
public LegalAgreementIdentification.LegalAgreementIdentificationBuilder getOrCreateLegalAgreementIdentification()- Specified by:
getOrCreateLegalAgreementIdentificationin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
getContractualParty
@RosettaAttribute(value="contractualParty", isRequired=true) @RuneAttribute(value="contractualParty", isRequired=true) public List<? extends ReferenceWithMetaParty.ReferenceWithMetaPartyBuilder> getContractualParty()Description copied from interface:LegalAgreementBaseThe two contractual parties to the legal agreement, which reference information is positioned as part of the partyInformation attribute.- Specified by:
getContractualPartyin interfaceLegalAgreementBase- Specified by:
getContractualPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
getOrCreateContractualParty
- Specified by:
getOrCreateContractualPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
getOtherParty
@RosettaAttribute("otherParty") @RuneAttribute("otherParty") public List<? extends PartyRole.PartyRoleBuilder> getOtherParty()Description copied from interface:LegalAgreementBaseThe role(s) that other party(ies) may have in relation to the legal agreement, further to the contractual parties.- Specified by:
getOtherPartyin interfaceLegalAgreementBase- Specified by:
getOtherPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
getOrCreateOtherParty
- Specified by:
getOrCreateOtherPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
getAttachment
@RosettaAttribute("attachment") @RuneAttribute("attachment") public List<? extends Resource.ResourceBuilder> getAttachment()Description copied from interface:LegalAgreementBaseA human readable document, for example a confirmation.- Specified by:
getAttachmentin interfaceLegalAgreementBase- Specified by:
getAttachmentin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
getOrCreateAttachment
- Specified by:
getOrCreateAttachmentin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
setAgreementDate
@RosettaAttribute("agreementDate") @RuneAttribute("agreementDate") public LegalAgreementBase.LegalAgreementBaseBuilder setAgreementDate(com.rosetta.model.lib.records.Date _agreementDate) - Specified by:
setAgreementDatein interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
setEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public LegalAgreementBase.LegalAgreementBaseBuilder setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) - Specified by:
setEffectiveDatein interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addIdentifier
@RosettaAttribute("identifier") @RuneAttribute("identifier") public LegalAgreementBase.LegalAgreementBaseBuilder addIdentifier(Identifier _identifier) - Specified by:
addIdentifierin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addIdentifier
- Specified by:
addIdentifierin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addIdentifier
public LegalAgreementBase.LegalAgreementBaseBuilder addIdentifier(List<? extends Identifier> identifiers) - Specified by:
addIdentifierin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
setIdentifier
@RuneAttribute("identifier") public LegalAgreementBase.LegalAgreementBaseBuilder setIdentifier(List<? extends Identifier> identifiers) - Specified by:
setIdentifierin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
setLegalAgreementIdentification
@RosettaAttribute(value="legalAgreementIdentification", isRequired=true) @RuneAttribute(value="legalAgreementIdentification", isRequired=true) public LegalAgreementBase.LegalAgreementBaseBuilder setLegalAgreementIdentification(LegalAgreementIdentification _legalAgreementIdentification) - Specified by:
setLegalAgreementIdentificationin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addContractualParty
@RosettaAttribute(value="contractualParty", isRequired=true) @RuneAttribute(value="contractualParty", isRequired=true) public LegalAgreementBase.LegalAgreementBaseBuilder addContractualParty(ReferenceWithMetaParty _contractualParty) - Specified by:
addContractualPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addContractualParty
public LegalAgreementBase.LegalAgreementBaseBuilder addContractualParty(ReferenceWithMetaParty _contractualParty, int idx) - Specified by:
addContractualPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addContractualPartyValue
public LegalAgreementBase.LegalAgreementBaseBuilder addContractualPartyValue(Party _contractualParty) - Specified by:
addContractualPartyValuein interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addContractualPartyValue
public LegalAgreementBase.LegalAgreementBaseBuilder addContractualPartyValue(Party _contractualParty, int idx) - Specified by:
addContractualPartyValuein interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addContractualParty
public LegalAgreementBase.LegalAgreementBaseBuilder addContractualParty(List<? extends ReferenceWithMetaParty> contractualPartys) - Specified by:
addContractualPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
setContractualParty
@RuneAttribute("contractualParty") public LegalAgreementBase.LegalAgreementBaseBuilder setContractualParty(List<? extends ReferenceWithMetaParty> contractualPartys) - Specified by:
setContractualPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addContractualPartyValue
public LegalAgreementBase.LegalAgreementBaseBuilder addContractualPartyValue(List<? extends Party> contractualPartys) - Specified by:
addContractualPartyValuein interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
setContractualPartyValue
public LegalAgreementBase.LegalAgreementBaseBuilder setContractualPartyValue(List<? extends Party> contractualPartys) - Specified by:
setContractualPartyValuein interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addOtherParty
@RosettaAttribute("otherParty") @RuneAttribute("otherParty") public LegalAgreementBase.LegalAgreementBaseBuilder addOtherParty(PartyRole _otherParty) - Specified by:
addOtherPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addOtherParty
- Specified by:
addOtherPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addOtherParty
public LegalAgreementBase.LegalAgreementBaseBuilder addOtherParty(List<? extends PartyRole> otherPartys) - Specified by:
addOtherPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
setOtherParty
@RuneAttribute("otherParty") public LegalAgreementBase.LegalAgreementBaseBuilder setOtherParty(List<? extends PartyRole> otherPartys) - Specified by:
setOtherPartyin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addAttachment
@RosettaAttribute("attachment") @RuneAttribute("attachment") public LegalAgreementBase.LegalAgreementBaseBuilder addAttachment(Resource _attachment) - Specified by:
addAttachmentin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addAttachment
- Specified by:
addAttachmentin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
addAttachment
public LegalAgreementBase.LegalAgreementBaseBuilder addAttachment(List<? extends Resource> attachments) - Specified by:
addAttachmentin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
setAttachment
@RuneAttribute("attachment") public LegalAgreementBase.LegalAgreementBaseBuilder setAttachment(List<? extends Resource> attachments) - Specified by:
setAttachmentin interfaceLegalAgreementBase.LegalAgreementBaseBuilder
-
build
Description copied from interface:LegalAgreementBaseBuild Methods- Specified by:
buildin interfaceLegalAgreementBase- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceLegalAgreementBase- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceLegalAgreementBase.LegalAgreementBaseBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public LegalAgreementBase.LegalAgreementBaseBuilder 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
-