com.auxilii.msgparser
Class FieldInformation

Object
  extended by com.auxilii.msgparser.FieldInformation

public class FieldInformation
extends Object

Convenience class for storing type information about a DocumentEntry.

Author:
roman.kurmanowytsch

Field Summary
protected  String clazz
          The class of the DocumentEntry.
protected  int mapiType
          The mapi type of the DocumentEntry.
protected  String type
          The type of the DocumentEntry.
static String UNKNOWN
          The default value for both the clazz and the type properties.
static int UNKNOWN_MAPITYPE
          The default value for the mapiType
 
Constructor Summary
FieldInformation()
          Empty constructor that uses the default values.
FieldInformation(String clazz, int mapiType)
          Constructor that allows to set the class and type properties.
FieldInformation(String clazz, String type)
          Deprecated. 
 
Method Summary
 String getClazz()
           
 int getMapiType()
           
 String getType()
           
 void setClazz(String clazz)
           
 void setMapiType(int mapiType)
           
 void setType(String type)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final String UNKNOWN
The default value for both the clazz and the type properties.

See Also:
Constant Field Values

UNKNOWN_MAPITYPE

public static final int UNKNOWN_MAPITYPE
The default value for the mapiType

See Also:
Constant Field Values

clazz

protected String clazz
The class of the DocumentEntry.


type

protected String type
The type of the DocumentEntry.


mapiType

protected int mapiType
The mapi type of the DocumentEntry.

Constructor Detail

FieldInformation

public FieldInformation()
Empty constructor that uses the default values.


FieldInformation

@Deprecated
public FieldInformation(String clazz,
                                   String type)
Deprecated. 

Constructor that allows to set the class and type properties.

Parameters:
clazz - The class of the DocumentEntry.
type - The type of the DocumentEntry.

FieldInformation

public FieldInformation(String clazz,
                        int mapiType)
Constructor that allows to set the class and type properties.

Parameters:
clazz - The class of the DocumentEntry.
mapiType - The mapiType of the DocumentEntry (see MAPIProp).
Method Detail

getClazz

public String getClazz()
Returns:
the clazz

setClazz

public void setClazz(String clazz)
Parameters:
clazz - the clazz to set

getType

public String getType()
Returns:
the type

setType

public void setType(String type)
Parameters:
type - the type to set

getMapiType

public int getMapiType()
Returns:
the mapiType

setMapiType

public void setMapiType(int mapiType)
Parameters:
mapiType - the mapiType to set


Copyright © 2007 Roman Kurmanowytsch