|
Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E53426-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.mas.mgmt.jmx.policy.PortableProperties
public final class PortableProperties
Portable properties, which is a wrapper of java.util.Map, can be transported across the network.
Constructor Summary | |
---|---|
PortableProperties() Constructs a PortableProperties with an empty java.util.HashMap |
|
PortableProperties(java.util.Map<java.lang.String,java.lang.String> properties) Constructs a PortableProperties with the specified map, if the specified map is null, a java.util.HashMap is to be created. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) |
static PortableProperties |
from(javax.management.openmbean.CompositeData cd) Create an instance of the model specific class out of an associated CompositeData instance |
static PortableProperties |
from(javax.management.openmbean.CompositeData cd, java.util.Map<java.lang.String,java.lang.String> properties) Create an instance of the model specific class out of an associated CompositeData instance |
java.lang.String |
get(java.lang.String propID) |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
int |
hashCode() |
boolean |
isEmpty() |
java.lang.String |
put(java.lang.String propID, java.lang.String propValue) |
java.lang.String |
remove(java.lang.String propID) |
int |
size() |
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 |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PortableProperties()
@ConstructorProperties(value="properties")
public PortableProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- - the properties mapMethod Detail |
---|
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public java.lang.String get(java.lang.String propID)
public java.lang.String put(java.lang.String propID, java.lang.String propValue)
public java.lang.String remove(java.lang.String propID)
public int size()
public boolean isEmpty()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
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 PortableProperties from(javax.management.openmbean.CompositeData cd)
public static PortableProperties from(javax.management.openmbean.CompositeData cd, java.util.Map<java.lang.String,java.lang.String> properties)
properties
- - the map for storing properties
|
Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E53426-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |