Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


oracle.stellent.wcm.core.definition.element
Class ElementReferencesDefinition

java.lang.Object
  extended by oracle.stellent.wcm.core.definition.element.ElementReferencesDefinition

Direct Known Subclasses:
ElementDefinition, RegionDefinition

public class ElementReferencesDefinition
extends java.lang.Object

Represents an individual schema definition that supports element references (static lists and region schemas).


Constructor Summary
ElementReferencesDefinition()
          Build an empty region schema
ElementReferencesDefinition(oracle.stellent.wcm.core.definition.element.model.ElementType elementType)
           

 

Method Summary
 void addElementReference(ElementReference elementReference)
           
 void addProperty(Property property)
           
 java.lang.String getDescription()
          get the Description
 ElementReference getElementReference(java.lang.String name)
           
 java.util.Collection<java.lang.String> getElementReferenceNames()
           
protected  oracle.stellent.wcm.core.definition.element.model.ElementReferenceType getElementReferenceType(java.lang.String name)
           
 java.util.Collection<ElementReference> getElementReferenceValues()
           
 java.lang.String getFieldDescription(java.lang.String fieldName)
          Get the Description for a field.
 java.lang.String getFieldLabel(java.lang.String fieldName)
          Get the Label for a field.
 java.lang.String getFieldLocation(java.lang.String fieldName)
          Get the Location value for a field.
 oracle.stellent.wcm.core.definition.element.model.ElementType getModel()
           
 Property getProperty(java.lang.String name)
           
 java.lang.String getPropertyValue(java.lang.String name)
           
 void removeElementReference(java.lang.String name)
           
 void setDescription(java.lang.String description)
           
 void setPropertyValue(java.lang.String name, java.lang.String value)
           

 

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

 

Constructor Detail

ElementReferencesDefinition

public ElementReferencesDefinition()
Build an empty region schema

ElementReferencesDefinition

public ElementReferencesDefinition(oracle.stellent.wcm.core.definition.element.model.ElementType elementType)

Method Detail

getModel

public oracle.stellent.wcm.core.definition.element.model.ElementType getModel()

getElementReference

public ElementReference getElementReference(java.lang.String name)

addElementReference

public void addElementReference(ElementReference elementReference)

removeElementReference

public void removeElementReference(java.lang.String name)

getElementReferenceNames

public java.util.Collection<java.lang.String> getElementReferenceNames()

getElementReferenceValues

public java.util.Collection<ElementReference> getElementReferenceValues()

getFieldLocation

public java.lang.String getFieldLocation(java.lang.String fieldName)
Get the Location value for a field. Typically this is a dDocName for an Element Definition
Parameters:
fieldName - Name of a field
Returns:
Location value or null if fieldname not found

getFieldLabel

public java.lang.String getFieldLabel(java.lang.String fieldName)
Get the Label for a field.
Parameters:
fieldName - Name of a field
Returns:
Label, or null if fieldname not found

getFieldDescription

public java.lang.String getFieldDescription(java.lang.String fieldName)
Get the Description for a field.
Parameters:
fieldName - Name of a field
Returns:
Description, or null if fieldname not found

getPropertyValue

public java.lang.String getPropertyValue(java.lang.String name)

setPropertyValue

public void setPropertyValue(java.lang.String name,
                             java.lang.String value)

getProperty

public Property getProperty(java.lang.String name)

addProperty

public void addProperty(Property property)

getDescription

public java.lang.String getDescription()
get the Description
Returns:
Description, or empty string

setDescription

public void setDescription(java.lang.String description)

getElementReferenceType

protected oracle.stellent.wcm.core.definition.element.model.ElementReferenceType getElementReferenceType(java.lang.String name)

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


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