com.bea.tuxedo.control
Class TuxClassViewSerialize

java.lang.Object
  extended by com.bea.tuxedo.control.TuxClassViewSerialize
All Implemented Interfaces:
ITuxClass

public class TuxClassViewSerialize
extends Object
implements ITuxClass

Provide access to the fields in a View or View32 class.


Constructor Summary
TuxClassViewSerialize(Object buffer, TuxedoControl.AccessorName conv)
          Constructor.
 
Method Summary
 ITuxField getField(String name)
          Get a field given its name.
 int getType(String name)
          Find the Tuxedo type for the field corresponding to name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TuxClassViewSerialize

public TuxClassViewSerialize(Object buffer,
                             TuxedoControl.AccessorName conv)
Constructor.

Parameters:
buffer - The view or view32 buffer
conv - The conventions used for translating getters to field names.
Method Detail

getField

public ITuxField getField(String name)
Get a field given its name.

Specified by:
getField in interface ITuxClass
Parameters:
name - The name of the desired field
Returns:
The corresponding field object or null if there is no corresponding field.

getType

public int getType(String name)
Find the Tuxedo type for the field corresponding to name.

Specified by:
getType in interface ITuxClass
Parameters:
name - The name to look for.
Returns:
The tuxedo type of the field.