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.CustodianOrganization", propOrder={"realmCode", "typeId", "templateId", "id", "name", "telecom", "addr"}) public class POCDMT000040CustodianOrganization { protected List<CS> realmCode; protected POCDMT000040InfrastructureRootTypeId typeId; protected List<II> templateId; @XmlElement(required=true) protected List<II> id; protected ON name; protected TEL telecom; protected AD addr; @XmlAttribute(name="nullFlavor") protected List<String> nullFlavor; @XmlAttribute(name="classCode") protected String classCode; @XmlAttribute(name="determinerCode") protected String determinerCode; 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 List<II> getId() { if (this.id == null) { this.id = new ArrayList(); } return this.id; } public ON getName() { return this.name; } public void setName(ON value) { this.name = value; } public TEL getTelecom() { return this.telecom; } public void setTelecom(TEL value) { this.telecom = value; } public AD getAddr() { return this.addr; } public void setAddr(AD value) { this.addr = value; } public List<String> getNullFlavor() { if (this.nullFlavor == null) { this.nullFlavor = new ArrayList(); } return this.nullFlavor; } public String getClassCode() { if (this.classCode == null) { return "ORG"; } return this.classCode; } public void setClassCode(String value) { this.classCode = value; } public String getDeterminerCode() { if (this.determinerCode == null) { return "INSTANCE"; } return this.determinerCode; } public void setDeterminerCode(String value) { this.determinerCode = value; } }