org.outerj.daisy.repository.schema
Interface StaticSelectionList

All Superinterfaces:
SelectionList

public interface StaticSelectionList
extends SelectionList

A static selection list, manually created by a daisy administrator for a specific FieldType.


Method Summary
 void addItem(java.lang.Object value)
          Adds a value to this StaticSelectionList.
 void clear()
          Clears this SelectionList
 StaticListItem createStaticListItem(java.lang.Object value)
          Creates a StaticListItem instance, adds it to this selection list and returns it.
 org.outerx.daisy.x10.StaticSelectionListDocument getXml()
           
 void setAllFromXml(org.outerx.daisy.x10.StaticSelectionListDocument.StaticSelectionList list)
           
 
Methods inherited from interface org.outerj.daisy.repository.schema.SelectionList
addToFieldTypeXml, getItems, getItems, getLabel
 

Method Detail

addItem

void addItem(java.lang.Object value)
             throws java.lang.Exception
Adds a value to this StaticSelectionList.

This value will be wrapped in a ListItem object, i.e. this method is actually a shortcut for the createStaticListItem(ListItem listItem) method, relieving the outside world from the task of creating a ListItem object.

Parameters:
value - the object containing the value to be stored in the StaticSelectionList
Throws:
java.lang.Exception

clear

void clear()
Clears this SelectionList


createStaticListItem

StaticListItem createStaticListItem(java.lang.Object value)
Creates a StaticListItem instance, adds it to this selection list and returns it.

Parameters:
value - the object containing the value to be stored in the StaticListItem

getXml

org.outerx.daisy.x10.StaticSelectionListDocument getXml()

setAllFromXml

void setAllFromXml(org.outerx.daisy.x10.StaticSelectionListDocument.StaticSelectionList list)


Copyright © -2012 . All Rights Reserved.