package org.hl7.v3;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name="POCD_MT000040.Participant1", propOrder={"realmCode", "typeId", "templateId", "functionCode", "time", "associatedEntity"})
public class POCDMT000040Participant1
{
protected List<CS> realmCode;
protected POCDMT000040InfrastructureRootTypeId typeId;
protected List<II> templateId;
protected CE functionCode;
protected IVLTS time;
@XmlElement(required=true)
protected POCDMT000040AssociatedEntity associatedEntity;
@XmlAttribute(name="nullFlavor")
protected List<String> nullFlavor;
@XmlAttribute(name="typeCode", required=true)
protected List<String> typeCode;
@XmlAttribute(name="contextControlCode")
protected String contextControlCode;
public List<CS> getRealmCode()
{
if (this.realmCode == null) {
this.realmCode = new ArrayList();
}
return this.realmCode;
}
public POCDMT000040InfrastructureRootTypeId getTypeId()
{
return this.typeId;
}
public void setTypeId(POCDMT000040InfrastructureRootTypeId value)
{
this.typeId = value;
}
public List<II> getTemplateId()
{
if (this.templateId == null) {
this.templateId = new ArrayList();
}
return this.templateId;
}
public CE getFunctionCode()
{
return this.functionCode;
}
public void setFunctionCode(CE value)
{
this.functionCode = value;
}
public IVLTS getTime()
{
return this.time;
}
public void setTime(IVLTS value)
{
this.time = value;
}
public POCDMT000040AssociatedEntity getAssociatedEntity()
{
return this.associatedEntity;
}
public void setAssociatedEntity(POCDMT000040AssociatedEntity value)
{
this.associatedEntity = value;
}
public List<String> getNullFlavor()
{
if (this.nullFlavor == null) {
this.nullFlavor = new ArrayList();
}
return this.nullFlavor;
}
public List<String> getTypeCode()
{
if (this.typeCode == null) {
this.typeCode = new ArrayList();
}
return this.typeCode;
}
public String getContextControlCode()
{
if (this.contextControlCode == null) {
return "OP";
}
return this.contextControlCode;
}
public void setContextControlCode(String value)
{
this.contextControlCode = value;
}
}