com.ibm.portal.propertybroker.property
Interface PropertyController
All Superinterfaces:
Property, java.io.Serializable
- public interface PropertyController
- extends Property
Property
.
This interface has no dependencies on runtime specific objects, as it
is intended for reuse across general component runtime environments
where brokered communication across components may be necessary.
See the corresponding getter methods in Property
for detailed descriptions of the attributes
set by the various setters in this interface.
Currently only Name is supported, others are ignored.
PropertyBrokerService
may be used to create
instances of Property
. After instantiation, required fields must be set using
the setters provided by this interface.
Example:
PropertyController cproperty = propertyFactoryService.createProperty(myconfig); cproperty.setNamespace("namespace"); cproperty.setType("String"); cproperty.setName("My Property");
See Also:
Method Summary
Modifier and Type | Method and Description |
---|---|
|
setClassname(java.lang.String classname)
Sets the class used to hold the Property value.
|
|
setName(java.lang.String name)
Sets the name of the property.
|
|
setNamespace(java.lang.String namespace)
Sets the namespace of the property.
|
|
setType(java.lang.String type)
Sets the type of the property.
|
Methods inherited from interface com.ibm.portal.propertybroker.property.Property |
---|
getClassname, getName, getNamespace, getOwningDefinitionId, getType |
Method Detail
setName
- void setName(java.lang.String name)
Sets the name of the property.
setType
- void setType(java.lang.String type)
Sets the type of the property.
setNamespace
- void setNamespace(java.lang.String namespace)
Sets the namespace of the property.
setClassname
- void setClassname(java.lang.String classname)
Sets the class used to hold the Property value. Optional; if not set, defaults to java.lang.String.
Parameters:
classname
- the name of the class used to hold instances of the Property value See Also: