|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.7.0) E15995-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.wcps.property.model.Timestamped
oracle.wcps.property.model.PropertySet
public class PropertySet
An implementation of IPropertySet. Use the builder builder() to create an instance of this.
| Nested Class Summary | |
|---|---|
static class |
PropertySet.BuilderThe builder used for creating a PropertySet. |
| Method Summary | ||
|---|---|---|
static PropertySet.Builder |
builder()Returns an instance of Builder to create a PropertySet. |
|
void |
clear() |
|
boolean |
containsKey(IPropertyName key)Returns true if this propertyset contains a mppaing for the specified property name key. |
|
boolean |
containsKey(java.lang.Object key) |
|
boolean |
containsValue(java.lang.Object value) |
|
java.util.Set<java.util.Map.Entry<java.lang.String,java.io.Serializable>> |
entrySet() |
|
boolean |
equals(java.lang.Object o) |
|
java.io.Serializable |
get(IPropertyName name)Returns the value associated with the given property name if mapped, or null if this propertyset contains no mapping for the given property name. |
|
|
get(IPropertyName name, java.lang.Class<T> c)Returns the value (casted to the given class c) associated with the given property name if mapped or null if this propertyset contains no mapping for the given property name. |
|
java.io.Serializable |
get(java.lang.Object key) |
|
java.lang.String |
getDescription()Returns a brief description of this. |
|
IPropertySetName |
getName()Returns the propertyset name of this. |
|
INamespaceName |
getNamespaceName()Returns the associated namespace name. |
|
java.util.List<IProperty<java.io.Serializable>> |
getProperties()Returns the list of properties of this propertyset. |
|
|
getProperty(IPropertyName name)Returns the property with the given name if found otherwise null. |
|
IPropertySetDefinitionName |
getPropertySetDefinitionName()Returns the associated propertysetdefinition name. |
|
java.lang.Object |
getRPropertySet() |
|
int |
hashCode() |
|
boolean |
isEmpty() |
|
void |
iterate(IPredicate<IProperty> predicate)Calls the given predicates IPredicate.apply(Object) method for each property found in this propertyset. |
|
java.util.Set<java.lang.String> |
keySet() |
|
java.lang.String |
name()Returns the string representation of the composite name of this. |
|
java.io.Serializable |
put(IPropertyName key, java.io.Serializable value)Associates the specified value with the specified key in this propertySet. |
|
|
put(IPropertyName key, T value, java.lang.Class<T> c)Same as IPropertySet.put(IPropertyName, java.io.Serializable) except it returns previously mapped value as a type of the given class c. |
|
java.io.Serializable |
put(java.lang.String key, java.io.Serializable value) |
|
void |
putAll(java.util.Map<? extends java.lang.String,? extends java.io.Serializable> m) |
|
|
putProperty(IPropertyName key, IProperty<T> value)Associates the specified value with the given property name. |
|
java.io.Serializable |
remove(java.lang.Object key) |
|
|
removeProperty(IPropertyName name)Removes the property associated with the given property name. |
|
void |
setDescription(java.lang.String desc)Sets the given desc as a brief description for this. |
|
void |
setName(IPropertySetName setName)Sets the given propertySetName as the name of this. |
|
void |
setNamespaceName(INamespaceName namespaceName)Sets the given namespaceName as the associated namespace name. |
|
void |
setPropertySetDefinitionName(IPropertySetDefinitionName propertySetDefinitionName)Sets the given propertySetDefinitionName as the associated propertysetdefinition name. |
|
void |
setRPropertySet(RPropertySet rSet) |
|
int |
size() |
|
java.lang.String |
toString() |
|
java.util.Collection<java.io.Serializable> |
values() |
|
| Methods inherited from class oracle.wcps.property.model.Timestamped |
|---|
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.wcps.property.ITimestamped |
|---|
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn |
| Method Detail |
|---|
public java.lang.String name()
IPropertySetname in interface IPropertySetpublic INamespaceName getNamespaceName()
IPropertySetgetNamespaceName in interface IPropertySetpublic void setNamespaceName(INamespaceName namespaceName)
IPropertySetnamespaceName as the associated namespace name. Note: Calling this has no effect when using methods of IPropertyService, its overridden with the namespace name in IPropertyService.getNamespaceName()setNamespaceName in interface IPropertySetnamespaceName - the namespace name to which this will be associated.public IPropertySetName getName()
IPropertySetgetName in interface IPropertySetpublic void setName(IPropertySetName setName)
IPropertySetpropertySetName as the name of this.setName in interface IPropertySetsetName - a name for this.public IPropertySetDefinitionName getPropertySetDefinitionName()
IPropertySetgetPropertySetDefinitionName in interface IPropertySetpublic void setPropertySetDefinitionName(IPropertySetDefinitionName propertySetDefinitionName)
IPropertySetpropertySetDefinitionName as the associated propertysetdefinition name.setPropertySetDefinitionName in interface IPropertySetpropertySetDefinitionName - a propertysetdefinition name.public java.lang.String getDescription()
IPropertySetgetDescription in interface IPropertySetpublic void setDescription(java.lang.String desc)
IPropertySetdesc as a brief description for this.setDescription in interface IPropertySetdesc - a brief description.public java.util.List<IProperty<java.io.Serializable>> getProperties()
IPropertySetgetProperties in interface IPropertySetpublic java.io.Serializable get(IPropertyName name)
IPropertySetname if mapped, or null if this propertyset contains no mapping for the given property name.get in interface IPropertySetname - a property name.
public java.io.Serializable put(IPropertyName key,
java.io.Serializable value)
IPropertySetput in interface IPropertySetkey - property name with which the specified value is to be associated.value - value to be associated with specified key.
public <T extends java.io.Serializable> T get(IPropertyName name,
java.lang.Class<T> c)
IPropertySetnull if this propertyset contains no mapping for the given property name.get in interface IPropertySetT - type of a class.name - a property name.c - the class to which the value is casted to.
public <T extends java.io.Serializable> T put(IPropertyName key,
T value,
java.lang.Class<T> c)
IPropertySetIPropertySet.put(IPropertyName, java.io.Serializable) except it returns previously mapped value as a type of the given class c.put in interface IPropertySetT - type of a class.key - property name with which the specified value is to be associated.value - value to be associated with specified key.c - the class to which the previously mapped value is casted to.
public <T extends java.io.Serializable> IProperty<T> putProperty(IPropertyName key,
IProperty<T> value)
IPropertySetputProperty in interface IPropertySetT - type for the valuekey - a property name.value - the property to be associated with the given property name.public <T extends java.io.Serializable> IProperty<T> getProperty(IPropertyName name)
IPropertySetgetProperty in interface IPropertySetT - the property value's type.name - a property's namepublic <T extends java.io.Serializable> IProperty<T> removeProperty(IPropertyName name)
IPropertySetremoveProperty in interface IPropertySetT - the property value's type.name - a property namepublic void iterate(IPredicate<IProperty> predicate)
IPropertySetIPredicate.apply(Object) method for each property found in this propertyset.iterate in interface IPropertySetpredicate - a predicate object.public boolean containsKey(IPropertyName key)
IPropertySetcontainsKey in interface IPropertySetkey - proeprty name whose presence in this propertyset is to be tested.public int size()
size in interface java.util.Map<java.lang.String,java.io.Serializable>public boolean isEmpty()
isEmpty in interface java.util.Map<java.lang.String,java.io.Serializable>public boolean containsKey(java.lang.Object key)
containsKey in interface java.util.Map<java.lang.String,java.io.Serializable>public boolean containsValue(java.lang.Object value)
containsValue in interface java.util.Map<java.lang.String,java.io.Serializable>public java.io.Serializable get(java.lang.Object key)
get in interface java.util.Map<java.lang.String,java.io.Serializable>
public java.io.Serializable put(java.lang.String key,
java.io.Serializable value)
put in interface java.util.Map<java.lang.String,java.io.Serializable>public java.io.Serializable remove(java.lang.Object key)
remove in interface java.util.Map<java.lang.String,java.io.Serializable>public void putAll(java.util.Map<? extends java.lang.String,? extends java.io.Serializable> m)
putAll in interface java.util.Map<java.lang.String,java.io.Serializable>public void clear()
clear in interface java.util.Map<java.lang.String,java.io.Serializable>public java.util.Set<java.lang.String> keySet()
keySet in interface java.util.Map<java.lang.String,java.io.Serializable>public java.util.Collection<java.io.Serializable> values()
values in interface java.util.Map<java.lang.String,java.io.Serializable>public java.util.Set<java.util.Map.Entry<java.lang.String,java.io.Serializable>> entrySet()
entrySet in interface java.util.Map<java.lang.String,java.io.Serializable>public boolean equals(java.lang.Object o)
equals in interface java.util.Map<java.lang.String,java.io.Serializable>equals in class Timestampedpublic int hashCode()
hashCode in interface java.util.Map<java.lang.String,java.io.Serializable>hashCode in class Timestampedpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object getRPropertySet()
public void setRPropertySet(RPropertySet rSet)
public static PropertySet.Builder builder()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.7.0) E15995-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||