| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property
Encapsulates property information. A property represents a data type which can be produced or consumed. The type information is used by the Property Broker to determine matches between properties produced by a source and properties consumed by a target. This interface does not have any dependencies on the specific runtime environment, as it is intended for reuse across different component runtime environments where brokered communication across components may be supported.
In the WebSphere Portal environment,
PropertyBrokerService may be used to create
instances of Property
. After instantiation, required fields must be set using
setter methods on PropertyController. Instead of such explicit
creation, properties may be implicitly created by the runtime if information is
provided in a WSDL file.
A class which implements this interface must also be Serializable.
Method Summary | |
---|---|
java.lang.String | getClassname()
Returns class used to encapsulate the property value. |
java.lang.String | getClassName()
Deprecated. Use getClassname instead.
|
java.lang.String | getDescription(java.util.Locale locale)
Returns a text description for this property for the provided locale. |
Direction | getDirection()
Returns whether the property is produced or consumed. |
java.lang.Object | getId()
Returns a globally unique id identifying the property. |
java.lang.String | getName()
Returns the name of the property. |
java.lang.String | getNamespace()
Returns a string containing the type namespace. |
java.lang.Object | getOwningDefinitionId()
Return the id of the owning component this property is associated with. |
java.lang.String | getSchemaLocation()
Return a string containing the absolute URL or relative path to a document containing the type schema. |
java.util.Locale[] | getSupportedLocales()
Returns the supported locales for the displayable text associated with the property, such as its title and description. |
java.lang.String | getTitle(java.util.Locale locale)
Returns a short description for this property for the provided locale. |
java.lang.String | getType()
Returns a string containing the property type. |
Method Detail |
---|
java.lang.String getName()
String
containing the name of the property.java.lang.Object getId()
Property
object has been created
but not registered, this method will return null.
Object
which serves as the globally unique
identifier for the property.java.lang.String getType()
String
containing the property type.java.lang.String getNamespace()
String
containing the type namespace.java.lang.String getSchemaLocation()
String
containing the absolute URL or relative path to a schema.Direction getDirection()
java.lang.String getTitle(java.util.Locale locale)
java.lang.String getDescription(java.util.Locale locale)
java.lang.String getClassname()
String
.
String
containing the class name of the value of the property.java.lang.String getClassName()
getClassname
instead.
java.lang.Object getOwningDefinitionId()
java.util.Locale[] getSupportedLocales()
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |