wt.query.report
Class ObjectColumnDef

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

public class ObjectColumnDef
extends ColumnDef
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
private static Class[] INFLATE_ARG_TYPES
           
private static String INFLATE_CLASS_NAME
           
private static String INFLATE_METHOD_NAME
           
private  Method inflateMethod
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
private  int resultIndex
           
(package private) static long serialVersionUID
           
private  Class type
           
 
Fields inherited from class wt.query.report.ColumnDef
QUALIFIED_SEPARATOR
 
Constructor Summary
ObjectColumnDef()
          

Supported API: false
ObjectColumnDef(int a_resultIndex, Class a_type, String a_heading, Locale a_locale)
          

Supported API: false
 
Method Summary
protected  Object getObject(Object a_object)
          Get the result object for this column.
 String getQualifiedHeading()
          

Supported API: false
 String getQualifiedName()
          

Supported API: false
 int getResultIndex()
          Gets the value of the attribute: resultIndex.
 Class getType()
          Gets the value of the attribute: type.
private  Object inflate(ObjectIdentifier a_objectId)
           
 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(ObjectColumnDef thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setResultIndex(int a_ResultIndex)
          Sets the value of the attribute: resultIndex.
 void setType(Class a_Type)
          Sets the value of the attribute: type.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.query.report.ColumnDef
getDisplay, getHeading, getLocale, getName, readVersion, setHeading, setLocale, setName
 
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

resultIndex

private int resultIndex

type

private Class type

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

INFLATE_METHOD_NAME

private static final String INFLATE_METHOD_NAME
See Also:
Constant Field Values

INFLATE_CLASS_NAME

private static final String INFLATE_CLASS_NAME
See Also:
Constant Field Values

INFLATE_ARG_TYPES

private static final Class[] INFLATE_ARG_TYPES

inflateMethod

private transient Method inflateMethod
Constructor Detail

ObjectColumnDef

public ObjectColumnDef()


Supported API: false


ObjectColumnDef

public ObjectColumnDef(int a_resultIndex,
                       Class a_type,
                       String a_heading,
                       Locale a_locale)
                throws WTPropertyVetoException


Supported API: false

Parameters:
a_resultIndex -
a_type -
a_heading -
a_locale -
Throws:
WTPropertyVetoException
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
Overrides:
writeExternal in class ColumnDef
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
Overrides:
readExternal in class ColumnDef
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ObjectColumnDef 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 int getResultIndex()
Gets the value of the attribute: resultIndex.

Supported API: false

Specified by:
getResultIndex in class ColumnDef
Returns:
int

setResultIndex

public void setResultIndex(int a_ResultIndex)
                    throws WTPropertyVetoException
Sets the value of the attribute: resultIndex.

Supported API: false

Parameters:
a_ResultIndex -
Throws:
WTPropertyVetoException

getType

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

Supported API: false

Specified by:
getType in class ColumnDef
Returns:
Class
Throws:
WTException

setType

public void setType(Class a_Type)
             throws WTPropertyVetoException
Sets the value of the attribute: type.

Supported API: false

Parameters:
a_Type -
Throws:
WTPropertyVetoException

getObject

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

Supported API: false

Specified by:
getObject in class ColumnDef
Parameters:
a_object -
Returns:
Object
Throws:
WTException

getQualifiedHeading

public String getQualifiedHeading()


Supported API: false

Specified by:
getQualifiedHeading in class ColumnDef
Returns:
String

getQualifiedName

public String getQualifiedName()


Supported API: false

Specified by:
getQualifiedName in class ColumnDef
Returns:
String

inflate

private Object inflate(ObjectIdentifier a_objectId)
                throws WTException
Throws:
WTException