|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.socialnetwork.model.util.SnPropertyCollection
public class SnPropertyCollection
A property colection for storing social network object properties. It will handle the ability to have readonly properties and if a property requires multiple lookups inside the property collection to retrieve the value. This collection does not support removal of properties.
Constructor Summary | |
---|---|
SnPropertyCollection()
Default Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
get(java.lang.String key)
Retrieve the value for the property. |
java.util.Map<java.lang.String,java.lang.String> |
getUpdatedProperties()
Provide back a collection of properties which have been updated since the last reset. |
int |
hashCode()
|
boolean |
isUpdatedProperties()
Determine if any of the properties have been updated since the last reset. |
void |
loadFromHashMap(java.util.HashMap hm)
Loads this collection from a list of pre-existing HashMap values. |
boolean |
put(java.lang.String key,
java.lang.String value)
Put a value into the property collection. |
boolean |
registerPropertyDefinition(SnPropertyDefinition defn)
Resister the definition of a property. |
boolean |
registerPropertyDefinitions(SnPropertyDefinition[] multiDefn)
Register all of the property definitions. |
void |
resetUpdatedProperties()
Mark all properties in the collection as not-updated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SnPropertyCollection()
Method Detail |
---|
public void loadFromHashMap(java.util.HashMap hm)
Object.toString
will run on all keys and values.
hm
- the collection of key-values to add to the collection.public java.lang.String get(java.lang.String key)
key
- the property name.
public boolean put(java.lang.String key, java.lang.String value)
key
- the key of the property.value
- the value of the property.
public boolean registerPropertyDefinition(SnPropertyDefinition defn)
defn
- the definition of the property.
public boolean registerPropertyDefinitions(SnPropertyDefinition[] multiDefn)
multiDefn
- the list of defintions to register.
public void resetUpdatedProperties()
public boolean isUpdatedProperties()
public java.util.Map<java.lang.String,java.lang.String> getUpdatedProperties()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |