|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.wcps.property.model.PropertyDefinition.Builder
public static class PropertyDefinition.Builder
The builder used for creating a PropertyDefinition. The instances of this are not thread safe. The following example shows how to use this builder.
IPropertyDefinition propertyDef = PropertyDefinition.builder(Type.INT, false)
.withNamespaceName("Oracle")
.withPropertyDefinitionName("Int_Def")
.withDefaultValue(6)
.build();
| Method Summary | |
|---|---|
IPropertyDefinition |
build() |
PropertyDefinition.Builder |
withDefaultValue(java.io.Serializable defaultValue) |
PropertyDefinition.Builder |
withDefaultValues(java.util.List<? extends java.io.Serializable> defaultValues) |
PropertyDefinition.Builder |
withDescription(java.lang.String desc) |
PropertyDefinition.Builder |
withNamespaceName(INamespaceName name)Deprecated. it is a no op. |
PropertyDefinition.Builder |
withNamespaceName(java.lang.String name)Deprecated. it is a no op. |
PropertyDefinition.Builder |
withPropertyDefinitionName(java.lang.String name) |
PropertyDefinition.Builder |
withRestrictedValue(java.io.Serializable restrictedValue) |
PropertyDefinition.Builder |
withRestrictedValues(java.util.List<? extends java.io.Serializable> restrictedValues) |
PropertyDefinition.Builder |
withValidatorClassName(java.lang.String validator) |
PropertyDefinition.Builder |
withValidatorValue(java.lang.String value) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public PropertyDefinition.Builder withNamespaceName(java.lang.String name)
public PropertyDefinition.Builder withNamespaceName(INamespaceName name)
public PropertyDefinition.Builder withPropertyDefinitionName(java.lang.String name)
public PropertyDefinition.Builder withDescription(java.lang.String desc)
public PropertyDefinition.Builder withRestrictedValues(java.util.List<? extends java.io.Serializable> restrictedValues)
public PropertyDefinition.Builder withRestrictedValue(java.io.Serializable restrictedValue)
public PropertyDefinition.Builder withDefaultValues(java.util.List<? extends java.io.Serializable> defaultValues)
public PropertyDefinition.Builder withDefaultValue(java.io.Serializable defaultValue)
public PropertyDefinition.Builder withValidatorClassName(java.lang.String validator)
public PropertyDefinition.Builder withValidatorValue(java.lang.String value)
public IPropertyDefinition build()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||