All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rosetta.jptlegalagreement.model.LegalAgreement Maven / Gradle / Ivy

There is a newer version: 11.25.1
Show newest version
package com.rosetta.jptlegalagreement.model;

import com.rosetta.jptlegalagreement.model.CsaInitialMargin2016JapaneseLaw;
import com.rosetta.jptlegalagreement.model.CsaInitialMargin2016NewYorkLaw;
import com.rosetta.jptlegalagreement.model.CsdInitialMargin2016EnglishLaw;
import com.rosetta.jptlegalagreement.model.Identifier;
import com.rosetta.jptlegalagreement.model.LegalAgreement;
import com.rosetta.jptlegalagreement.model.LegalAgreement.LegalAgreementBuilder;
import com.rosetta.jptlegalagreement.model.LegalAgreement.LegalAgreementBuilderImpl;
import com.rosetta.jptlegalagreement.model.LegalAgreement.LegalAgreementImpl;
import com.rosetta.jptlegalagreement.model.LegalAgreementBase;
import com.rosetta.jptlegalagreement.model.LegalAgreementBase.LegalAgreementBaseBuilder;
import com.rosetta.jptlegalagreement.model.LegalAgreementBase.LegalAgreementBaseBuilderImpl;
import com.rosetta.jptlegalagreement.model.LegalAgreementBase.LegalAgreementBaseImpl;
import com.rosetta.jptlegalagreement.model.LegalAgreementType;
import com.rosetta.jptlegalagreement.model.meta.LegalAgreementMeta;
import com.rosetta.model.lib.GlobalKey;
import com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder;
import com.rosetta.model.lib.RosettaModelObject;
import com.rosetta.model.lib.RosettaModelObjectBuilder;
import com.rosetta.model.lib.annotations.RosettaAttribute;
import com.rosetta.model.lib.annotations.RosettaDataType;
import com.rosetta.model.lib.meta.RosettaMetaData;
import com.rosetta.model.lib.path.RosettaPath;
import com.rosetta.model.lib.process.BuilderMerger;
import com.rosetta.model.lib.process.BuilderProcessor;
import com.rosetta.model.lib.process.Processor;
import com.rosetta.model.lib.records.Date;
import com.rosetta.model.metafields.MetaFields;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;

import static java.util.Optional.ofNullable;

/**
 * @version test
 */
@RosettaDataType(value="LegalAgreement", builder=LegalAgreement.LegalAgreementBuilderImpl.class, version="test")
public interface LegalAgreement extends LegalAgreementBase, GlobalKey {

	LegalAgreementMeta metaData = new LegalAgreementMeta();

	/*********************** Getter Methods  ***********************/
	CsdInitialMargin2016EnglishLaw getCsdInitialMargin2016EnglishLaw();
	CsaInitialMargin2016JapaneseLaw getCsaInitialMargin2016JapaneseLaw();
	CsaInitialMargin2016NewYorkLaw getCsaInitialMargin2016NewYorkLaw();
	MetaFields getMeta();

	/*********************** Build Methods  ***********************/
	LegalAgreement build();
	
	LegalAgreement.LegalAgreementBuilder toBuilder();
	
	static LegalAgreement.LegalAgreementBuilder builder() {
		return new LegalAgreement.LegalAgreementBuilderImpl();
	}

	/*********************** Utility Methods  ***********************/
	@Override
	default RosettaMetaData metaData() {
		return metaData;
	}
	
	@Override
	default Class getType() {
		return LegalAgreement.class;
	}
	
	
	@Override
	default void process(RosettaPath path, Processor processor) {
		processor.processBasic(path.newSubPath("agreementDate"), Date.class, getAgreementDate(), this);
		processor.processBasic(path.newSubPath("effectiveDate"), Date.class, getEffectiveDate(), this);
		processRosetta(path.newSubPath("identifier"), processor, Identifier.class, getIdentifier());
		processRosetta(path.newSubPath("agreementType"), processor, LegalAgreementType.class, getAgreementType());
		processRosetta(path.newSubPath("csdInitialMargin2016EnglishLaw"), processor, CsdInitialMargin2016EnglishLaw.class, getCsdInitialMargin2016EnglishLaw());
		processRosetta(path.newSubPath("csaInitialMargin2016JapaneseLaw"), processor, CsaInitialMargin2016JapaneseLaw.class, getCsaInitialMargin2016JapaneseLaw());
		processRosetta(path.newSubPath("csaInitialMargin2016NewYorkLaw"), processor, CsaInitialMargin2016NewYorkLaw.class, getCsaInitialMargin2016NewYorkLaw());
		processRosetta(path.newSubPath("meta"), processor, MetaFields.class, getMeta());
	}
	

	/*********************** Builder Interface  ***********************/
	interface LegalAgreementBuilder extends LegalAgreement, LegalAgreementBase.LegalAgreementBaseBuilder {
		CsdInitialMargin2016EnglishLaw.CsdInitialMargin2016EnglishLawBuilder getOrCreateCsdInitialMargin2016EnglishLaw();
		CsdInitialMargin2016EnglishLaw.CsdInitialMargin2016EnglishLawBuilder getCsdInitialMargin2016EnglishLaw();
		CsaInitialMargin2016JapaneseLaw.CsaInitialMargin2016JapaneseLawBuilder getOrCreateCsaInitialMargin2016JapaneseLaw();
		CsaInitialMargin2016JapaneseLaw.CsaInitialMargin2016JapaneseLawBuilder getCsaInitialMargin2016JapaneseLaw();
		CsaInitialMargin2016NewYorkLaw.CsaInitialMargin2016NewYorkLawBuilder getOrCreateCsaInitialMargin2016NewYorkLaw();
		CsaInitialMargin2016NewYorkLaw.CsaInitialMargin2016NewYorkLawBuilder getCsaInitialMargin2016NewYorkLaw();
		MetaFields.MetaFieldsBuilder getOrCreateMeta();
		MetaFields.MetaFieldsBuilder getMeta();
		LegalAgreement.LegalAgreementBuilder setAgreementDate(Date agreementDate);
		LegalAgreement.LegalAgreementBuilder setEffectiveDate(Date effectiveDate);
		LegalAgreement.LegalAgreementBuilder addIdentifier(Identifier identifier0);
		LegalAgreement.LegalAgreementBuilder addIdentifier(Identifier identifier1, int _idx);
		LegalAgreement.LegalAgreementBuilder addIdentifier(List identifier2);
		LegalAgreement.LegalAgreementBuilder setIdentifier(List identifier3);
		LegalAgreement.LegalAgreementBuilder setAgreementType(LegalAgreementType agreementType);
		LegalAgreement.LegalAgreementBuilder setCsdInitialMargin2016EnglishLaw(CsdInitialMargin2016EnglishLaw csdInitialMargin2016EnglishLaw);
		LegalAgreement.LegalAgreementBuilder setCsaInitialMargin2016JapaneseLaw(CsaInitialMargin2016JapaneseLaw csaInitialMargin2016JapaneseLaw);
		LegalAgreement.LegalAgreementBuilder setCsaInitialMargin2016NewYorkLaw(CsaInitialMargin2016NewYorkLaw csaInitialMargin2016NewYorkLaw);
		LegalAgreement.LegalAgreementBuilder setMeta(MetaFields meta);

		@Override
		default void process(RosettaPath path, BuilderProcessor processor) {
			processor.processBasic(path.newSubPath("agreementDate"), Date.class, getAgreementDate(), this);
			processor.processBasic(path.newSubPath("effectiveDate"), Date.class, getEffectiveDate(), this);
			processRosetta(path.newSubPath("identifier"), processor, Identifier.IdentifierBuilder.class, getIdentifier());
			processRosetta(path.newSubPath("agreementType"), processor, LegalAgreementType.LegalAgreementTypeBuilder.class, getAgreementType());
			processRosetta(path.newSubPath("csdInitialMargin2016EnglishLaw"), processor, CsdInitialMargin2016EnglishLaw.CsdInitialMargin2016EnglishLawBuilder.class, getCsdInitialMargin2016EnglishLaw());
			processRosetta(path.newSubPath("csaInitialMargin2016JapaneseLaw"), processor, CsaInitialMargin2016JapaneseLaw.CsaInitialMargin2016JapaneseLawBuilder.class, getCsaInitialMargin2016JapaneseLaw());
			processRosetta(path.newSubPath("csaInitialMargin2016NewYorkLaw"), processor, CsaInitialMargin2016NewYorkLaw.CsaInitialMargin2016NewYorkLawBuilder.class, getCsaInitialMargin2016NewYorkLaw());
			processRosetta(path.newSubPath("meta"), processor, MetaFields.MetaFieldsBuilder.class, getMeta());
		}
		

		LegalAgreement.LegalAgreementBuilder prune();
	}

	/*********************** Immutable Implementation of LegalAgreement  ***********************/
	class LegalAgreementImpl extends LegalAgreementBase.LegalAgreementBaseImpl implements LegalAgreement {
		private final CsdInitialMargin2016EnglishLaw csdInitialMargin2016EnglishLaw;
		private final CsaInitialMargin2016JapaneseLaw csaInitialMargin2016JapaneseLaw;
		private final CsaInitialMargin2016NewYorkLaw csaInitialMargin2016NewYorkLaw;
		private final MetaFields meta;
		
		protected LegalAgreementImpl(LegalAgreement.LegalAgreementBuilder builder) {
			super(builder);
			this.csdInitialMargin2016EnglishLaw = ofNullable(builder.getCsdInitialMargin2016EnglishLaw()).map(f->f.build()).orElse(null);
			this.csaInitialMargin2016JapaneseLaw = ofNullable(builder.getCsaInitialMargin2016JapaneseLaw()).map(f->f.build()).orElse(null);
			this.csaInitialMargin2016NewYorkLaw = ofNullable(builder.getCsaInitialMargin2016NewYorkLaw()).map(f->f.build()).orElse(null);
			this.meta = ofNullable(builder.getMeta()).map(f->f.build()).orElse(null);
		}
		
		@Override
		@RosettaAttribute("csdInitialMargin2016EnglishLaw")
		public CsdInitialMargin2016EnglishLaw getCsdInitialMargin2016EnglishLaw() {
			return csdInitialMargin2016EnglishLaw;
		}
		
		@Override
		@RosettaAttribute("csaInitialMargin2016JapaneseLaw")
		public CsaInitialMargin2016JapaneseLaw getCsaInitialMargin2016JapaneseLaw() {
			return csaInitialMargin2016JapaneseLaw;
		}
		
		@Override
		@RosettaAttribute("csaInitialMargin2016NewYorkLaw")
		public CsaInitialMargin2016NewYorkLaw getCsaInitialMargin2016NewYorkLaw() {
			return csaInitialMargin2016NewYorkLaw;
		}
		
		@Override
		@RosettaAttribute("meta")
		public MetaFields getMeta() {
			return meta;
		}
		
		@Override
		public LegalAgreement build() {
			return this;
		}
		
		@Override
		public LegalAgreement.LegalAgreementBuilder toBuilder() {
			LegalAgreement.LegalAgreementBuilder builder = builder();
			setBuilderFields(builder);
			return builder;
		}
		
		protected void setBuilderFields(LegalAgreement.LegalAgreementBuilder builder) {
			super.setBuilderFields(builder);
			ofNullable(getCsdInitialMargin2016EnglishLaw()).ifPresent(builder::setCsdInitialMargin2016EnglishLaw);
			ofNullable(getCsaInitialMargin2016JapaneseLaw()).ifPresent(builder::setCsaInitialMargin2016JapaneseLaw);
			ofNullable(getCsaInitialMargin2016NewYorkLaw()).ifPresent(builder::setCsaInitialMargin2016NewYorkLaw);
			ofNullable(getMeta()).ifPresent(builder::setMeta);
		}

		@Override
		public boolean equals(Object o) {
			if (this == o) return true;
			if (o == null || !(o instanceof RosettaModelObject) || !getType().equals(((RosettaModelObject)o).getType())) return false;
			if (!super.equals(o)) return false;
		
			LegalAgreement _that = getType().cast(o);
		
			if (!Objects.equals(csdInitialMargin2016EnglishLaw, _that.getCsdInitialMargin2016EnglishLaw())) return false;
			if (!Objects.equals(csaInitialMargin2016JapaneseLaw, _that.getCsaInitialMargin2016JapaneseLaw())) return false;
			if (!Objects.equals(csaInitialMargin2016NewYorkLaw, _that.getCsaInitialMargin2016NewYorkLaw())) return false;
			if (!Objects.equals(meta, _that.getMeta())) return false;
			return true;
		}
		
		@Override
		public int hashCode() {
			int _result = super.hashCode();
			_result = 31 * _result + (csdInitialMargin2016EnglishLaw != null ? csdInitialMargin2016EnglishLaw.hashCode() : 0);
			_result = 31 * _result + (csaInitialMargin2016JapaneseLaw != null ? csaInitialMargin2016JapaneseLaw.hashCode() : 0);
			_result = 31 * _result + (csaInitialMargin2016NewYorkLaw != null ? csaInitialMargin2016NewYorkLaw.hashCode() : 0);
			_result = 31 * _result + (meta != null ? meta.hashCode() : 0);
			return _result;
		}
		
		@Override
		public String toString() {
			return "LegalAgreement {" +
				"csdInitialMargin2016EnglishLaw=" + this.csdInitialMargin2016EnglishLaw + ", " +
				"csaInitialMargin2016JapaneseLaw=" + this.csaInitialMargin2016JapaneseLaw + ", " +
				"csaInitialMargin2016NewYorkLaw=" + this.csaInitialMargin2016NewYorkLaw + ", " +
				"meta=" + this.meta +
			'}' + " " + super.toString();
		}
	}

	/*********************** Builder Implementation of LegalAgreement  ***********************/
	class LegalAgreementBuilderImpl extends LegalAgreementBase.LegalAgreementBaseBuilderImpl  implements LegalAgreement.LegalAgreementBuilder, GlobalKeyBuilder {
	
		protected CsdInitialMargin2016EnglishLaw.CsdInitialMargin2016EnglishLawBuilder csdInitialMargin2016EnglishLaw;
		protected CsaInitialMargin2016JapaneseLaw.CsaInitialMargin2016JapaneseLawBuilder csaInitialMargin2016JapaneseLaw;
		protected CsaInitialMargin2016NewYorkLaw.CsaInitialMargin2016NewYorkLawBuilder csaInitialMargin2016NewYorkLaw;
		protected MetaFields.MetaFieldsBuilder meta;
	
		public LegalAgreementBuilderImpl() {
		}
	
		@Override
		@RosettaAttribute("csdInitialMargin2016EnglishLaw")
		public CsdInitialMargin2016EnglishLaw.CsdInitialMargin2016EnglishLawBuilder getCsdInitialMargin2016EnglishLaw() {
			return csdInitialMargin2016EnglishLaw;
		}
		
		@Override
		public CsdInitialMargin2016EnglishLaw.CsdInitialMargin2016EnglishLawBuilder getOrCreateCsdInitialMargin2016EnglishLaw() {
			CsdInitialMargin2016EnglishLaw.CsdInitialMargin2016EnglishLawBuilder result;
			if (csdInitialMargin2016EnglishLaw!=null) {
				result = csdInitialMargin2016EnglishLaw;
			}
			else {
				result = csdInitialMargin2016EnglishLaw = CsdInitialMargin2016EnglishLaw.builder();
			}
			
			return result;
		}
		
		@Override
		@RosettaAttribute("csaInitialMargin2016JapaneseLaw")
		public CsaInitialMargin2016JapaneseLaw.CsaInitialMargin2016JapaneseLawBuilder getCsaInitialMargin2016JapaneseLaw() {
			return csaInitialMargin2016JapaneseLaw;
		}
		
		@Override
		public CsaInitialMargin2016JapaneseLaw.CsaInitialMargin2016JapaneseLawBuilder getOrCreateCsaInitialMargin2016JapaneseLaw() {
			CsaInitialMargin2016JapaneseLaw.CsaInitialMargin2016JapaneseLawBuilder result;
			if (csaInitialMargin2016JapaneseLaw!=null) {
				result = csaInitialMargin2016JapaneseLaw;
			}
			else {
				result = csaInitialMargin2016JapaneseLaw = CsaInitialMargin2016JapaneseLaw.builder();
			}
			
			return result;
		}
		
		@Override
		@RosettaAttribute("csaInitialMargin2016NewYorkLaw")
		public CsaInitialMargin2016NewYorkLaw.CsaInitialMargin2016NewYorkLawBuilder getCsaInitialMargin2016NewYorkLaw() {
			return csaInitialMargin2016NewYorkLaw;
		}
		
		@Override
		public CsaInitialMargin2016NewYorkLaw.CsaInitialMargin2016NewYorkLawBuilder getOrCreateCsaInitialMargin2016NewYorkLaw() {
			CsaInitialMargin2016NewYorkLaw.CsaInitialMargin2016NewYorkLawBuilder result;
			if (csaInitialMargin2016NewYorkLaw!=null) {
				result = csaInitialMargin2016NewYorkLaw;
			}
			else {
				result = csaInitialMargin2016NewYorkLaw = CsaInitialMargin2016NewYorkLaw.builder();
			}
			
			return result;
		}
		
