com.auxilii.msgparser
Class MessageProperty

Object
  extended by com.auxilii.msgparser.MessageProperty

public class MessageProperty
extends Object

Represents a message property holding the type of data and the data itself.

Author:
thomas.misar

Constructor Summary
MessageProperty(String clazz, Object data, int size)
           
 
Method Summary
 String getClazz()
          A 4 digit code representing the property type.
 Object getData()
          An object holding the property data.
 int getSize()
          The size of the data.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageProperty

public MessageProperty(String clazz,
                       Object data,
                       int size)
Method Detail

getClazz

public String getClazz()
A 4 digit code representing the property type.

Returns:
A string representation of the property type.

getData

public Object getData()
An object holding the property data.

Returns:
The property data.

getSize

public int getSize()
The size of the data.

Returns:
The number of bytes of the data object.


Copyright © 2007 Roman Kurmanowytsch