protected abstract class

AbstractConfigurableContainerServices.AbstractContainerStringCollection

extends Object
implements ContainerStringCollection
java.lang.Object
   ↳ com.microstrategy.web.platform.AbstractConfigurableContainerServices.AbstractContainerStringCollection

Class Overview

Abstract class for string collection classes.

Summary

Protected Constructors
AbstractConfigurableContainerServices.AbstractContainerStringCollection()
Public Methods
String getName(int index)
This returns a name at a specific numeric index in this collection.
int getNameCount()
This returns the number of unique names (keys) in this collection.
String getStringValue(String name, int index)
This returns a specific string value associated with a given name (key) in this collection.
String getStringValue(String name)
This returns a the first string value associated with a given name (key) in this collection.
int getStringValueCount(String name)
This returns the number of string values associated with a given name (key) in this collection.
Object getValue(String name)
This returns a value associated with a given name (key) in this collection.
Protected Methods
abstract HashList getStringCollection()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.microstrategy.web.platform.ContainerStringCollection

Protected Constructors

protected AbstractConfigurableContainerServices.AbstractContainerStringCollection ()

Public Methods

public String getName (int index)

This returns a name at a specific numeric index in this collection.

Parameters
index An int representing the index of the name to return.
Returns
  • The String representing the name at this index.

public int getNameCount ()

This returns the number of unique names (keys) in this collection.

Returns
  • An int representing the count of unique names.

public String getStringValue (String name, int index)

This returns a specific string value associated with a given name (key) in this collection. Valid indices range from 0 to 1 less than the value returned by getStringValueCount(String).

Parameters
name A String representing the name of the key in this collection.
index An int representing the specific value to retrieve.
Returns
  • A String representing the value at that index.

public String getStringValue (String name)

This returns a the first string value associated with a given name (key) in this collection.

Parameters
name A String representing the name of the key in this collection.
Returns
  • A String representing the value of the first string.

public int getStringValueCount (String name)

This returns the number of string values associated with a given name (key) in this collection. For most collections (such as the Query String collection, the Form Data collection and the Cookie collection), all values are represented as strings. However, for the Session collection, many of the values are not Strings and do not contribute to this count.

Parameters
name A String representing the name of the key in this collection.
Returns
  • An int representing the count of values.

public Object getValue (String name)

This returns a value associated with a given name (key) in this collection.

Parameters
name A String representing the name of the key in this collection.
Returns
  • A Object representing the value for the given name.

Protected Methods

protected abstract HashList getStringCollection ()