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

quickfix.fix40.SequenceReset Maven / Gradle / Ivy

There is a newer version: 2.3.1
Show newest version

package quickfix.fix40;

import quickfix.FieldNotFound;


public class SequenceReset extends Message {

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

	public SequenceReset() {
		super();
		getHeader().setField(new quickfix.field.MsgType(MSGTYPE));
	}
	
	public SequenceReset(quickfix.field.NewSeqNo newSeqNo) {
		this();
		setField(newSeqNo);
	}
	
	public void set(quickfix.field.GapFillFlag value) {
		setField(value);
	}

	public quickfix.field.GapFillFlag get(quickfix.field.GapFillFlag value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public quickfix.field.GapFillFlag getGapFillFlag() throws FieldNotFound {
		return get(new quickfix.field.GapFillFlag());
	}

	public boolean isSet(quickfix.field.GapFillFlag field) {
		return isSetField(field);
	}

	public boolean isSetGapFillFlag() {
		return isSetField(123);
	}

	public void set(quickfix.field.NewSeqNo value) {
		setField(value);
	}

	public quickfix.field.NewSeqNo get(quickfix.field.NewSeqNo value) throws FieldNotFound {
		getField(value);
		return value;
	}

	public quickfix.field.NewSeqNo getNewSeqNo() throws FieldNotFound {
		return get(new quickfix.field.NewSeqNo());
	}

	public boolean isSet(quickfix.field.NewSeqNo field) {
		return isSetField(field);
	}

	public boolean isSetNewSeqNo() {
		return isSetField(36);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy