atg.repository.servlet
Class RepositoryFormHashtable

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by atg.repository.servlet.RepositoryFormHashtable
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class RepositoryFormHashtable
extends java.util.Hashtable

Defines a hashtable with a property mapper which is case insensitive and does not give hard errors for properties that are not currently defined.

This cannot be an inner class because it confuses the component browser when it tries to serialize the value. Instead, we need the reference to our parent type made explicitly.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RepositoryFormHashtable(RepositoryFormData pFormData)
           
RepositoryFormHashtable(RepositoryFormData pFormData, RepositoryItemDescriptor pItemType, RepositoryItem pItem)
           
 
Method Summary
 java.lang.Object get(java.lang.Object pKey)
          Return the value associated with pKey.
 RepositoryFormData getFormData()
           
 RepositoryItem getRepositoryItem()
           
 boolean isUpcaseGetAndPut()
           
 java.lang.Object put(java.lang.Object pKey, java.lang.Object pValue)
           
 void setUpcaseGetAndPut(boolean pUpcaseGetAndPut)
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

RepositoryFormHashtable

public RepositoryFormHashtable(RepositoryFormData pFormData)

RepositoryFormHashtable

public RepositoryFormHashtable(RepositoryFormData pFormData,
                               RepositoryItemDescriptor pItemType,
                               RepositoryItem pItem)
Method Detail

isUpcaseGetAndPut

public boolean isUpcaseGetAndPut()

setUpcaseGetAndPut

public void setUpcaseGetAndPut(boolean pUpcaseGetAndPut)

getFormData

public RepositoryFormData getFormData()

getRepositoryItem

public RepositoryItem getRepositoryItem()

put

public java.lang.Object put(java.lang.Object pKey,
                            java.lang.Object pValue)
Specified by:
put in interface java.util.Map
Overrides:
put in class java.util.Hashtable

get

public java.lang.Object get(java.lang.Object pKey)
Return the value associated with pKey.

Specified by:
get in interface java.util.Map
Overrides:
get in class java.util.Hashtable
Parameters:
pKey - the key whose value to find.