		@Override
		@RosettaAttribute("meta")
		public MetaFields.MetaFieldsBuilder getMeta() {
			return meta;
		}
		
		@Override
		public MetaFields.MetaFieldsBuilder getOrCreateMeta() {
			MetaFields.MetaFieldsBuilder result;
			if (meta!=null) {
				result = meta;
			}
			else {
				result = meta = MetaFields.builder();
			}
			
			return result;
		}
		
		@Override
		@RosettaAttribute("agreementDate")
		public LegalAgreement.LegalAgreementBuilder setAgreementDate(Date agreementDate) {
			this.agreementDate = agreementDate==null?null:agreementDate;
			return this;
		}
		@Override
		@RosettaAttribute("effectiveDate")
		public LegalAgreement.LegalAgreementBuilder setEffectiveDate(Date effectiveDate) {
			this.effectiveDate = effectiveDate==null?null:effectiveDate;
			return this;
		}
		@Override
		public LegalAgreement.LegalAgreementBuilder addIdentifier(Identifier identifier) {
			if (identifier!=null) this.identifier.add(identifier.toBuilder());
			return this;
		}
		
		@Override
		public LegalAgreement.LegalAgreementBuilder addIdentifier(Identifier identifier, int _idx) {
			getIndex(this.identifier, _idx, () -> identifier.toBuilder());
			return this;
		}
		@Override 
		public LegalAgreement.LegalAgreementBuilder addIdentifier(List identifiers) {
			if (identifiers != null) {
				for (Identifier toAdd : identifiers) {
					this.identifier.add(toAdd.toBuilder());
				}
			}
			return this;
		}
		
		@Override 
		@RosettaAttribute("identifier")
		public LegalAgreement.LegalAgreementBuilder setIdentifier(List identifiers) {
			if (identifiers == null)  {
				this.identifier = new ArrayList<>();
			}
			else {
				this.identifier = identifiers.stream()
					.map(_a->_a.toBuilder())
					.collect(Collectors.toCollection(()->new ArrayList<>()));
			}
			return this;
		}
		
		@Override
		@RosettaAttribute("agreementType")
		public LegalAgreement.LegalAgreementBuilder setAgreementType(LegalAgreementType agreementType) {
			this.agreementType = agreementType==null?null:agreementType.toBuilder();
			return this;
		}
		@Override
		@RosettaAttribute("csdInitialMargin2016EnglishLaw")
		public LegalAgreement.LegalAgreementBuilder setCsdInitialMargin2016EnglishLaw(CsdInitialMargin2016EnglishLaw csdInitialMargin2016EnglishLaw) {
			this.csdInitialMargin2016EnglishLaw = csdInitialMargin2016EnglishLaw==null?null:csdInitialMargin2016EnglishLaw.toBuilder();
			return this;
		}
		@Override
		@RosettaAttribute("csaInitialMargin2016JapaneseLaw")
		public LegalAgreement.LegalAgreementBuilder setCsaInitialMargin2016JapaneseLaw(CsaInitialMargin2016JapaneseLaw csaInitialMargin2016JapaneseLaw) {
			this.csaInitialMargin2016JapaneseLaw = csaInitialMargin2016JapaneseLaw==null?null:csaInitialMargin2016JapaneseLaw.toBuilder();
			return this;
		}
		@Override
		@RosettaAttribute("csaInitialMargin2016NewYorkLaw")
		public LegalAgreement.LegalAgreementBuilder setCsaInitialMargin2016NewYorkLaw(CsaInitialMargin2016NewYorkLaw csaInitialMargin2016NewYorkLaw) {
			this.csaInitialMargin2016NewYorkLaw = csaInitialMargin2016NewYorkLaw==null?null:csaInitialMargin2016NewYorkLaw.toBuilder();
			return this;
		}
		@Override
		@RosettaAttribute("meta")
		public LegalAgreement.LegalAgreementBuilder setMeta(MetaFields meta) {
			this.meta = meta==null?null:meta.toBuilder();
			return this;
		}
		
		@Override
		public LegalAgreement build() {
			return new LegalAgreement.LegalAgreementImpl(this);
		}
		
		@Override
		public LegalAgreement.LegalAgreementBuilder toBuilder() {
			return this;
		}
	
