public class PortablePropertySet
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PortablePropertySet(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> mp) |
Modifier and Type | Method and Description |
---|---|
static PortablePropertySet |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance.
|
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
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()
Return the CompositeType that represents this class
|
java.lang.String |
toString() |
@ConstructorProperties(value={"Name","Options"}) public PortablePropertySet(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> mp)
name
-prefix
-mp
-public java.util.Map<java.lang.String,java.lang.String> getProperties()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
ct
- - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.public static PortablePropertySet from(javax.management.openmbean.CompositeData cd)
cd
- Composite Data which has information regarding the object