net.sourceforge.fixagora.basis.client.model.message
Class AbstractFIXElement

java.lang.Object
  extended by net.sourceforge.fixagora.basis.client.model.message.AbstractFIXElement
Direct Known Subclasses:
FIXComponent, FIXField, FIXGroup, FIXMessage

public abstract class AbstractFIXElement
extends java.lang.Object

The Class AbstractFIXElement.


Nested Class Summary
static class AbstractFIXElement.FieldType
          The Enum FieldType.
 
Constructor Summary
AbstractFIXElement(java.lang.String name, int number, AbstractFIXElement.FieldType fieldType, java.util.List<AbstractFIXElement> fixFields)
          Instantiates a new abstract fix element.
 
Method Summary
 boolean atLeastOneSet(SpreadSheetFIXFieldMap fieldMap)
          At least one set.
 java.util.List<AbstractFIXElement> getAbstractFIXElements()
          Gets the abstract fix elements.
abstract  int getDepth()
          Gets the depth.
 AbstractFIXElement.FieldType getFieldType()
          Gets the field type.
 FontProperties getFontProperties()
          Gets the font properties.
 java.lang.String getName()
          Gets the name.
 int getNumber()
          Gets the number.
 void setFontProperties(FontProperties fontProperties)
          Sets the font properties.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractFIXElement

public AbstractFIXElement(java.lang.String name,
                          int number,
                          AbstractFIXElement.FieldType fieldType,
                          java.util.List<AbstractFIXElement> fixFields)
Instantiates a new abstract fix element.

Parameters:
name - the name
number - the number
fieldType - the field type
fixFields - the fix fields
Method Detail

atLeastOneSet

public boolean atLeastOneSet(SpreadSheetFIXFieldMap fieldMap)
At least one set.

Parameters:
fieldMap - the field map
Returns:
true, if successful

getAbstractFIXElements

public java.util.List<AbstractFIXElement> getAbstractFIXElements()
Gets the abstract fix elements.

Returns:
the abstract fix elements

getDepth

public abstract int getDepth()
Gets the depth.

Returns:
the depth

getFieldType

public AbstractFIXElement.FieldType getFieldType()
Gets the field type.

Returns:
the field type

getFontProperties

public FontProperties getFontProperties()
Gets the font properties.

Returns:
the font properties

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

getNumber

public int getNumber()
Gets the number.

Returns:
the number

setFontProperties

public void setFontProperties(FontProperties fontProperties)
Sets the font properties.

Parameters:
fontProperties - the new font properties

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object