|
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 |
java.lang.Object
com.bea.p13n.property.AbstractPropertySet
public abstract class AbstractPropertySet
Default implementation of a Property Sets, which is a logical grouping 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.
Constructor Summary | |
---|---|
AbstractPropertySet() Default constructor |
|
AbstractPropertySet(String typeArg, String nameArg, String descriptionArg) Constructor to initialize attributes |
Method Summary | |
---|---|
void |
addPropertyDefinition(String name, PropertyDefinition value) Add a property definition to the property set. |
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. |
void |
setDescription(String s) Set the description of this property set |
void |
setName(String s) Set the name of this property set |
void |
setType(String s) Set the type of this property set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractPropertySet()
public AbstractPropertySet(String typeArg, String nameArg, String descriptionArg)
Method Detail |
---|
public String getName()
getName
in interface PropertySet
public void setName(String s)
public String getDescription()
getDescription
in interface PropertySet
public void setDescription(String s)
public 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.
getType
in interface PropertySet
public void setType(String s)
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.
public Map<String,PropertyDefinition> getPropertyDefinitions()
getPropertyDefinitions
in interface PropertySet
public PropertyDefinition getPropertyDefinition(String key)
getPropertyDefinition
in interface PropertySet
key
- the name of the PropertyDefinition to retrievepublic void addPropertyDefinition(String name, PropertyDefinition value)
name
- the new property's namevalue
- the new property definition
|
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.