com.objex.panywhere
Class TableField

java.lang.Object
  extended by com.objex.panywhere.DatabaseField
      extended by com.objex.panywhere.TableField
All Implemented Interfaces:
java.io.Serializable

public class TableField
extends DatabaseField
implements java.io.Serializable

Defines a table field that may have one or more subfields of type DatabaseField

See Also:
Serialized Form

Field Summary
static java.lang.String PROP_SAMPLE_PROPERTY
           
 
Constructor Summary
TableField()
           
 
Method Summary
 void addField(DatabaseField aSubField)
          Add the field aSubField as a subfield of this tbale field
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 DatabaseField getField(int ai_fid)
           
 java.lang.String getSampleProperty()
           
 java.util.Map getSubfields()
          Get the list of subfields for this table field.
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void setSampleProperty(java.lang.String value)
           
 void setSubfields(java.util.Map aSubFields)
          Set the subfields of this field to the contents of the Map aSubFields
 
Methods inherited from class com.objex.panywhere.DatabaseField
addSubField, getDatatype, getFieldid, getFieldname, getID, getLUValues, getSubField, setDatatype, setFieldid, setFieldname, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_SAMPLE_PROPERTY

public static final java.lang.String PROP_SAMPLE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

TableField

public TableField()
Method Detail

getSampleProperty

public java.lang.String getSampleProperty()

setSampleProperty

public void setSampleProperty(java.lang.String value)

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

getSubfields

public java.util.Map getSubfields()
Get the list of subfields for this table field.

Overrides:
getSubfields in class DatabaseField

setSubfields

public void setSubfields(java.util.Map aSubFields)
Set the subfields of this field to the contents of the Map aSubFields

Overrides:
setSubfields in class DatabaseField

addField

public void addField(DatabaseField aSubField)
Add the field aSubField as a subfield of this tbale field


getField

public DatabaseField getField(int ai_fid)
Returns:
a subfield whose ID is ai_fid or null if no subfield is found