		@SuppressWarnings("unchecked")
		@Override
		public LegalAgreement.LegalAgreementBuilder prune() {
			super.prune();
			if (csdInitialMargin2016EnglishLaw!=null && !csdInitialMargin2016EnglishLaw.prune().hasData()) csdInitialMargin2016EnglishLaw = null;
			if (csaInitialMargin2016JapaneseLaw!=null && !csaInitialMargin2016JapaneseLaw.prune().hasData()) csaInitialMargin2016JapaneseLaw = null;
			if (csaInitialMargin2016NewYorkLaw!=null && !csaInitialMargin2016NewYorkLaw.prune().hasData()) csaInitialMargin2016NewYorkLaw = null;
			if (meta!=null && !meta.prune().hasData()) meta = null;
			return this;
		}
		
		@Override
		public boolean hasData() {
			if (super.hasData()) return true;
			if (getCsdInitialMargin2016EnglishLaw()!=null && getCsdInitialMargin2016EnglishLaw().hasData()) return true;
			if (getCsaInitialMargin2016JapaneseLaw()!=null && getCsaInitialMargin2016JapaneseLaw().hasData()) return true;
			if (getCsaInitialMargin2016NewYorkLaw()!=null && getCsaInitialMargin2016NewYorkLaw().hasData()) return true;
			return false;
		}
	
		@SuppressWarnings("unchecked")
		@Override
		public LegalAgreement.LegalAgreementBuilder merge(RosettaModelObjectBuilder other, BuilderMerger merger) {
			super.merge(other, merger);
			
			LegalAgreement.LegalAgreementBuilder o = (LegalAgreement.LegalAgreementBuilder) other;
			
			merger.mergeRosetta(getCsdInitialMargin2016EnglishLaw(), o.getCsdInitialMargin2016EnglishLaw(), this::setCsdInitialMargin2016EnglishLaw);
			merger.mergeRosetta(getCsaInitialMargin2016JapaneseLaw(), o.getCsaInitialMargin2016JapaneseLaw(), this::setCsaInitialMargin2016JapaneseLaw);
			merger.mergeRosetta(getCsaInitialMargin2016NewYorkLaw(), o.getCsaInitialMargin2016NewYorkLaw(), this::setCsaInitialMargin2016NewYorkLaw);
			merger.mergeRosetta(getMeta(), o.getMeta(), this::setMeta);
			
			return this;
		}
	
		@Override
		public boolean equals(Object o) {
			if (this == o) return true;
			if (o == null || !(o instanceof RosettaModelObject) || !getType().equals(((RosettaModelObject)o).getType())) return false;
			if (!super.equals(o)) return false;
		
			LegalAgreement _that = getType().cast(o);
		
			if (!Objects.equals(csdInitialMargin2016EnglishLaw, _that.getCsdInitialMargin2016EnglishLaw())) return false;
			if (!Objects.equals(csaInitialMargin2016JapaneseLaw, _that.getCsaInitialMargin2016JapaneseLaw())) return false;
			if (!Objects.equals(csaInitialMargin2016NewYorkLaw, _that.getCsaInitialMargin2016NewYorkLaw())) return false;
			if (!Objects.equals(meta, _that.getMeta())) return false;
			return true;
		}
		
		@Override
		public int hashCode() {
			int _result = super.hashCode();
			_result = 31 * _result + (csdInitialMargin2016EnglishLaw != null ? csdInitialMargin2016EnglishLaw.hashCode() : 0);
			_result = 31 * _result + (csaInitialMargin2016JapaneseLaw != null ? csaInitialMargin2016JapaneseLaw.hashCode() : 0);
			_result = 31 * _result + (csaInitialMargin2016NewYorkLaw != null ? csaInitialMargin2016NewYorkLaw.hashCode() : 0);
			_result = 31 * _result + (meta != null ? meta.hashCode() : 0);
			return _result;
		}
		
		@Override
		public String toString() {
			return "LegalAgreementBuilder {" +
				"csdInitialMargin2016EnglishLaw=" + this.csdInitialMargin2016EnglishLaw + ", " +
				"csaInitialMargin2016JapaneseLaw=" + this.csaInitialMargin2016JapaneseLaw + ", " +
				"csaInitialMargin2016NewYorkLaw=" + this.csaInitialMargin2016NewYorkLaw + ", " +
				"meta=" + this.meta +
			'}' + " " + super.toString();
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy