Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.data.attr.util
Class ExtensibleMultiHashMapModel

java.lang.Object
  extended by cytoscape.data.attr.util.ExtensibleMultiHashMapModel
All Implemented Interfaces:
MultiHashMap, MultiHashMapDefinition

Deprecated. Use MultiHashMapFactory instead.

public class ExtensibleMultiHashMapModel
extends Object

Please try to restrain from using this class. This class was created so that certain legacy applications would have an easier time integrating with the functionality provided by the MultiHashMap and MultiHashMapDefinition implementations.

See Also:
MultiHashMapFactory

Field Summary
 
Fields inherited from interface cytoscape.data.attr.MultiHashMapDefinition
TYPE_BOOLEAN, TYPE_FLOATING_POINT, TYPE_INTEGER, TYPE_STRING
 
Constructor Summary
ExtensibleMultiHashMapModel()
          Deprecated.  
 
Method Summary
 void addDataDefinitionListener(MultiHashMapDefinitionListener listener)
          DOCUMENT ME!
 void addDataListener(MultiHashMapListener listener)
          DOCUMENT ME!
 void defineAttribute(String attributeName, byte valueType, byte[] keyTypes)
          DOCUMENT ME!
 byte[] getAttributeKeyspaceDimensionTypes(String attributeName)
          DOCUMENT ME!
 CountedIterator getAttributeKeyspan(String objectKey, String attributeName, Object[] keyPrefix)
          DOCUMENT ME!
 Object getAttributeValue(String objectKey, String attributeName, Object[] keyIntoValue)
          DOCUMENT ME!
 byte getAttributeValueType(String attributeName)
          DOCUMENT ME!
 CountedIterator getDefinedAttributes()
          DOCUMENT ME!
 CountedIterator getObjectKeys(String attributeName)
          DOCUMENT ME!
 boolean removeAllAttributeValues(String objectKey, String attributeName)
          DOCUMENT ME!
 Object removeAttributeValue(String objectKey, String attributeName, Object[] keyIntoValue)
          DOCUMENT ME!
 void removeDataDefinitionListener(MultiHashMapDefinitionListener listener)
          DOCUMENT ME!
 void removeDataListener(MultiHashMapListener listener)
          DOCUMENT ME!
 Object setAttributeValue(String objectKey, String attributeName, Object attributeValue, Object[] keyIntoValue)
          DOCUMENT ME!
 boolean undefineAttribute(String attributeName)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensibleMultiHashMapModel

public ExtensibleMultiHashMapModel()
Deprecated. 
Method Detail

defineAttribute

public final void defineAttribute(String attributeName,
                                  byte valueType,
                                  byte[] keyTypes)
DOCUMENT ME!

Specified by:
defineAttribute in interface MultiHashMapDefinition
Parameters:
attributeName - DOCUMENT ME!
valueType - DOCUMENT ME!
keyTypes - DOCUMENT ME!

getDefinedAttributes

public final CountedIterator getDefinedAttributes()
DOCUMENT ME!

Specified by:
getDefinedAttributes in interface MultiHashMapDefinition
Returns:
DOCUMENT ME!

getAttributeValueType

public final byte getAttributeValueType(String attributeName)
DOCUMENT ME!

Specified by:
getAttributeValueType in interface MultiHashMapDefinition
Parameters:
attributeName - DOCUMENT ME!
Returns:
DOCUMENT ME!

getAttributeKeyspaceDimensionTypes

public final byte[] getAttributeKeyspaceDimensionTypes(String attributeName)
DOCUMENT ME!

Specified by:
getAttributeKeyspaceDimensionTypes in interface MultiHashMapDefinition
Parameters:
attributeName - DOCUMENT ME!
Returns:
DOCUMENT ME!

undefineAttribute

public final boolean undefineAttribute(String attributeName)
DOCUMENT ME!

Specified by:
undefineAttribute in interface MultiHashMapDefinition
Parameters:
attributeName - DOCUMENT ME!
Returns:
DOCUMENT ME!

addDataDefinitionListener

public final void addDataDefinitionListener(MultiHashMapDefinitionListener listener)
DOCUMENT ME!

Specified by:
addDataDefinitionListener in interface MultiHashMapDefinition
Parameters:
listener - DOCUMENT ME!

removeDataDefinitionListener

public final void removeDataDefinitionListener(MultiHashMapDefinitionListener listener)
DOCUMENT ME!

Specified by:
removeDataDefinitionListener in interface MultiHashMapDefinition
Parameters:
listener - DOCUMENT ME!

setAttributeValue

public final Object setAttributeValue(String objectKey,
                                      String attributeName,
                                      Object attributeValue,
                                      Object[] keyIntoValue)
DOCUMENT ME!

Specified by:
setAttributeValue in interface MultiHashMap
Parameters:
objectKey - DOCUMENT ME!
attributeName - DOCUMENT ME!
attributeValue - DOCUMENT ME!
keyIntoValue - DOCUMENT ME!
Returns:
DOCUMENT ME!

getAttributeValue

public final Object getAttributeValue(String objectKey,
                                      String attributeName,
                                      Object[] keyIntoValue)
DOCUMENT ME!

Specified by:
getAttributeValue in interface MultiHashMap
Parameters:
objectKey - DOCUMENT ME!
attributeName - DOCUMENT ME!
keyIntoValue - DOCUMENT ME!
Returns:
DOCUMENT ME!

removeAttributeValue

public final Object removeAttributeValue(String objectKey,
                                         String attributeName,
                                         Object[] keyIntoValue)
DOCUMENT ME!

Specified by:
removeAttributeValue in interface MultiHashMap
Parameters:
objectKey - DOCUMENT ME!
attributeName - DOCUMENT ME!
keyIntoValue - DOCUMENT ME!
Returns:
DOCUMENT ME!
See Also:
MultiHashMap.getAttributeValue(String, String, Object[])

removeAllAttributeValues

public final boolean removeAllAttributeValues(String objectKey,
                                              String attributeName)
DOCUMENT ME!

Specified by:
removeAllAttributeValues in interface MultiHashMap
Parameters:
objectKey - DOCUMENT ME!
attributeName - DOCUMENT ME!
Returns:
DOCUMENT ME!

getAttributeKeyspan

public final CountedIterator getAttributeKeyspan(String objectKey,
                                                 String attributeName,
                                                 Object[] keyPrefix)
DOCUMENT ME!

Specified by:
getAttributeKeyspan in interface MultiHashMap
Parameters:
objectKey - DOCUMENT ME!
attributeName - DOCUMENT ME!
keyPrefix - DOCUMENT ME!
Returns:
DOCUMENT ME!

getObjectKeys

public final CountedIterator getObjectKeys(String attributeName)
DOCUMENT ME!

Specified by:
getObjectKeys in interface MultiHashMap
Parameters:
attributeName - DOCUMENT ME!
Returns:
DOCUMENT ME!
See Also:
MultiHashMapDefinition.getAttributeValueType(String)

addDataListener

public final void addDataListener(MultiHashMapListener listener)
DOCUMENT ME!

Specified by:
addDataListener in interface MultiHashMap
Parameters:
listener - DOCUMENT ME!

removeDataListener

public final void removeDataListener(MultiHashMapListener listener)
DOCUMENT ME!

Specified by:
removeDataListener in interface MultiHashMap
Parameters:
listener - DOCUMENT ME!

www.cytoscape.org