Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.management.oss.impl.pm.opstatus
Class CurrentResultReportImpl

    java.lang.Object
      com.sun.management.oss.impl.pm.opstatus.CurrentResultReportImpl

All Implemented Interfaces:
  java.lang.Cloneable, CurrentResultReport, java.io.Serializable, SerializerFactory

public class CurrentResultReportImpl
extends java.lang.Object
implements CurrentResultReport

Title: com.ericsson.oss Description: Copyright: Copyright 2001 Ericsson Radio Systems AB Company: Ericsson Radio Systems AB

Version:
  1.0
Author:
  Andreas Jirven, Anna Eriksson, Ali Feizabadi, Hooman Tahamtani, Katarina Wahlstr?m
See Also:
  Serialized Form

Constructor Summary
`CurrentResultReportImpl()`
`CurrentResultReportImpl(ReportInfo reportInformation, ReportData reportData)`

Method Summary
`java.lang.Object` | `clone()` Deep copy of this CurrentResultReport.
`ReportData` | `getReportData()` Gets data for the current measurement result report.
`ReportInfo` | `getReportInformation()` Gets information about the current measurement result report.
`java.lang.String[]` | `getSupportedSerializerTypes()` Return all the serializer types than can be created by this factory.
`boolean` | `isDataType()` Indicates if the current measurement result is of data type.
`boolean` | `isURLType()` Indicates if the current measurement result is of URL type.
`Serializer` | `makeSerializer(java.lang.String serializerType)` Manufacture a Serializer for the object type inheriting the interface.

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

Constructor Detail

### CurrentResultReportImpl

    public CurrentResultReportImpl()

### CurrentResultReportImpl

    public CurrentResultReportImpl(ReportInfo reportInformation,
                                   ReportData reportData)

Method Detail

### clone

    public java.lang.Object clone()

  Description copied from interface: `CurrentResultReport`
  Deep copy of this CurrentResultReport.

  Specified by:
    `clone` in interface `CurrentResultReport`

### isURLType

    public boolean isURLType()

  Description copied from interface: `CurrentResultReport`
  Indicates if the current measurement result is of URL type.

  If this operation returns true, then the location of current measurement result can be retrived by calling the `getReportInformation()` operation.

  Specified by:
    `isURLType` in interface `CurrentResultReport`
  Returns:
    boolean Returns true, if the current measurement result is of URL type.

### isDataType

    public boolean isDataType()

  Description copied from interface: `CurrentResultReport`
  Indicates if the current measurement result is of data type.

  If this operation returns true, then the current measurement result can be retrived by calling the `getReportData()` operation.

  Specified by:
    `isDataType` in interface `CurrentResultReport`
  Returns:
    boolean Returns true, if the current measurement result is of data type.

### getReportInformation

    public ReportInfo getReportInformation()
                                    throws java.lang.IllegalStateException

  Description copied from interface: `CurrentResultReport`
  Gets information about the current measurement result report.

  The current measurement result report information contains all information that is needed to retrieve the current measurement report data.

  Specified by:
    `getReportInformation` in interface `CurrentResultReport`
  Returns:
    ReportInfo Current measurement result report information.
  Throws:
    `java.lang.IllegalStateException` - Is raised if `isURLType() == false`.

### getReportData

    public ReportData getReportData()
                             throws java.lang.IllegalStateException

  Description copied from interface: `CurrentResultReport`
  Gets data for the current measurement result report.

  Specified by:
    `getReportData` in interface `CurrentResultReport`
  Returns:
    ReportData Current measurement result report data.
  Throws:
    `java.lang.IllegalStateException` - Is raised if `isDataType() == false`.

### getSupportedSerializerTypes

    public java.lang.String[] getSupportedSerializerTypes()

  Description copied from interface: `SerializerFactory`
  Return all the serializer types than can be created by this factory. This may return an empty array, in case no serializer is implemented.

  Specified by:
    `getSupportedSerializerTypes` in interface `SerializerFactory`
  Returns:
    an array of supported serializer types.

### makeSerializer

    public Serializer makeSerializer(java.lang.String serializerType)
                              throws java.lang.IllegalArgumentException

  Description copied from interface: `SerializerFactory`
  Manufacture a Serializer for the object type inheriting the interface.

  Specified by:
    `makeSerializer` in interface `SerializerFactory`
  Parameters:
    `serializerType` - the class name of the serializer interface that must be created. For example `XmlSerializer.getClass().getName()`
  Returns:
    a serializer matching the serializer type .
  Throws:
    `java.lang.IllegalArgumentException` - if no serializer can be created matching the provided Serializer Type.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD