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

org.milyn.edi.unedifact.d02a.BUSCRD.SegmentGroup19 Maven / Gradle / Ivy

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

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d02a.common.PlaceLocationIdentification;    
import java.util.List;    
import org.milyn.edi.unedifact.d02a.common.Relationship;    
import org.milyn.edi.unedifact.d02a.common.Address;    
import org.milyn.edi.unedifact.d02a.common.DateTimePeriod;    
import org.milyn.edi.unedifact.d02a.common.CommunicationContact;    
import org.milyn.edi.unedifact.d02a.common.InformationDetail;    
import org.milyn.edi.unedifact.d02a.common.FreeText;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup19 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private PlaceLocationIdentification placeLocationIdentification;
    private List relationship;
    private List
address; private List dateTimePeriod; private List communicationContact; private List informationDetail; private List freeText; private List segmentGroup20; private List segmentGroup21; public void write(Writer writer, Delimiters delimiters) throws IOException { Writer nodeWriter = writer; if(placeLocationIdentification != null) { nodeWriter.write("LOC"); nodeWriter.write(delimiters.getField()); placeLocationIdentification.write(nodeWriter, delimiters); } if(relationship != null && !relationship.isEmpty()) { for(Relationship relationshipInst : relationship) { nodeWriter.write("REL"); nodeWriter.write(delimiters.getField()); relationshipInst.write(nodeWriter, delimiters); } } if(address != null && !address.isEmpty()) { for(Address addressInst : address) { nodeWriter.write("ADR"); nodeWriter.write(delimiters.getField()); addressInst.write(nodeWriter, delimiters); } } if(dateTimePeriod != null && !dateTimePeriod.isEmpty()) { for(DateTimePeriod dateTimePeriodInst : dateTimePeriod) { nodeWriter.write("DTM"); nodeWriter.write(delimiters.getField()); dateTimePeriodInst.write(nodeWriter, delimiters); } } if(communicationContact != null && !communicationContact.isEmpty()) { for(CommunicationContact communicationContactInst : communicationContact) { nodeWriter.write("COM"); nodeWriter.write(delimiters.getField()); communicationContactInst.write(nodeWriter, delimiters); } } if(informationDetail != null && !informationDetail.isEmpty()) { for(InformationDetail informationDetailInst : informationDetail) { nodeWriter.write("IFD"); nodeWriter.write(delimiters.getField()); informationDetailInst.write(nodeWriter, delimiters); } } if(freeText != null && !freeText.isEmpty()) { for(FreeText freeTextInst : freeText) { nodeWriter.write("FTX"); nodeWriter.write(delimiters.getField()); freeTextInst.write(nodeWriter, delimiters); } } if(segmentGroup20 != null && !segmentGroup20.isEmpty()) { for(SegmentGroup20 segmentGroup20Inst : segmentGroup20) { segmentGroup20Inst.write(nodeWriter, delimiters); } } if(segmentGroup21 != null && !segmentGroup21.isEmpty()) { for(SegmentGroup21 segmentGroup21Inst : segmentGroup21) { segmentGroup21Inst.write(nodeWriter, delimiters); } } } public PlaceLocationIdentification getPlaceLocationIdentification() { return placeLocationIdentification; } public SegmentGroup19 setPlaceLocationIdentification(PlaceLocationIdentification placeLocationIdentification) { this.placeLocationIdentification = placeLocationIdentification; return this; } public List getRelationship() { return relationship; } public SegmentGroup19 setRelationship(List relationship) { this.relationship = relationship; return this; } public List
getAddress() { return address; } public SegmentGroup19 setAddress(List
address) { this.address = address; return this; } public List getDateTimePeriod() { return dateTimePeriod; } public SegmentGroup19 setDateTimePeriod(List dateTimePeriod) { this.dateTimePeriod = dateTimePeriod; return this; } public List getCommunicationContact() { return communicationContact; } public SegmentGroup19 setCommunicationContact(List communicationContact) { this.communicationContact = communicationContact; return this; } public List getInformationDetail() { return informationDetail; } public SegmentGroup19 setInformationDetail(List informationDetail) { this.informationDetail = informationDetail; return this; } public List getFreeText() { return freeText; } public SegmentGroup19 setFreeText(List freeText) { this.freeText = freeText; return this; } public List getSegmentGroup20() { return segmentGroup20; } public SegmentGroup19 setSegmentGroup20(List segmentGroup20) { this.segmentGroup20 = segmentGroup20; return this; } public List getSegmentGroup21() { return segmentGroup21; } public SegmentGroup19 setSegmentGroup21(List segmentGroup21) { this.segmentGroup21 = segmentGroup21; return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy