wt.query.report
Class ColumnDef

java.lang.Object
  extended bywt.query.report.ColumnDef
All Implemented Interfaces:
Externalizable, Serializable
Direct Known Subclasses:
ObjectColumnDef, PropertyColumnDef

public abstract class ColumnDef
extends Object
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
private  String heading
           
private  Locale locale
           
private  String name
           
protected static long OLD_FORMAT_VERSION_UID
           
static String QUALIFIED_SEPARATOR
          

Supported API: false
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Constructor Summary
ColumnDef()
           
 
Method Summary
 Object getDisplay(Object a_result)
          Get a display result object for this column.
 String getHeading()
          Gets the value of the attribute: heading.
 Locale getLocale()
          Gets the value of the attribute: locale.
 String getName()
          Gets the value of the attribute: name.
protected abstract  Object getObject(Object a_object)
          Get the result object for this column.
abstract  String getQualifiedHeading()
          

Supported API: false
abstract  String getQualifiedName()
          

Supported API: false
abstract  int getResultIndex()
          Gets the value of the attribute: resultIndex.
abstract  Class getType()
          Gets the value of the attribute: type.
private  void headingValidate(String a_Heading)
           
private  void nameValidate(String a_Name)
           
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(ColumnDef thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setHeading(String a_Heading)
          Sets the value of the attribute: heading.
 void setLocale(Locale a_Locale)
          Sets the value of the attribute: locale.
 void setName(String a_Name)
          Sets the value of the attribute: name.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

name

private String name

heading

private String heading

QUALIFIED_SEPARATOR

public static final String QUALIFIED_SEPARATOR


Supported API: false

See Also:
Constant Field Values

locale

private Locale locale

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

ColumnDef

public ColumnDef()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ColumnDef thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getResultIndex

public abstract int getResultIndex()
Gets the value of the attribute: resultIndex.

Supported API: false

Returns:
int

getName

public String getName()
Gets the value of the attribute: name.

Supported API: false

Returns:
String

setName

public void setName(String a_Name)
             throws WTPropertyVetoException
Sets the value of the attribute: name.

Supported API: false

Parameters:
a_Name -
Throws:
WTPropertyVetoException

nameValidate

private void nameValidate(String a_Name)
                   throws WTPropertyVetoException
Parameters:
a_Name -
Throws:
WTPropertyVetoException

getHeading

public String getHeading()
Gets the value of the attribute: heading.

Supported API: false

Returns:
String

setHeading

public void setHeading(String a_Heading)
                throws WTPropertyVetoException
Sets the value of the attribute: heading.

Supported API: false

Parameters:
a_Heading -
Throws:
WTPropertyVetoException

headingValidate

private void headingValidate(String a_Heading)
                      throws WTPropertyVetoException
Parameters:
a_Heading -
Throws:
WTPropertyVetoException

getType

public abstract Class getType()
                       throws WTException
Gets the value of the attribute: type.

Supported API: false

Returns:
Class
Throws:
WTException

getLocale

public Locale getLocale()
Gets the value of the attribute: locale.

Supported API: false

Returns:
Locale

setLocale

public void setLocale(Locale a_Locale)
               throws WTPropertyVetoException
Sets the value of the attribute: locale.

Supported API: false

Parameters:
a_Locale -
Throws:
WTPropertyVetoException

getDisplay

public Object getDisplay(Object a_result)
                  throws WTException
Get a display result object for this column.

Supported API: false

Parameters:
a_result -
Returns:
Object
Throws:
WTException

getObject

protected abstract Object getObject(Object a_object)
                             throws WTException
Get the result object for this column.

Supported API: false

Parameters:
a_object -
Returns:
Object
Throws:
WTException

getQualifiedHeading

public abstract String getQualifiedHeading()


Supported API: false

Returns:
String

getQualifiedName

public abstract String getQualifiedName()


Supported API: false

Returns:
String