biz.onixs.fix.fast.template
Class AbstractFieldInstr

java.lang.Object
  extended by biz.onixs.fix.fast.template.AbstractFieldInstr
All Implemented Interfaces:
FieldInstr
Direct Known Subclasses:
CompositeDecimalFieldInstr, Int32FieldInstr, Int64FieldInstr, LengthFieldInstr, SequenceFieldInstr, SimpleDecimalFieldInstr, StringFieldInstr, TemplateRefFieldInstr, UInt32FieldInstr, UInt64FieldInstr

public abstract class AbstractFieldInstr
extends Object
implements FieldInstr


Field Summary
protected  DictionaryEntry dictionaryEntry
           
protected  int id
           
protected  String name
           
protected  boolean optional
           
 
Constructor Summary
AbstractFieldInstr()
           
 
Method Summary
protected  void copy(AbstractFieldInstr instr)
           
 void fillTemplateRef(String name, Template template)
           
 DictionaryEntry getDictionaryEntry(CodingContext context)
           
 int getId()
           
 String getName()
           
 boolean isOptional()
           
 void setId(int id)
           
 void setName(String name)
           
 void setOptional(boolean optional)
           
 String toString()
           
 String toStringShort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface biz.onixs.fix.fast.template.FieldInstr
copy, decode, encode, occupiesPresenceMap
 

Field Detail

name

protected String name

id

protected int id

optional

protected boolean optional

dictionaryEntry

protected DictionaryEntry dictionaryEntry
Constructor Detail

AbstractFieldInstr

public AbstractFieldInstr()
Method Detail

isOptional

public boolean isOptional()
Specified by:
isOptional in interface FieldInstr

setOptional

public void setOptional(boolean optional)

getName

public String getName()
Specified by:
getName in interface FieldInstr

setName

public void setName(String name)

getId

public int getId()
Specified by:
getId in interface FieldInstr

setId

public void setId(int id)

getDictionaryEntry

public DictionaryEntry getDictionaryEntry(CodingContext context)

copy

protected void copy(AbstractFieldInstr instr)

fillTemplateRef

public void fillTemplateRef(String name,
                            Template template)
Specified by:
fillTemplateRef in interface FieldInstr

toString

public String toString()
Overrides:
toString in class Object

toStringShort

public String toStringShort()


Copyright © 2005-2012 Onix Solutions. All Rights Reserved.