Gets the value of the ToDo.CLASS field for the given
value of the vToDo CLASS property.
This method encapsulates the following mapping:
ToDo.CLASS_PUBLIC <- "PUBLIC"
ToDo.CLASS_PRIVATE <- "PRIVATE"
ToDo.CLASS_CONFIDENTIAL <- "CONFIDENTIAL"
Parameters: s - the value of the CLASS property the corresponding field of ToDo, or -1 if s is not recognized
getClassType
public static String getClassType(int fieldValue)(Code)
Gets the value of the vToDo CLASS field for the given
value of the ToDo.CLASS field.
This method encapsulates the following mapping:
ToDo.CLASS_PUBLIC -> "PUBLIC"
ToDo.CLASS_PRIVATE -> "PRIVATE"
ToDo.CLASS_CONFIDENTIAL -> "CONFIDENTIAL"
Parameters: fieldValue - the value of the ToDo.CLASS field a string describing the class for the field value, or null iffieldValue is out of range
getFieldCode
public static int getFieldCode(String fieldName)(Code)
Converts a vToDo property name to a JSR75 field code.
Parameters: fieldName - label of requested field identifier of requested field
getFieldLabel
public static String getFieldLabel(int field)(Code)
Converts a JSR75 field code to a vToDo property name.
Parameters: field - identifier of requested field label for requested field