com.ibm.portal.propertybroker.property

Interface PropertyController

All Superinterfaces:
Property, java.io.Serializable

  1. public interface PropertyController
  2. extends Property
Encapsulates setter methods used when initializing instances of 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:
PropertyBrokerService, Property

Method Summary

Modifier and Type Method and Description
  1. void
setClassname(java.lang.String classname)
Sets the class used to hold the Property value.
  1. void
setName(java.lang.String name)
Sets the name of the property.
  1. void
setNamespace(java.lang.String namespace)
Sets the namespace of the property.
  1. void
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

  1. void setName(java.lang.String name)
Sets the name of the property.
Parameters:
name - the name
See Also:

setType

  1. void setType(java.lang.String type)
Sets the type of the property.
Parameters:
type - the type
See Also:

setNamespace

  1. void setNamespace(java.lang.String namespace)
Sets the namespace of the property.
Parameters:
namespace - the namespace
See Also:

setClassname

  1. 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: