com.sapportals.wcm.repository

Class PropertyNameList

java.lang.Object
  extended by com.sapportals.wcm.repository.PropertyNameList
All Implemented Interfaces:
IPropertyNameList

public class PropertyNameList
extends Object
implements IPropertyNameList

This interface defines a list of IPropertyNameList objects.


Constructor Summary
PropertyNameList()
          Construct object of class PropertyNameList.
PropertyNameList(IPropertyNameList list)
          convenience constructor which creates a new list that contains the same elements as the passed list does.
 
Method Summary
 void add(int index, IPropertyName name)
          Inserts the specified positioning object at the specified position in the list
 boolean add(IPropertyName name)
          Appends the specified positioning object to the end of the list
 boolean contains(IPropertyName propertyName)
           
 IPropertyName get(int index)
          Returns the positioning object with the specified index
 IPropertyNameList getListWithoutSystemPropertyNames()
           
 IPropertyNameListIterator listIterator()
          Returns a list iterator
 int size()
          Returns the number of positioning objects in the list
 void sort(Comparator c)
           
 List toList()
          Returns the property list as a List
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyNameList

public PropertyNameList()
Construct object of class PropertyNameList.


PropertyNameList

public PropertyNameList(IPropertyNameList list)
convenience constructor which creates a new list that contains the same elements as the passed list does. Modifications of one of these two lists won't be reflected in the other list

Parameters:
list - must not be null
Method Detail

get

public IPropertyName get(int index)
Returns the positioning object with the specified index

Specified by:
get in interface IPropertyNameList
Parameters:
index -
Returns:
TBD: Description of the outgoing return value

size

public int size()
Returns the number of positioning objects in the list

Specified by:
size in interface IPropertyNameList
Returns:
TBD: Description of the outgoing return value

add

public boolean add(IPropertyName name)
Appends the specified positioning object to the end of the list

Specified by:
add in interface IPropertyNameList
Parameters:
name -
Returns:
TBD: Description of the outgoing return value

add

public void add(int index,
                IPropertyName name)
Inserts the specified positioning object at the specified position in the list

Specified by:
add in interface IPropertyNameList
Parameters:
index -
name -

contains

public boolean contains(IPropertyName propertyName)
Specified by:
contains in interface IPropertyNameList
Parameters:
propertyName -
Returns:

listIterator

public IPropertyNameListIterator listIterator()
Returns a list iterator

Specified by:
listIterator in interface IPropertyNameList
Returns:
TBD: Description of the outgoing return value

toList

public List toList()
Returns the property list as a List

Specified by:
toList in interface IPropertyNameList
Returns:
the IPropertyNameList as a List

sort

public void sort(Comparator c)
Specified by:
sort in interface IPropertyNameList

toString

public String toString()
Overrides:
toString in class Object

getListWithoutSystemPropertyNames

public IPropertyNameList getListWithoutSystemPropertyNames()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2011 SAP AG Complete Copyright Notice