Skip navigation links

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


oracle.wcps.property.model
Class PropertySetDefinition.Builder

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

Enclosing class:
PropertySetDefinition

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

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

 IPropertySetDefinition setDef = PropertySetDefinition.builder()
                                                      .withPropertySetDefinition("Company_Def")
                                                      .withPropertyPropertyMapping(
                                                           PropertyMapping.builder()
                                                                          .withPropertyName("Company Name")
                                                                          .withPropertyDefinitionName("Name_Def")
                                                                          .build()
                                                      )
                                                      .build();
 

Method Summary
 IPropertySetDefinition build()
           
static boolean validate(IPropertySetDefinition definition)
           
 PropertySetDefinition.Builder with(IPropertySetDefinition propertySetDefinition)
           
 PropertySetDefinition.Builder withDescription(java.lang.String desc)
           
 PropertySetDefinition.Builder withNamespaceName(INamespaceName name)
          Deprecated. it is a no op.
 PropertySetDefinition.Builder withNamespaceName(java.lang.String name)
          Deprecated. it is a no op.
 PropertySetDefinition.Builder withPropertyLocatorClassName(java.lang.String className)
           
 PropertySetDefinition.Builder withPropertyMapping(IPropertyMapping propertyMapping)
           
 PropertySetDefinition.Builder withPropertyPermissionClassName(java.lang.String className)
           
 PropertySetDefinition.Builder withPropertySetDefinitionName(IPropertySetDefinitionName name)
           
 PropertySetDefinition.Builder withPropertySetDefinitionName(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 PropertySetDefinition.Builder withNamespaceName(java.lang.String name)
Deprecated. it is a no op.

withNamespaceName

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

withPropertySetDefinitionName

public PropertySetDefinition.Builder withPropertySetDefinitionName(IPropertySetDefinitionName name)

withPropertySetDefinitionName

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

withDescription

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

withPropertyMapping

public PropertySetDefinition.Builder withPropertyMapping(IPropertyMapping propertyMapping)

withPropertyLocatorClassName

public PropertySetDefinition.Builder withPropertyLocatorClassName(java.lang.String className)

withPropertyPermissionClassName

public PropertySetDefinition.Builder withPropertyPermissionClassName(java.lang.String className)

with

public PropertySetDefinition.Builder with(IPropertySetDefinition propertySetDefinition)

build

public IPropertySetDefinition build()

validate

public static boolean validate(IPropertySetDefinition definition)

Skip navigation links

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


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