Skip navigation links

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

E17273-03


oracle.stellent.wcm.core.data
Class ListElement

java.lang.Object
  extended by oracle.stellent.wcm.core.data.DataElement
      extended by oracle.stellent.wcm.core.data.ListElement


public class ListElement
extends DataElement

Represents a list element in the data file


Constructor Summary
ListElement(java.lang.String name)
           
ListElement(java.lang.String name, java.util.List<ListElementRow> rows)
           

 

Method Summary
 void addRow(ListElementRow listRow)
          Add a row to the list
 java.util.List<ListElementRow> getRows()
           
 int getSize()
           
 boolean isContainer()
           
 void setRows(java.util.List<ListElementRow> rows)
          Set a new collection of rows

 

Methods inherited from class oracle.stellent.wcm.core.data.DataElement
getName

 

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

 

Constructor Detail

ListElement

public ListElement(java.lang.String name,
                   java.util.List<ListElementRow> rows)

ListElement

public ListElement(java.lang.String name)

Method Detail

getSize

public int getSize()
Returns:
the number of rows in the list

setRows

public void setRows(java.util.List<ListElementRow> rows)
Set a new collection of rows
Parameters:
rows - the new rows

getRows

public java.util.List<ListElementRow> getRows()
Returns:
the available rows

addRow

public void addRow(ListElementRow listRow)
Add a row to the list
Parameters:
listRow - the list row

isContainer

public boolean isContainer()
Overrides:
isContainer in class DataElement
Returns:
true if this is element contains child elements; false by default

Skip navigation links

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

E17273-03


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