com.sun.management.oss.impl.pm.measurement
Class PerformanceMonitorKeyImpl

java.lang.Object
  extended bycom.sun.management.oss.impl.ManagedEntityKeyImpl
      extended bycom.sun.management.oss.impl.pm.measurement.PerformanceMonitorKeyImpl
All Implemented Interfaces:
java.lang.Cloneable, ManagedEntityKey, PerformanceMonitorKey, java.io.Serializable, SerializerFactory

public class PerformanceMonitorKeyImpl
extends ManagedEntityKeyImpl
implements PerformanceMonitorKey

Title: JSR090 Reference Implementation Description: Copyright: Copyright 2001 Ericsson Radio Systems AB Company: Ericsson

Version:
0.2
Author:
Andreas Jirven, Anna Eriksson, Ali Feizabadi
See Also:
Serialized Form

Constructor Summary
PerformanceMonitorKeyImpl()
           
 
Method Summary
 java.lang.String getPerformanceMonitorPrimaryKey()
          Returns the primary key of the measurement job.
 void setPerformanceMonitorPrimaryKey(java.lang.String key)
          Sets the primary key of the measurement job.
 
Methods inherited from class com.sun.management.oss.impl.ManagedEntityKeyImpl
clone, getApplicationContext, getApplicationDN, getDomain, getPrimaryKey, getSupportedSerializerTypes, getType, makeApplicationContext, makePrimaryKey, makeSerializer, setApplicationContext, setApplicationDN, setDomain, setPrimaryKey, setType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.management.oss.ManagedEntityKey
clone, getApplicationContext, getApplicationDN, getPrimaryKey, getType, makeApplicationContext, makePrimaryKey, setApplicationContext, setApplicationDN, setPrimaryKey, setType
 
Methods inherited from interface com.sun.management.oss.SerializerFactory
getSupportedSerializerTypes, makeSerializer
 

Constructor Detail

PerformanceMonitorKeyImpl

public PerformanceMonitorKeyImpl()
Method Detail

getPerformanceMonitorPrimaryKey

public java.lang.String getPerformanceMonitorPrimaryKey()
Returns the primary key of the measurement job.

Specified by:
getPerformanceMonitorPrimaryKey in interface PerformanceMonitorKey
Returns:
String The primary key of the measurement job in string format.
See Also:
PerformanceMonitorKey.setPerformanceMonitorPrimaryKey(java.lang.String)

setPerformanceMonitorPrimaryKey

public void setPerformanceMonitorPrimaryKey(java.lang.String key)
                                     throws java.lang.IllegalArgumentException
Sets the primary key of the measurement job.

Specified by:
setPerformanceMonitorPrimaryKey in interface PerformanceMonitorKey
Parameters:
key - The primary key of the measurement job in string format.
Throws:
java.lang.IllegalArgumentException - Is thrown to report that a bad argument was provided to the method.
See Also:
PerformanceMonitorKey.getPerformanceMonitorPrimaryKey()