Skip navigation links
oracle.stellent.wcm.core.data
Class ListElement
java.lang.Object
oracle.stellent.wcm.core.data.DataElement
oracle.stellent.wcm.core.data.ListElement
-
public class ListElement
- extends DataElement
Represents a list element in the data file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListElement
public ListElement(java.lang.String name,
java.util.List<ListRow> rows)
ListElement
public ListElement(java.lang.String name)
getSize
public int getSize()
-
- Returns:
- the number of rows in the list
setRows
public void setRows(java.util.List<ListRow> rows)
- Set a new collection of rows
-
- Parameters:
rows
- the new rows
getRows
public java.util.List<ListRow> getRows()
-
- Returns:
- the available rows
addRow
public void addRow(ListRow 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
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.