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

org.milyn.edi.unedifact.d06b.REGENT.SegmentGroup7 Maven / Gradle / Ivy

/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d06b.REGENT;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d06b.common.Relationship;    
import java.util.List;    
import org.milyn.edi.unedifact.d06b.common.PartyIdentification;    
import org.milyn.edi.unedifact.d06b.common.Reference;    
import org.milyn.edi.unedifact.d06b.common.Nationality;    
import org.milyn.edi.unedifact.d06b.common.PersonDemographicInformation;    
import org.milyn.edi.unedifact.d06b.common.DateTimePeriod;    
import org.milyn.edi.unedifact.d06b.common.Address;    
import org.milyn.edi.unedifact.d06b.common.PlaceLocationIdentification;    
import org.milyn.edi.unedifact.d06b.common.CommunicationContact;    
import org.milyn.edi.unedifact.d06b.common.Quantity;    
import org.milyn.edi.unedifact.d06b.common.FreeText;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup7 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private Relationship relationship;
    private List partyIdentification;
    private List reference;
    private List nationality;
    private PersonDemographicInformation personDemographicInformation;
    private List dateTimePeriod;
    private List
address; private List placeLocationIdentification; private List communicationContact; private List quantity; private List freeText; private List segmentGroup8; private List segmentGroup9; private List segmentGroup10; private List segmentGroup11; private List segmentGroup12; private List segmentGroup13; public void write(Writer writer, Delimiters delimiters) throws IOException { Writer nodeWriter = writer; if(relationship != null) { nodeWriter.write("REL"); nodeWriter.write(delimiters.getField()); relationship.write(nodeWriter, delimiters); } if(partyIdentification != null && !partyIdentification.isEmpty()) { for(PartyIdentification partyIdentificationInst : partyIdentification) { nodeWriter.write("PNA"); nodeWriter.write(delimiters.getField()); partyIdentificationInst.write(nodeWriter, delimiters); } } if(reference != null && !reference.isEmpty()) { for(Reference referenceInst : reference) { nodeWriter.write("RFF"); nodeWriter.write(delimiters.getField()); referenceInst.write(nodeWriter, delimiters); } } if(nationality != null && !nationality.isEmpty()) { for(Nationality nationalityInst : nationality) { nodeWriter.write("NAT"); nodeWriter.write(delimiters.getField()); nationalityInst.write(nodeWriter, delimiters); } } if(personDemographicInformation != null) { nodeWriter.write("PDI"); nodeWriter.write(delimiters.getField()); personDemographicInformation.write(nodeWriter, delimiters); } if(dateTimePeriod != null && !dateTimePeriod.isEmpty()) { for(DateTimePeriod dateTimePeriodInst : dateTimePeriod) { nodeWriter.write("DTM"); nodeWriter.write(delimiters.getField()); dateTimePeriodInst.write(nodeWriter, delimiters); } } if(address != null && !address.isEmpty()) { for(Address addressInst : address) { nodeWriter.write("ADR"); nodeWriter.write(delimiters.getField()); addressInst.write(nodeWriter, delimiters); } } if(placeLocationIdentification != null && !placeLocationIdentification.isEmpty()) { for(PlaceLocationIdentification placeLocationIdentificationInst : placeLocationIdentification) { nodeWriter.write("LOC"); nodeWriter.write(delimiters.getField()); placeLocationIdentificationInst.write(nodeWriter, delimiters); } } if(communicationContact != null && !communicationContact.isEmpty()) { for(CommunicationContact communicationContactInst : communicationContact) { nodeWriter.write("COM"); nodeWriter.write(delimiters.getField()); communicationContactInst.write(nodeWriter, delimiters); } } if(quantity != null && !quantity.isEmpty()) { for(Quantity quantityInst : quantity) { nodeWriter.write("QTY"); nodeWriter.write(delimiters.getField()); quantityInst.write(nodeWriter, delimiters); } } if(freeText != null && !freeText.isEmpty()) { for(FreeText freeTextInst : freeText) { nodeWriter.write("FTX"); nodeWriter.write(delimiters.getField()); freeTextInst.write(nodeWriter, delimiters); } } if(segmentGroup8 != null && !segmentGroup8.isEmpty()) { for(SegmentGroup8 segmentGroup8Inst : segmentGroup8) { segmentGroup8Inst.write(nodeWriter, delimiters); } } if(segmentGroup9 != null && !segmentGroup9.isEmpty()) { for(SegmentGroup9 segmentGroup9Inst : segmentGroup9) { segmentGroup9Inst.write(nodeWriter, delimiters); } } if(segmentGroup10 != null && !segmentGroup10.isEmpty()) { for(SegmentGroup10 segmentGroup10Inst : segmentGroup10) { segmentGroup10Inst.write(nodeWriter, delimiters); } } if(segmentGroup11 != null && !segmentGroup11.isEmpty()) { for(SegmentGroup11 segmentGroup11Inst : segmentGroup11) { segmentGroup11Inst.write(nodeWriter, delimiters); } } if(segmentGroup12 != null && !segmentGroup12.isEmpty()) { for(SegmentGroup12 segmentGroup12Inst : segmentGroup12) { segmentGroup12Inst.write(nodeWriter, delimiters); } } if(segmentGroup13 != null && !segmentGroup13.isEmpty()) { for(SegmentGroup13 segmentGroup13Inst : segmentGroup13) { segmentGroup13Inst.write(nodeWriter, delimiters); } } } public Relationship getRelationship() { return relationship; } public SegmentGroup7 setRelationship(Relationship relationship) { this.relationship = relationship; return this; } public List getPartyIdentification() { return partyIdentification; } public SegmentGroup7 setPartyIdentification(List partyIdentification) { this.partyIdentification = partyIdentification; return this; } public List getReference() { return reference; } public SegmentGroup7 setReference(List reference) { this.reference = reference; return this; } public List getNationality() { return nationality; } public SegmentGroup7 setNationality(List nationality) { this.nationality = nationality; return this; } public PersonDemographicInformation getPersonDemographicInformation() { return personDemographicInformation; } public SegmentGroup7 setPersonDemographicInformation(PersonDemographicInformation personDemographicInformation) { this.personDemographicInformation = personDemographicInformation; return this; } public List getDateTimePeriod() { return dateTimePeriod; } public SegmentGroup7 setDateTimePeriod(List dateTimePeriod) { this.dateTimePeriod = dateTimePeriod; return this; } public List
getAddress() { return address; } public SegmentGroup7 setAddress(List
address) { this.address = address; return this; } public List getPlaceLocationIdentification() { return placeLocationIdentification; } public SegmentGroup7 setPlaceLocationIdentification(List placeLocationIdentification) { this.placeLocationIdentification = placeLocationIdentification; return this; } public List getCommunicationContact() { return communicationContact; } public SegmentGroup7 setCommunicationContact(List communicationContact) { this.communicationContact = communicationContact; return this; } public List getQuantity() { return quantity; } public SegmentGroup7 setQuantity(List quantity) { this.quantity = quantity; return this; } public List getFreeText() { return freeText; } public SegmentGroup7 setFreeText(List freeText) { this.freeText = freeText; return this; } public List getSegmentGroup8() { return segmentGroup8; } public SegmentGroup7 setSegmentGroup8(List segmentGroup8) { this.segmentGroup8 = segmentGroup8; return this; } public List getSegmentGroup9() { return segmentGroup9; } public SegmentGroup7 setSegmentGroup9(List segmentGroup9) { this.segmentGroup9 = segmentGroup9; return this; } public List getSegmentGroup10() { return segmentGroup10; } public SegmentGroup7 setSegmentGroup10(List segmentGroup10) { this.segmentGroup10 = segmentGroup10; return this; } public List getSegmentGroup11() { return segmentGroup11; } public SegmentGroup7 setSegmentGroup11(List segmentGroup11) { this.segmentGroup11 = segmentGroup11; return this; } public List getSegmentGroup12() { return segmentGroup12; } public SegmentGroup7 setSegmentGroup12(List segmentGroup12) { this.segmentGroup12 = segmentGroup12; return this; } public List getSegmentGroup13() { return segmentGroup13; } public SegmentGroup7 setSegmentGroup13(List segmentGroup13) { this.segmentGroup13 = segmentGroup13; return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy