Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## BEA WebLogic Server 9.0 API Reference

## weblogic.wtc.jatmi
Class StandardTypes

    java.lang.Object
      weblogic.wtc.jatmi.StandardTypes

All Implemented Interfaces:
  Serializable, TypedBuffer

Direct Known Subclasses:
  MBStringTypes, TypedCArray, TypedFML, TypedString, TypedXML, TypedXOctet

public abstract class StandardTypes
extends Object
implements TypedBuffer, Serializable

This class implements the common methods all of the TUXEDO standard Typed Buffers require. It keeps the proper hint index and type and subtype strings.

See Also:
  Serialized Form

  Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
`StandardTypes()` Null constructor.
`StandardTypes(String type, int index)` Initializes the standard typed buffer of the given type at the given index
`StandardTypes(String type, String subtype, int index)` Initializes the standard typed buffer of the given type and subtype at the given index

Method Summary
`int` | `getHintIndex()` Returns the hint index of this typed buffer
`String` | `getSubtype()` Returns the subtype of this typed buffer
`String` | `getType()` Returns the type of this typed buffer
`static String` | `hint_to_type(int hint)` Returns the type string associated with the given hint index

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface weblogic.wtc.jatmi.TypedBuffer
`_tmpostrecv, _tmpresend`

Constructor Detail

### StandardTypes

    public StandardTypes()

  Null constructor. All fields are null to begin

### StandardTypes

    public StandardTypes(String type,
                         int index)

  Initializes the standard typed buffer of the given type at the given index

### StandardTypes

    public StandardTypes(String type,
                         String subtype,
                         int index)

  Initializes the standard typed buffer of the given type and subtype at the given index

Method Detail

### getHintIndex

    public int getHintIndex()

  Returns the hint index of this typed buffer

  Specified by:
    `getHintIndex` in interface `TypedBuffer`
  Returns:
    a `integer` representing the hint index of this buffer

### getSubtype

    public String getSubtype()

  Returns the subtype of this typed buffer

  Specified by:
    `getSubtype` in interface `TypedBuffer`
  Returns:
    a `String` representing the subtype of this buffer

### getType

    public String getType()

  Returns the type of this typed buffer

  Specified by:
    `getType` in interface `TypedBuffer`
  Returns:
    a `String` representing the type of this buffer

### hint_to_type

    public static String hint_to_type(int hint)

  Returns the type string associated with the given hint index

  Parameters:
    `hint` - The hint index for which you wish to determine the type
  Returns:
    The string corresponding to this hint index, or null if the index is not known

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD