atg.repository.servlet
Class RepositoryFormMap

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by atg.repository.servlet.RepositoryFormList
                  extended by atg.repository.servlet.RepositoryFormMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class RepositoryFormMap
extends RepositoryFormList

This class is used by the RepositoryFormHandler. It is returned when the value of a Map property is requested in the RFH.value.mapProperty is requested.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
RepositoryFormMap(RepositoryFormData pFormData, RepositoryPropertyDescriptor pProperty, RepositoryItem pItem)
           
 
Method Summary
 void clear()
           
 java.lang.String[] getKeys()
           
 java.lang.String[] getKeysAndRepositoryIds()
           
 java.lang.String[] getKeysAndValues()
           
 void setKeys(java.lang.String[] pKeys)
          Sets the property Keys.
 void setKeysAndRepositoryIds(java.lang.String[] pKeysAndRepositoryIds)
          Sets the property KeysAndRepositoryIds.
 void setKeysAndValues(java.lang.String[] pKeysAndValues)
          Sets the property KeysAndValues.
 
Methods inherited from class atg.repository.servlet.RepositoryFormList
contains, get, getDefaultElementValue, getNumNewValues, getPropertyDescriptor, getRepositoryIds, getSkip, getSkip, getUpdateMode, getValue, getValues, isEmpty, iterator, setNumNewValues, setRepositoryIds, setSkip, setSkip, setUpdateMode, setValues, size, toArray, updateItemProperties
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clone, ensureCapacity, indexOf, lastIndexOf, remove, remove, removeRange, set, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

RepositoryFormMap

public RepositoryFormMap(RepositoryFormData pFormData,
                         RepositoryPropertyDescriptor pProperty,
                         RepositoryItem pItem)
Method Detail

setKeys

public void setKeys(java.lang.String[] pKeys)
Sets the property Keys. This specifies the list of key values to use for updating this map.

Parameters:
pKeys - new value to set

getKeys

public java.lang.String[] getKeys()
Returns:
The value of the property Keys.

setKeysAndRepositoryIds

public void setKeysAndRepositoryIds(java.lang.String[] pKeysAndRepositoryIds)
Sets the property KeysAndRepositoryIds. This is a special array of strings that you can use to specify the keys and repository ids of a particular reference in one shot.

Parameters:
pKeysAndRepositoryIds - new value to set

getKeysAndRepositoryIds

public java.lang.String[] getKeysAndRepositoryIds()
Returns:
The value of the property KeysAndRepositoryIds.

setKeysAndValues

public void setKeysAndValues(java.lang.String[] pKeysAndValues)
Sets the property KeysAndValues. This is a special array of strings that you can use to specify the keys and repository ids of a particular reference in one shot.

Parameters:
pKeysAndValues - new value to set

getKeysAndValues

public java.lang.String[] getKeysAndValues()
Returns:
The value of the property KeysAndValues.

clear

public void clear()
Specified by:
clear in interface java.util.Collection
Specified by:
clear in interface java.util.List
Overrides:
clear in class RepositoryFormList