superwaba.ext.xplat.io.pimal.datebook
Class DateNSHNote

java.lang.Object
  |
  +--superwaba.ext.xplat.io.pimal.NotSupportedHandlerNote
        |
        +--superwaba.ext.xplat.io.pimal.datebook.DateNSHNote

public class DateNSHNote
extends NotSupportedHandlerNote
implements DateNotSupportedHandler

Implement the NSH handler for Date.


Constructor Summary
DateNSHNote()
           
 
Method Summary
 Vector complete(DateRecord dr, Vector alreadyFound)
          When you already read out the supported fields of a DateRecord into a Vector, use this method to complete this Vector with the not supported fields from the description field.
 void write(Vector notSupported, DateRecord dr)
          This method is for writing not supported fields into the description of the DateRecord that is handed over.
 
Methods inherited from class superwaba.ext.xplat.io.pimal.NotSupportedHandlerNote
divideFieldIntoKeyOptionsValues, divideNoteIntoNoteAndFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateNSHNote

public DateNSHNote()
Method Detail

write

public void write(Vector notSupported,
                  DateRecord dr)
This method is for writing not supported fields into the description of the DateRecord that is handed over.
Specified by:
write in interface DateNotSupportedHandler
Parameters:
notSupported - With this Vector, you hand over the fields that are not supprted by the application.
dr - This DateRecord is the one your not supported fields belong to. The not supported fields will be added to the description field of this DateRecord.

complete

public Vector complete(DateRecord dr,
                       Vector alreadyFound)
When you already read out the supported fields of a DateRecord into a Vector, use this method to complete this Vector with the not supported fields from the description field.
Specified by:
complete in interface DateNotSupportedHandler
Parameters:
dr - The DateRecord you want to extract the not supported fields of description from.
alreadyFound - Vector of fields of this DateRecord that are already found in the supported fields
Returns:
a Vector of all fields, supported and not supported of this DateRecord.