com.candle.roma.kxc
Class RomaTrailer

java.lang.Object
  |
  +--com.candle.roma.kxc.RomaTrailer

public class RomaTrailer
extends java.lang.Object

This class defines the persistent trailer information.

See Also:
RomaThemeInfo, RomaILSData

Constructor Summary
RomaTrailer()
          Constructs the empty object.
RomaTrailer(int type, int number, byte[] data)
          Constructs the object from the specified data.
 
Method Summary
 java.lang.Object clone()
          Returns a copy of the object.
 byte[] getData()
          Returns the application-defined data of the trailer.
 int getMethod()
          Returns the number of the ILS that has added this persistent trailer.
 int getType()
          Returns the type of the ILS that has added this persistent trailer.
 void setData(byte[] data)
          Sets the trailer data.
 void setMethod(int md)
          Sets the ILS number of the trailer.
 void setType(int type)
          Sets the ILS type of the trailer.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RomaTrailer

public RomaTrailer()
Constructs the empty object.

RomaTrailer

public RomaTrailer(int type,
                   int number,
                   byte[] data)
Constructs the object from the specified data.
Parameters:
type - ILS type
number - ILS number
data - Application-defined data
Method Detail

getType

public int getType()
Returns the type of the ILS that has added this persistent trailer.
Returns:
one of
  • Roma.ILS_TYPE_XPORT - transport (MQSeries, MSMQ, TIB/Rendezvous) inline service
  • Roma.ILS_TYPE_USER - user inline service
  • Roma.ILS_TYPE_ROUTER - router inline service
  • Roma.ILS_TYPE_SYSMGMT - application management inline service
  • Roma.ILS_TYPE_ERROR - error analysis inline service
  • Roma.ILS_TYPE_WEB - XML conversion inline service
  • Roma.ILS_TYPE_XPTDATA - transport data structure

setType

public void setType(int type)
Sets the ILS type of the trailer.
Parameters:
type - ILS type, one of
  • Roma.ILS_TYPE_XPORT - transport (MQSeries, MSMQ, TIB/Rendezvous) inline service
  • Roma.ILS_TYPE_USER - user inline service
  • Roma.ILS_TYPE_ROUTER - router inline service
  • Roma.ILS_TYPE_SYSMGMT - application management inline service
  • Roma.ILS_TYPE_ERROR - error analysis inline service
  • Roma.ILS_TYPE_WEB - XML conversion inline service
  • Roma.ILS_TYPE_XPTDATA - transport data structure

getMethod

public int getMethod()
Returns the number of the ILS that has added this persistent trailer.

setMethod

public void setMethod(int md)
Sets the ILS number of the trailer.
Parameters:
md - ILS number

getData

public byte[] getData()
Returns the application-defined data of the trailer.

setData

public void setData(byte[] data)
Sets the trailer data.
Parameters:
data - Trailer data

clone

public java.lang.Object clone()
Returns a copy of the object.
Overrides:
clone in class java.lang.Object