Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated)
11g Release 1 (11.1.1)

B32476-04

oracle.toplink.services.oc4j
Class ClassSummaryDetail

java.lang.Object
  extended by oracle.toplink.services.oc4j.ClassSummaryDetail

public class ClassSummaryDetail
extends java.lang.Object

The class is used internally by the Portable JMX Framework to convert model specific classes into Open Types so that the attribute of model class can be exposed by MBean. 11/09/2008- 11.1.1 Michael OBrien 7390368 : Port boxer removal of usage of OC4J1 functionality


Constructor Summary
ClassSummaryDetail(java.lang.String className, java.lang.String cacheType, java.lang.String configuredSize, java.lang.String currentSize, java.lang.String parentClassName)
          Construct a ClassSummaryDetail instance.
 
Method Summary
static ClassSummaryDetail from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
 java.lang.String getCacheType()
           
 java.lang.String getClassName()
           
 java.lang.String getConfiguredSize()
           
 java.lang.String getCurrentSize()
           
 java.lang.String getParentClassName()
           
 void setCacheType(java.lang.String cacheType)
           
 void setClassName(java.lang.String className)
           
 void setConfiguredSize(java.lang.String configuredSize)
           
 void setCurrentSize(java.lang.String currentSize)
           
 void setParentClassName(java.lang.String parentClassName)
           
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassSummaryDetail

public ClassSummaryDetail(java.lang.String className,
                          java.lang.String cacheType,
                          java.lang.String configuredSize,
                          java.lang.String currentSize,
                          java.lang.String parentClassName)
Construct a ClassSummaryDetail instance. The PropertyNames annotation is used to be able to construct a ClassSummaryDetail instance out of a CompositeData instance. See MXBeans documentation for more details.

Method Detail

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 ClassSummaryDetail from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance


getClassName

public java.lang.String getClassName()

getCacheType

public java.lang.String getCacheType()

getConfiguredSize

public java.lang.String getConfiguredSize()

getCurrentSize

public java.lang.String getCurrentSize()

getParentClassName

public java.lang.String getParentClassName()

setClassName

public void setClassName(java.lang.String className)

setCacheType

public void setCacheType(java.lang.String cacheType)

setConfiguredSize

public void setConfiguredSize(java.lang.String configuredSize)

setCurrentSize

public void setCurrentSize(java.lang.String currentSize)

setParentClassName

public void setParentClassName(java.lang.String parentClassName)

Copyright © 1998, 2012, Oracle. All Rights Reserved.