|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyValueSet
PolicyValueSet (PVS) represents arbitrary name value pairs to be used by applications as points of variability. Within Policy, several characteristics of the true policy attributes are calculated at runtime, and are not part of the policy type definition. These characteristics include:
Additional settings and kinds of information are not limited to the confines of this interface and may be extended by implementing classes. The methods represented in this interface define the ones required for basic functionality within Policy Manager
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
void |
clear()
Throws UnsupportedOperationException. |
boolean |
containsKey(java.lang.Object o)
Determines if the PVS contains the specified attribute |
boolean |
containsValue(java.lang.Object o)
Determines if the PVS contains the specified value |
java.util.Set |
entrySet()
Returns a set view of the policy mappings contained in this map. |
boolean |
equals(java.lang.Object o)
Compares the specified object with this map for equality. |
java.lang.String |
getDisplayDescription(java.lang.Object attribute)
Retrieve unique key to be used to lookup the locale specific description of the attribute |
java.lang.String |
getDisplayName(java.lang.Object attribute)
Retrieve unique key to be used to lookup the locale specific name of the specified attribute |
MetaData |
getMetaData(java.lang.Object attribute)
Retrieve any associated MetaData for the specified attribute |
java.lang.String |
getPVSPath()
Retrieve unique Policy path to this node |
java.lang.String |
getPVSProfiler()
Retrieve the Personalization rule associated with this PVS |
boolean |
isAttributeInherited(java.lang.Object attributeKey)
Determine if the specified attribute is inherited or explicitly defined |
boolean |
isAttributeLocked(java.lang.Object attributeKey)
Determine if the specified attribute is locked. |
boolean |
isPolicyAttribute(java.lang.Object attributeKey)
PolicyValueSet maintains many characteristics not related to actual policy attributes and values, such as keys containing inheritance information. |
java.util.Set |
keySet()
PolicyValueSet interface maintains many artifacts not related to actual Policy attributes and values,such as keys containing inheritence information. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Throws UnsupportedOperationException. |
void |
putAll(java.util.Map t)
Throws UnsupportedOperationException. |
java.lang.Object |
remove(java.lang.Object key)
Throws UnsupportedOperationException. |
int |
size()
Returns the number of core policy key-value mappings in this map. |
java.util.Collection |
values()
Retrieve of all Policy Value attribute values |
Methods inherited from interface java.util.Map |
---|
get, hashCode, isEmpty |
Method Detail |
---|
java.lang.String getDisplayDescription(java.lang.Object attribute)
attribute
- attribute name
java.lang.String getDisplayName(java.lang.Object attribute)
attribute
- attribute name
java.lang.String getPVSPath()
MetaData getMetaData(java.lang.Object attribute)
java.lang.String getPVSProfiler()
boolean isAttributeInherited(java.lang.Object attributeKey)
attributeKey
- key to check
boolean isAttributeLocked(java.lang.Object attributeKey)
attributeKey
- key to check
boolean isPolicyAttribute(java.lang.Object attributeKey)
isPolicyAttribute() returns a true if the specified attribute is a core policy attribute, false if it is a calculated characteristic
attributeKey
- attribute to check
java.util.Set keySet()
keySet
in interface java.util.Map
boolean containsKey(java.lang.Object o)
containsKey
in interface java.util.Map
boolean containsValue(java.lang.Object o)
containsValue
in interface java.util.Map
java.util.Collection values()
values
in interface java.util.Map
int size()
size
in interface java.util.Map
java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
java.lang.UnsupportedOperationException
java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
java.lang.UnsupportedOperationException
void putAll(java.util.Map t)
putAll
in interface java.util.Map
java.lang.UnsupportedOperationException
void clear()
clear
in interface java.util.Map
java.lang.UnsupportedOperationException
java.util.Set entrySet()
Map.Entry
. The set is backed by
the map, so changes to the map are reflected in the set, and vice-versa.
If the map is modified while an iteration over the set is in progress,
the results of the iteration are undefined. The set does NOT support
element removal. PolicyValueSets are read only
entrySet
in interface java.util.Map
boolean equals(java.lang.Object o)
equals
in interface java.util.Map
equals
in class java.lang.Object
o
- object to be compared for equality with this map.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |