Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


oracle.as.scheduler
Class PropertyValue

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

All Implemented Interfaces:
java.io.Serializable

public class PropertyValue
extends java.lang.Object
implements java.io.Serializable

This class wraps an Object, restricting its type to the following: String, Integer, Long, Boolean, Calendar

See Also:
Serialized Form

Constructor Summary
PropertyValue(java.lang.Object obj)
          Constructor for that creates an instance from an Object.

 

Method Summary
static PropertyValue from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
 java.lang.Object getObject()
           
 Filter.FieldDataType getObjectType()
           
 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

PropertyValue

public PropertyValue(java.lang.Object obj)
              throws IllegalArgumentException
Constructor for that creates an instance from an Object. obj can be null, but no data type will be associated with this object.
Parameters:
obj - Must be one of the String, Integer, Long, Boolean, Calendar.
Throws:
IllegalArgumentException

Method Detail

getObject

public java.lang.Object getObject()

getObjectType

public Filter.FieldDataType getObjectType()

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 PropertyValue 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 Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.