Search
Item.copyOccurrence Method
See Also
 






Called by the recurrence whenever a new occurrence is being generated in order to populate the fields of the instance from the master item.

Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model

 Syntax

Java  Copy Code

protected void copyOccurrence (
    Item master
)

 Parameters

master

A reference to the master to copy from.

 Remarks

This method is usually overridden in classes which derive from Item or Appointment in order to copy the custom fields from the master item to a particular occurrence. If the method is not overridden, the custom fields for all occurrences will have their default values and not the value of the master item.

 See Also