Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.3)
E26229-05


oracle.as.scheduler
Class CalendarWrapper

java.lang.Object
  extended by oracle.as.scheduler.CalendarWrapper

All Implemented Interfaces:
java.io.Serializable

public class CalendarWrapper
extends java.lang.Object
implements java.io.Serializable
Since:
release specific (what release of product did this appear in) A container for a java.util.Calendar object. It enables open type mapping for MBean APIs.
Version:
$Header: ess/src/oracle/as/scheduler/CalendarWrapper.java /main/3 2010/04/14 07:58:25 riyanu Exp $
Author:
kbittler
See Also:
Serialized Form

Constructor Summary
CalendarWrapper(java.util.Calendar calendar)
          Constructor for a CalendarWrapper object.

 

Method Summary
static CalendarWrapper from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
 java.util.Calendar getCalendar()
          Returns the contained Calendar object.
 javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
          Convert an instance of this model specific type to a CompositeData.
static javax.management.openmbean.CompositeType toCompositeType()
          Returns the CompositeType that describes this model specific class

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

CalendarWrapper

public CalendarWrapper(java.util.Calendar calendar)
Constructor for a CalendarWrapper object.
Parameters:
calendar - A Calendar object to wrap.

Method Detail

getCalendar

public java.util.Calendar getCalendar()
Returns the contained Calendar object.
Returns:
the contained Calendar object

toCompositeType

public static javax.management.openmbean.CompositeType toCompositeType()
Returns the CompositeType that describes this model specific class

toCompositeData

public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData. This ensure that clients that do not have access to the model specific class can still use the MBean. The MXBean framework can perform this conversion automatically. However MXBeans are part of JDK 6.0 and AS11g is required to support JDK 5.0
Parameters:
ct - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.

from

public static CalendarWrapper from(javax.management.openmbean.CompositeData cd)
                            throws java.lang.IllegalArgumentException
Create an instance of the model specific class out of an associated CompositeData instance
Throws:
java.lang.IllegalArgumentException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.3)
E26229-05


Copyright © 2008, 2012 Oracle. All rights reserved.