|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPropertySetDefinition
Represents a schema or a structure for propertysets within a namespace. A propertysetdefinition is a set of property mappings (IPropertyMapping
). A property mapping associates a property name to a property definition name that defines its value's features (type, isRestricted, restricted, default values, and validators) and optionally a property locator to manage its value.
Method Summary | |
---|---|
java.lang.String |
getDescription() Returns a brief description of this. |
int |
getMappingsCount() Returns the number of property mappings in this. |
IPropertySetDefinitionName |
getName() Returns the propertysetdefinition name of this. |
INamespaceName |
getNamespaceName() Returns the associated namespace name. |
IPropertyDefinitionName |
getPropertyDefinitionName(IPropertyName propertyName) Returns the propertydefinition name from the property mapping associated with the given propertyName. |
java.lang.String |
getPropertyLocatorClassName() Returns the property locator class name that is associated with this. |
java.lang.String |
getPropertyLocatorClassName(IPropertyName propertyName) Returns the property locator class name from the property mapping associated with the given propertyName. |
IPropertyMapping |
getPropertyMapping(IPropertyName propertyName) Returns the property mapping associated with the given propertyName. |
java.util.Map<IPropertyName,IPropertyMapping> |
getPropertyMappings() Returns a map of the property mappings associated with this. |
java.lang.String |
getPropertyPermissionClassName() Returns the property permission class name associated with this. |
void |
iterate(IPredicate<IPropertyMapping> predicate) Calls the given predicates IPredicate.apply(Object) method for each property mapping found in this. |
java.lang.String |
name() Returns the string representation of the composite name of this. |
IPropertyMapping |
putPropertyMapping(IPropertyName key, IPropertyMapping value) Associates the given property name key to the given property mapping value. |
IPropertyMapping |
removePropertyMapping(IPropertyName key) Removes the association of the given key to the value a property mapping. |
void |
setDescription(java.lang.String desc) Sets the given desc as a brief description for this. |
void |
setName(IPropertySetDefinitionName name) Sets the given propertysetdefinition name as the name for this. |
void |
setNamespaceName(INamespaceName namespaceName) Deprecated. it is a no op. |
void |
setPropertyLocatorClassName(java.lang.String className) Sets the given className as the property locator class name at propertysetdefinition level. |
void |
setPropertyPermissionClassName(java.lang.String className) Sets the given className as the property permission class name. |
Methods inherited from interface oracle.wcps.property.ITimestamped |
---|
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn |
Method Detail |
---|
INamespaceName getNamespaceName()
void setNamespaceName(INamespaceName namespaceName)
namespaceName
as the associated namespace name. Note: Calling this has no effect when using methods of IPropertyService
, its overwritten with the namespace name in IPropertyService.getNamespaceName()
namespaceName
- the namespace name to which this will be associated.java.lang.String name()
IPropertySetDefinitionName getName()
void setName(IPropertySetDefinitionName name)
name
as the name for this.name
- a propertysetdefinition name.java.lang.String getDescription()
void setDescription(java.lang.String desc)
desc
as a brief description for this.desc
- a brief description.IPropertyMapping getPropertyMapping(IPropertyName propertyName)
propertyName
- A property's name.IPropertyMapping putPropertyMapping(IPropertyName key, IPropertyMapping value)
key
- a property namevalue
- a property mappingIPropertyMapping removePropertyMapping(IPropertyName key)
key
- a property nameIPropertyDefinitionName getPropertyDefinitionName(IPropertyName propertyName)
propertyName
- a property name.java.lang.String getPropertyLocatorClassName(IPropertyName propertyName)
propertyName
- a property name.java.util.Map<IPropertyName,IPropertyMapping> getPropertyMappings()
java.lang.String getPropertyLocatorClassName()
void setPropertyLocatorClassName(java.lang.String className)
className
- a fully qualified class name that implements IPropertyLocator
.java.lang.String getPropertyPermissionClassName()
IPropertyPermission
void setPropertyPermissionClassName(java.lang.String className)
className
- a fully qualified class name that implements IPropertyPermission
.void iterate(IPredicate<IPropertyMapping> predicate)
IPredicate.apply(Object)
method for each property mapping found in this.predicate
- a predicate object.int getMappingsCount()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |