Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


oracle.wcps.property.model
Class PropertySet.Builder

java.lang.Object
  extended by oracle.wcps.property.model.PropertySet.Builder

Enclosing class:
PropertySet

public static class PropertySet.Builder
extends java.lang.Object

The builder used for creating a PropertySet. The instances of this are not thread safe. The following example shows how to use this builder.

 IPropertySet set = PropertySet.builder()
                               .withPropertySetName("Oracle")
                               .withPropertySetDefinitionName("Company_Def")
                               .withProperty("Company Name", "Oracle Inc")
                               .build();
 

Method Summary
 IPropertySet build()
           
 IPropertySet buildWithOutValidation()
          Deprecated.  
static boolean validate(IPropertySet propertySet)
           
 PropertySet.Builder withDescription(java.lang.String desc)
           
 PropertySet.Builder withNamespaceName(INamespaceName name)
          Deprecated. it is a no op.
 PropertySet.Builder withNamespaceName(java.lang.String name)
          Deprecated. it is a no op.
 PropertySet.Builder withProperty(IProperty p)
           
 PropertySet.Builder withProperty(IPropertyName name, java.io.Serializable value, Type type)
           
 PropertySet.Builder withProperty(java.lang.String name, java.io.Serializable value)
           
 PropertySet.Builder withProperty(java.lang.String name, java.io.Serializable value, Type type)
           
 PropertySet.Builder withPropertySetDefinitionName(IPropertySetDefinitionName name)
           
 PropertySet.Builder withPropertySetDefinitionName(java.lang.String name)
           
 PropertySet.Builder withPropertySetName(IPropertySetName name)
           
 PropertySet.Builder withPropertySetName(java.lang.String name)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

withNamespaceName

public PropertySet.Builder withNamespaceName(java.lang.String name)
Deprecated. it is a no op.

withNamespaceName

public PropertySet.Builder withNamespaceName(INamespaceName name)
Deprecated. it is a no op.

withPropertySetName

public PropertySet.Builder withPropertySetName(java.lang.String name)

withPropertySetName

public PropertySet.Builder withPropertySetName(IPropertySetName name)

withPropertySetDefinitionName

public PropertySet.Builder withPropertySetDefinitionName(java.lang.String name)

withPropertySetDefinitionName

public PropertySet.Builder withPropertySetDefinitionName(IPropertySetDefinitionName name)

withDescription

public PropertySet.Builder withDescription(java.lang.String desc)

withProperty

public PropertySet.Builder withProperty(java.lang.String name,
                                        java.io.Serializable value)

withProperty

public PropertySet.Builder withProperty(java.lang.String name,
                                        java.io.Serializable value,
                                        Type type)

withProperty

public PropertySet.Builder withProperty(IPropertyName name,
                                        java.io.Serializable value,
                                        Type type)

withProperty

public PropertySet.Builder withProperty(IProperty p)

build

public IPropertySet build()

buildWithOutValidation

public IPropertySet buildWithOutValidation()
Deprecated. 

validate

public static boolean validate(IPropertySet propertySet)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.