
package com.ttmzero.rtp.importer.ngm.elasticia.test.messages;

import quickfix.FieldNotFound;

import quickfix.Group;

public class Unnested extends Message {

	static final long serialVersionUID = 20050617;
	public static final String MSGTYPE = "0";
	

	public Unnested() {
		
		super(new int[] {20001,  0 });
		
		getHeader().setField(new com.ttmzero.rtp.importer.ngm.elasticia.test.fields.MsgType(MSGTYPE));
	}
	
	public void set(com.ttmzero.rtp.importer.ngm.elasticia.test.messages.component.UnnestedGrp component) {
		setComponent(component);
	}

	public com.ttmzero.rtp.importer.ngm.elasticia.test.messages.component.UnnestedGrp get(com.ttmzero.rtp.importer.ngm.elasticia.test.messages.component.UnnestedGrp component) throws FieldNotFound {
		getComponent(component);
		return component;
	}

	public com.ttmzero.rtp.importer.ngm.elasticia.test.messages.component.UnnestedGrp getUnnestedGrp() throws FieldNotFound {
		return get(new com.ttmzero.rtp.importer.ngm.elasticia.test.messages.component.UnnestedGrp());
	}

	public void set(com.ttmzero.rtp.importer.ngm.elasticia.test.fields.NoEntries value) {
		setField(value);
	}

	public com.ttmzero.rtp.importer.ngm.elasticia.test.fields.NoEntries get(com.ttmzero.rtp.importer.ngm.elasticia.test.fields.NoEntries value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public com.ttmzero.rtp.importer.ngm.elasticia.test.fields.NoEntries getNoEntries() throws FieldNotFound {
		return get(new com.ttmzero.rtp.importer.ngm.elasticia.test.fields.NoEntries());
	}

	public boolean isSet(com.ttmzero.rtp.importer.ngm.elasticia.test.fields.NoEntries field) {
		return isSetField(field);
	}

	public boolean isSetNoEntries() {
		return isSetField(20001);
	}

	public static class NoEntries extends Group {

		static final long serialVersionUID = 20050617;
		private static final int[] ORDER = {58, 0};

		public NoEntries() {
			super(20001, 58, ORDER);
		}
		
	public void set(com.ttmzero.rtp.importer.ngm.elasticia.test.fields.Text value) {
		setField(value);
	}

	public com.ttmzero.rtp.importer.ngm.elasticia.test.fields.Text get(com.ttmzero.rtp.importer.ngm.elasticia.test.fields.Text value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public com.ttmzero.rtp.importer.ngm.elasticia.test.fields.Text getText() throws FieldNotFound {
		return get(new com.ttmzero.rtp.importer.ngm.elasticia.test.fields.Text());
	}

	public boolean isSet(com.ttmzero.rtp.importer.ngm.elasticia.test.fields.Text field) {
		return isSetField(field);
	}

	public boolean isSetText() {
		return isSetField(58);
	}

	}

}
