Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api.rls
Interface ResourceList

All Superinterfaces:
ResourceListData

public interface ResourceList
extends ResourceListData

Represents the 'resource-list' contained in a 'resource-lists'.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="listType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="display_name" type="{urn:ietf:params:xml:ns:resource-lists}display-nameType" minOccurs="0"/>
         <sequence maxOccurs="unbounded" minOccurs="0">
           <choice>
             <element name="list">
               <complexType>
                 <complexContent>
                   <extension base="{urn:ietf:params:xml:ns:resource-lists}listType">
                     <anyAttribute processContents='lax' namespace='##other'/>
                   </extension>
                 </complexContent>
               </complexType>
             </element>
             <element name="external" type="{urn:ietf:params:xml:ns:resource-lists}externalType"/>
             <element name="entry" type="{urn:ietf:params:xml:ns:resource-lists}entryType"/>
             <element name="entry_ref" type="{urn:ietf:params:xml:ns:resource-lists}entry-refType"/>
           </choice>
         </sequence>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 

Method Summary
 String getName()
          Gets the value of the name property.
<E extends ResourceListData>
List<E>
getResourceListData()
          Gets the value of the resource list data.
 void setName(String value)
          Sets the value of the name property.

 

Methods inherited from interface com.oracle.sft.api.rls.ResourceListData
getDisplayName, getOtherAttributes, setDisplayName

 

Method Detail

getResourceListData

<E extends ResourceListData> List<E> getResourceListData()
Gets the value of the resource list data. the type of the content may be one of the following type: Entry, EntryRef, External or list of ResourceList.

This accessor method returns a reference to the live list, not a snapshot. This is why there is not a set method for the listOrExternalOrEntry property.

For example, to add a new item, do as follows:

 getResourceListData().add(newItem);
 
Type Parameters:
E - A class that extends ResourceListData
Returns:
An instance of List, the elements inside it are instance of ResourceListData

getName

String getName()
Gets the value of the name property.
Returns:
String

setName

void setName(String value)
Sets the value of the name property.
Parameters:
value - allowed object is String

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.