|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertySet
This is the public interface for Property Sets, which are logical groupings of property definitions. A Property Set can be defined to contain the definitions of a group of related properties, such as user preferences.
These property definitions are used by Configurable Entity EJB's to validate property values and retrieve default values for properties. They can also be used by tools to display a list of available properties for an entity.
You can use the no-arg constructor for the internal class com.bea.p13n.property.internal.PropertySetImpl when creating a PropertySet. PropertySetImpl extends com.bea.p13n.property.AbstractPropertySet. For example:
PropertySetImpl myPSet = new PropertySetImpl();
myPSet.setName(psName);
myPSet.setDescription(psDesc);<brp> myPSet.setType(psType);
myPSet.addPropertyDefinition(propName, myPropSetDefImpl);
PropertyDefinition
, ConfigurableEntity
, AbstractPropertySet
Method Summary | |
---|---|
String |
getDescription() Get the description of this property set |
String |
getName() Get the name of this property set |
PropertyDefinition |
getPropertyDefinition(String key) Retrieve a particular PropertyDefinition by name. |
Map<String,PropertyDefinition> |
getPropertyDefinitions() Retrieve all the property definitions in this property set. |
String |
getType() Get the type of this property set. |
Method Detail |
---|
String getName()
String getDescription()
String getType()
Type is also used as a way to namespace property sets - two property sets can have the same name, as long as they are different types.
Map<String,PropertyDefinition> getPropertyDefinitions()
PropertyDefinition getPropertyDefinition(String key)
key
- the name of the PropertyDefinition to retrieve
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.