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

org.milyn.edi.unedifact.d98a.SOCADE.SegmentGroup6 Maven / Gradle / Ivy

There is a newer version: 1.7.1.0
Show newest version
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d98a.SOCADE;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d98a.common.ProcessIdentification;    
import java.util.List;    
import org.milyn.edi.unedifact.d98a.common.FreeText;    
import org.milyn.edi.unedifact.d98a.common.Attribute;    
import org.milyn.edi.unedifact.d98a.common.DateTimePeriod;    
import org.milyn.edi.unedifact.d98a.common.EmploymentDetails;    
import org.milyn.edi.unedifact.d98a.common.Address;    
import org.milyn.edi.unedifact.d98a.common.DocumentMessageDetails;    
import org.milyn.edi.unedifact.d98a.common.IndexDetails;    
import org.milyn.edi.unedifact.d98a.common.Status;    
import org.milyn.edi.unedifact.d98a.common.PlaceLocationIdentification;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup6 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private ProcessIdentification processIdentification;
    private List freeText;
    private List attribute;
    private List dateTimePeriod;
    private List employmentDetails;
    private List
address; private List documentMessageDetails; private List indexDetails; private List status; private List placeLocationIdentification; private List segmentGroup7; private List segmentGroup8; private List segmentGroup9; private List segmentGroup10; public void write(Writer writer, Delimiters delimiters) throws IOException { Writer nodeWriter = writer; if(processIdentification != null) { nodeWriter.write("PRC"); nodeWriter.write(delimiters.getField()); processIdentification.write(nodeWriter, delimiters); } if(freeText != null && !freeText.isEmpty()) { for(FreeText freeTextInst : freeText) { nodeWriter.write("FTX"); nodeWriter.write(delimiters.getField()); freeTextInst.write(nodeWriter, delimiters); } } if(attribute != null && !attribute.isEmpty()) { for(Attribute attributeInst : attribute) { nodeWriter.write("ATT"); nodeWriter.write(delimiters.getField()); attributeInst.write(nodeWriter, delimiters); } } if(dateTimePeriod != null && !dateTimePeriod.isEmpty()) { for(DateTimePeriod dateTimePeriodInst : dateTimePeriod) { nodeWriter.write("DTM"); nodeWriter.write(delimiters.getField()); dateTimePeriodInst.write(nodeWriter, delimiters); } } if(employmentDetails != null && !employmentDetails.isEmpty()) { for(EmploymentDetails employmentDetailsInst : employmentDetails) { nodeWriter.write("EMP"); nodeWriter.write(delimiters.getField()); employmentDetailsInst.write(nodeWriter, delimiters); } } if(address != null && !address.isEmpty()) { for(Address addressInst : address) { nodeWriter.write("ADR"); nodeWriter.write(delimiters.getField()); addressInst.write(nodeWriter, delimiters); } } if(documentMessageDetails != null && !documentMessageDetails.isEmpty()) { for(DocumentMessageDetails documentMessageDetailsInst : documentMessageDetails) { nodeWriter.write("DOC"); nodeWriter.write(delimiters.getField()); documentMessageDetailsInst.write(nodeWriter, delimiters); } } if(indexDetails != null && !indexDetails.isEmpty()) { for(IndexDetails indexDetailsInst : indexDetails) { nodeWriter.write("IND"); nodeWriter.write(delimiters.getField()); indexDetailsInst.write(nodeWriter, delimiters); } } if(status != null && !status.isEmpty()) { for(Status statusInst : status) { nodeWriter.write("STS"); nodeWriter.write(delimiters.getField()); statusInst.write(nodeWriter, delimiters); } } if(placeLocationIdentification != null && !placeLocationIdentification.isEmpty()) { for(PlaceLocationIdentification placeLocationIdentificationInst : placeLocationIdentification) { nodeWriter.write("LOC"); nodeWriter.write(delimiters.getField()); placeLocationIdentificationInst.write(nodeWriter, delimiters); } } if(segmentGroup7 != null && !segmentGroup7.isEmpty()) { for(SegmentGroup7 segmentGroup7Inst : segmentGroup7) { segmentGroup7Inst.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); } } } public ProcessIdentification getProcessIdentification() { return processIdentification; } public SegmentGroup6 setProcessIdentification(ProcessIdentification processIdentification) { this.processIdentification = processIdentification; return this; } public List getFreeText() { return freeText; } public SegmentGroup6 setFreeText(List freeText) { this.freeText = freeText; return this; } public List getAttribute() { return attribute; } public SegmentGroup6 setAttribute(List attribute) { this.attribute = attribute; return this; } public List getDateTimePeriod() { return dateTimePeriod; } public SegmentGroup6 setDateTimePeriod(List dateTimePeriod) { this.dateTimePeriod = dateTimePeriod; return this; } public List getEmploymentDetails() { return employmentDetails; } public SegmentGroup6 setEmploymentDetails(List employmentDetails) { this.employmentDetails = employmentDetails; return this; } public List
getAddress() { return address; } public SegmentGroup6 setAddress(List
address) { this.address = address; return this; } public List getDocumentMessageDetails() { return documentMessageDetails; } public SegmentGroup6 setDocumentMessageDetails(List documentMessageDetails) { this.documentMessageDetails = documentMessageDetails; return this; } public List getIndexDetails() { return indexDetails; } public SegmentGroup6 setIndexDetails(List indexDetails) { this.indexDetails = indexDetails; return this; } public List getStatus() { return status; } public SegmentGroup6 setStatus(List status) { this.status = status; return this; } public List getPlaceLocationIdentification() { return placeLocationIdentification; } public SegmentGroup6 setPlaceLocationIdentification(List placeLocationIdentification) { this.placeLocationIdentification = placeLocationIdentification; return this; } public List getSegmentGroup7() { return segmentGroup7; } public SegmentGroup6 setSegmentGroup7(List segmentGroup7) { this.segmentGroup7 = segmentGroup7; return this; } public List getSegmentGroup8() { return segmentGroup8; } public SegmentGroup6 setSegmentGroup8(List segmentGroup8) { this.segmentGroup8 = segmentGroup8; return this; } public List getSegmentGroup9() { return segmentGroup9; } public SegmentGroup6 setSegmentGroup9(List segmentGroup9) { this.segmentGroup9 = segmentGroup9; return this; } public List getSegmentGroup10() { return segmentGroup10; } public SegmentGroup6 setSegmentGroup10(List segmentGroup10) { this.segmentGroup10 = segmentGroup10; return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy