superwaba.ext.ce.io.builtin
Class Constant

java.lang.Object
  |
  +--superwaba.ext.ce.io.builtin.Constant

public class Constant
extends java.lang.Object

provides constants for the POOM wrapper layer, this means fieldnames, templates etc


Field Summary
static java.lang.String d1Sep
           
static java.lang.String d2Sep
           
static java.lang.String d3Sep
           
static java.lang.String datasetSep
           
 
Constructor Summary
Constant()
           
 
Method Summary
static AddressField addressFieldTemplate(int position)
          clones the addressFieldTemplate at the given position and returns it
static int addressFieldTemplates()
           
static DateField dateFieldTemplate(int position)
          clones the dateFieldTemplate at the given position and returns it
static int dateFieldTemplates()
           
static Vector getAddressFieldTemplates()
           
static Vector getDateFieldTemplates()
           
static Vector getToDoFieldTemplates()
           
static java.lang.String[] iAppointmentFieldRange(int start, int end)
          returns a range of Appointment fields
static int iAppointmentFields()
           
static java.lang.String iAppointmentFields(int position)
           
static java.lang.String[] iContactFieldRange(int start, int end)
          returns a range of Contact fields
static int iContactFields()
           
static java.lang.String iContactFields(int position)
           
static java.lang.String[] iTaskFieldRange(int start, int end)
          returns a range of Task fields
static int iTaskFields()
           
static java.lang.String iTaskFields(int position)
           
static ToDoField toDoFieldTemplate(int position)
          clones the toDoFieldTemplate at the given position and returns it
static int toDoFieldTemplates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

datasetSep

public static final java.lang.String datasetSep

d1Sep

public static final java.lang.String d1Sep

d2Sep

public static final java.lang.String d2Sep

d3Sep

public static final java.lang.String d3Sep
Constructor Detail

Constant

public Constant()
Method Detail

dateFieldTemplates

public static int dateFieldTemplates()
Returns:
the size of the dateFieldTemplates

dateFieldTemplate

public static DateField dateFieldTemplate(int position)
clones the dateFieldTemplate at the given position and returns it
Parameters:
position - of the dateFieldTemplate in the dateFieldTemplates Vector
Returns:
a new Object of class DateField which has been cloned from the DateField at given position

getDateFieldTemplates

public static Vector getDateFieldTemplates()
Returns:
a new Vector with cloned copies of the dateFieldTemplates in it

toDoFieldTemplates

public static int toDoFieldTemplates()
Returns:
the size of the toDoFieldTemplates Vector

toDoFieldTemplate

public static ToDoField toDoFieldTemplate(int position)
clones the toDoFieldTemplate at the given position and returns it
Parameters:
position - of the toDoFieldTemplate in the toDoFieldTemplates Vector
Returns:
a new Object of class ToDoField which has been cloned from the ToDoField at given position

getToDoFieldTemplates

public static Vector getToDoFieldTemplates()
Returns:
a new Vector with cloned copies of the toDoFieldTemplates in it

addressFieldTemplates

public static int addressFieldTemplates()
Returns:
the size of the addressFieldTemplate Vector

addressFieldTemplate

public static AddressField addressFieldTemplate(int position)
clones the addressFieldTemplate at the given position and returns it
Parameters:
position - of the addressFieldTemplate in the addressFieldTemplates Vector
Returns:
a new Object of class AddressField which has been cloned from the AddressField at given position

getAddressFieldTemplates

public static Vector getAddressFieldTemplates()
Returns:
a new Vector with cloned copies of the addressFieldTemplates in it

iAppointmentFields

public static java.lang.String iAppointmentFields(int position)
Parameters:
position -  
Returns:
the name of the IAppointment field at the given position, "undefined" if the position is too high

iAppointmentFields

public static int iAppointmentFields()
Returns:
the size of the iAppointmentFields Vector

iContactFields

public static java.lang.String iContactFields(int position)
Parameters:
position -  
Returns:
the name of the IContact field at the given position, "undefined" of the position is too high

iContactFields

public static int iContactFields()
Returns:
the size of the iContactField Vector

iTaskFields

public static java.lang.String iTaskFields(int position)
Parameters:
position -  
Returns:
the name of the ITask field at the given position, "undefined" if the number is too high

iTaskFields

public static int iTaskFields()
Returns:
the size of the iTaskFields Vector

iTaskFieldRange

public static java.lang.String[] iTaskFieldRange(int start,
                                                 int end)
returns a range of Task fields

iAppointmentFieldRange

public static java.lang.String[] iAppointmentFieldRange(int start,
                                                        int end)
returns a range of Appointment fields

iContactFieldRange

public static java.lang.String[] iContactFieldRange(int start,
                                                    int end)
returns a range of Contact fields