|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.wcps.property.model.Property.Builder<T>
public static class Property.Builder<T extends java.io.Serializable>
The builder used for creating a Property
. The instances of this are not thread safe. The build()
method validates the property value by testing if it is the right type. The following example shows how to use this builder.
IProperty property = Property.builder().withProperty("Company Name", "Oracle").build();
Method Summary | |
---|---|
IProperty<T> |
build() |
Property.Builder<T> |
withProperty(IPropertyName name, T value) |
Property.Builder<T> |
withProperty(IPropertyName name, T value, Type type) |
Property.Builder<T> |
withProperty(java.lang.String name, T value) |
Property.Builder<T> |
withProperty(java.lang.String name, T value, Type type) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Property.Builder<T> withProperty(java.lang.String name, T value)
public Property.Builder<T> withProperty(IPropertyName name, T value)
public Property.Builder<T> withProperty(java.lang.String name, T value, Type type)
public Property.Builder<T> withProperty(IPropertyName name, T value, Type type)
public IProperty<T> build()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |