Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 2 (11.1.2.3.0)

E17480-04


oracle.adf.controller.metadata.model.beans
Interface ListEntriesHolder

All Known Subinterfaces:
ManagedBean, ManagedProperty

public interface ListEntriesHolder

Interface denoting a component that stores list entries.


Method Summary
 boolean addListEntry(CollectionEntry entry)
          Adds the specified list entry to the list.
 java.util.List<CollectionEntry> getListEntries()
          A list of entries for this component.
 java.lang.String getListValueClass()
          A fully qualified class name for values in the list to be created.
 boolean removeListEntry(CollectionEntry entry)
          Removes the specified list entry from the list.
 boolean setListValueClass(java.lang.String listValueClass)
          If listValueClass is null, and bean definition contains list-entries child, this child will be removed.

 

Method Detail

getListEntries

java.util.List<CollectionEntry> getListEntries()
A list of entries for this component.
Returns:
entries list

getListValueClass

java.lang.String getListValueClass()
A fully qualified class name for values in the list to be created.
Returns:
the implementation class of list elements.

setListValueClass

boolean setListValueClass(java.lang.String listValueClass)
If listValueClass is null, and bean definition contains list-entries child, this child will be removed. If listValueClass is not null, and list-entries child is not defined, this child will be added and then value-class child will be set to the specified value. This methods has to be called after a property has been converted to a list by adding list entries, or it is a brand new property.
Parameters:
listValueClass - the new value for value-class property
Returns:
true, if value-class was successfully set or removed, false otherwise.

removeListEntry

boolean removeListEntry(CollectionEntry entry)
Removes the specified list entry from the list. If this entry is the only entry in the list, list-entries element will be removed as well.
Parameters:
entry - the list entry to be removed
Returns:
true, if the entry was successfully removed, false otherwise

addListEntry

boolean addListEntry(CollectionEntry entry)
Adds the specified list entry to the list.
Parameters:
entry - the list entry to be added
Returns:
true, if the list entry was successfully added, false otherwise

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 2 (11.1.2.3.0)

E17480-04


Copyright © 1997, 2012, Oracle. All rights reserved.