|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-05 |
||||||||
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.Builder The 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()
IPropertySet
name
in interface IPropertySet
public INamespaceName getNamespaceName()
IPropertySet
getNamespaceName
in interface IPropertySet
public void setNamespaceName(INamespaceName namespaceName)
IPropertySet
namespaceName
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 IPropertySet
namespaceName
- the namespace name to which this will be associated.public IPropertySetName getName()
IPropertySet
getName
in interface IPropertySet
public void setName(IPropertySetName setName)
IPropertySet
propertySetName
as the name of this.setName
in interface IPropertySet
setName
- a name for this.public IPropertySetDefinitionName getPropertySetDefinitionName()
IPropertySet
getPropertySetDefinitionName
in interface IPropertySet
public void setPropertySetDefinitionName(IPropertySetDefinitionName propertySetDefinitionName)
IPropertySet
propertySetDefinitionName
as the associated propertysetdefinition name.setPropertySetDefinitionName
in interface IPropertySet
propertySetDefinitionName
- a propertysetdefinition name.public java.lang.String getDescription()
IPropertySet
getDescription
in interface IPropertySet
public void setDescription(java.lang.String desc)
IPropertySet
desc
as a brief description for this.setDescription
in interface IPropertySet
desc
- a brief description.public java.util.List<IProperty<java.io.Serializable>> getProperties()
IPropertySet
getProperties
in interface IPropertySet
public java.io.Serializable get(IPropertyName name)
IPropertySet
name
if mapped, or null
if this propertyset contains no mapping for the given property name
.get
in interface IPropertySet
name
- a property name.public java.io.Serializable put(IPropertyName key, java.io.Serializable value)
IPropertySet
put
in interface IPropertySet
key
- 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)
IPropertySet
null
if this propertyset contains no mapping for the given property name
.get
in interface IPropertySet
T
- 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)
IPropertySet
IPropertySet.put(IPropertyName, java.io.Serializable)
except it returns previously mapped value as a type of the given class c.put
in interface IPropertySet
T
- 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)
IPropertySet
putProperty
in interface IPropertySet
T
- 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)
IPropertySet
getProperty
in interface IPropertySet
T
- the property value's type.name
- a property's namepublic <T extends java.io.Serializable> IProperty<T> removeProperty(IPropertyName name)
IPropertySet
removeProperty
in interface IPropertySet
T
- the property value's type.name
- a property namepublic void iterate(IPredicate<IProperty> predicate)
IPropertySet
IPredicate.apply(Object)
method for each property found in this propertyset.iterate
in interface IPropertySet
predicate
- a predicate object.public boolean containsKey(IPropertyName key)
IPropertySet
containsKey
in interface IPropertySet
key
- 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 Timestamped
public int hashCode()
hashCode
in interface java.util.Map<java.lang.String,java.io.Serializable>
hashCode
in class Timestamped
public java.lang.String toString()
toString
in class java.lang.Object
public 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.6.0) E15995-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |