Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.config
Interface PropertySet

All Superinterfaces:
java.io.Serializable

public interface PropertySet
extends java.io.Serializable

A named, resuable set of name-value pairs.

User: rkng Date: Nov 2, 2005 Time: 3:47:01 PM To change this template use File | Settings | File Templates.


Method Summary
 java.lang.String getName()
          Returns name of this PropertySet instance
 PropertySet getParent()
          Returns parent of this PropertySet instance, or null if none is specified.
 java.lang.String getPrefix()
          Returns the prefix of this PropertySet instance, or null if none is specified.
 java.lang.String getProperty(java.lang.String name)
          Given a property name, return the value associated with the specified name.
 java.util.Map<java.lang.String,java.lang.String> toProperties()
          Convert this PropertySet instance into a Properties instance using fully-qualified property names

 

Method Detail

getName

java.lang.String getName()
Returns name of this PropertySet instance
Returns:
name of this PropertySet instance

getPrefix

java.lang.String getPrefix()
Returns the prefix of this PropertySet instance, or null if none is specified.

The prefix is automatically added to the property names included as part of this PropertySet instance.

Note that a child PropertySet inherits the prefix attribute from the parent PropertySet instance.

Returns:
the prefix of this PropertySet instance.

getParent

PropertySet getParent()
Returns parent of this PropertySet instance, or null if none is specified.
Returns:
parent of this PropertySet instance, or null if none is specified.

getProperty

java.lang.String getProperty(java.lang.String name)
Given a property name, return the value associated with the specified name.

Note that the property name can be specified with or without the prefix associated with this property set.

Parameters:
name - name of the property
Returns:
value of the property

toProperties

java.util.Map<java.lang.String,java.lang.String> toProperties()
Convert this PropertySet instance into a Properties instance using fully-qualified property names
Returns:
a Properties representing the converted properties

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.