Package com.microstrategy.web.transform
Class ActualParametersImpl
- java.lang.Object
 - 
- com.microstrategy.utils.config.AbstractConfigurationElement
 - 
- com.microstrategy.utils.config.AbstractElementList
 - 
- com.microstrategy.web.transform.AbstractStyleCatalogList
 - 
- com.microstrategy.web.transform.ActualParametersImpl
 
 
 
 
 
- 
- All Implemented Interfaces:
 ConfigurationElement,ConfigurationFile,ActualParameters,java.lang.Cloneable
public class ActualParametersImpl extends AbstractStyleCatalogList implements ActualParameters
ActualParametersImpl implements Actualparameters interface, which is a collection of ActualParameterImpl objects.- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringNODE_ACTUAL_PARAMETERS- 
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
ATT_CONFIG_SRC, ATT_DELETED, ATT_POSITION, ATT_PROTOTYPE, ATT_USE_DEFAULT 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ActualParametersImpl() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ActualParametergetActualParameter(int index)Retrieves a specific actual parameter at a given index in the collection.ActualParametergetActualParameter(FormalParameter formalParam)Retrieves the actual parameter associated with the given formal parameter.ActualParametergetActualParameter(java.lang.String name)Retrieves the actual parameter with the given name.java.util.EnumerationgetActualParameters(FormalParameter formalParam)Deprecated.The name of the actual parameter is now used as the key therefore this enumeration will return at most one value, the same asgetActualParameter(String).java.util.EnumerationgetActualParameters(java.lang.String name)Deprecated.The name of the actual parameter is now used as the key therefore this enumeration will return at most one value, the same asgetActualParameter(String).protected java.lang.ClassgetListClass()Returns theClassitems beloging to this list will be instance of.protected java.lang.StringgetListNodeName()Returns the name of the node representing children of this list.intgetNumMismatchedParams()Returns the number of actual parameters, whose name doesn't match a formal parameter.booleanhasActualParameter(FormalParameter formalParameter)Determines whether an actual parameter exists for a given formal parameter.ActualParameternewActualParameter(FormalParameter formalParam)Creates a new ActualParameter object associated with the given formal parameter.ActualParameternewActualParameter(java.lang.String name)Creates a new ActualParameter object with the given name, and it adds it to the collection.voidremove(FormalParameter formalParam)Removes the ActualParameter object associated with the given formal parameter.- 
Methods inherited from class com.microstrategy.web.transform.AbstractStyleCatalogList
clearCaches, getCount, getStyleCatalog, newItem, reload, remove, remove 
- 
Methods inherited from class com.microstrategy.utils.config.AbstractElementList
clear, containsKey, get, get, getKeyAttribute, getList, isEmpty, put, put, size 
- 
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, clone, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, exportNodeValueToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getDTDFileName, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, getKey, getLineNumber, getList, getNextKey, getNodeName, getNodeValue, getNodeValue, getOrCreateElement, getParent, getPosition, getPrototype, getRegisteredClass, getSelfInitPath, getSource, getStrAttribute, getUseDefault, getXMLParserParameters, getXMLSerializerParameters, hashCode, hashCodeAtts, hashCodeElements, hashCodeNodeValues, hasRegisteredClass, initAttributesFromXML, initDefaultAttributes, initElementFromXML, initElementsFromXML, initFromFile, initFromResource, initFromXML, initFromXML, initNodeValueFromXML, initPrototype, isActive, isCustomized, isDeleted, isDirty, isInSource, isKeyAttribute, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reloadPrototype, removeAttribute, removeDefaults, replaceList, restore, save, save, saveChangesAs, saveConfig, saveFlatXML, saveNode, saveSource, setAttribute, setBoolAttribute, setChildOriginals, setConfigSrc, setCustomized, setElement, setFileLoader, setIntAttribute, setKey, setLineNumber, setNodeName, setNodeValue, setPosition, setPrototype, setSelfInitPath, setStrAttribute, setUseDefault, setUseValidation, throwConfigParseException, toString, toXML, toXML, toXML, toXML, useNodeValue, useValidation 
- 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface com.microstrategy.web.transform.ActualParameters
clear, getCount, remove, remove 
- 
Methods inherited from interface com.microstrategy.utils.config.ConfigurationElement
getAttribute, getAttributes, getElement, getElements, getKey, getNodeName, getStrAttribute, initFromXML, reload, toXML 
 - 
 
 - 
 
- 
- 
Field Detail
- 
NODE_ACTUAL_PARAMETERS
protected static final java.lang.String NODE_ACTUAL_PARAMETERS
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
hasActualParameter
public boolean hasActualParameter(FormalParameter formalParameter)
Description copied from interface:ActualParametersDetermines whether an actual parameter exists for a given formal parameter.- Specified by:
 hasActualParameterin interfaceActualParameters- Parameters:
 formalParameter- The FormalParameter who's actual you are looking for.- Returns:
 - True if an actual value exists for this formal parameter; false, otherwise.
 
 
- 
getActualParameter
public ActualParameter getActualParameter(int index) throws java.lang.IndexOutOfBoundsException
Description copied from interface:ActualParametersRetrieves a specific actual parameter at a given index in the collection.- Specified by:
 getActualParameterin interfaceActualParameters- Parameters:
 index- of the object in collection.- Returns:
 - the 
ActualParameterobject in the collection with the given index. - Throws:
 java.lang.IndexOutOfBoundsException- thrown if the index is invalid.
 
- 
getActualParameter
public ActualParameter getActualParameter(java.lang.String name) throws java.lang.IllegalArgumentException
Description copied from interface:ActualParametersRetrieves the actual parameter with the given name.- Specified by:
 getActualParameterin interfaceActualParameters- Parameters:
 name- the name of the actual parameter.- Returns:
 - the 
ActualParameterobject with the given name. - Throws:
 java.lang.IllegalArgumentException- thrown if no actual parameter has the given name.
 
- 
getActualParameter
public ActualParameter getActualParameter(FormalParameter formalParam) throws java.lang.IllegalArgumentException
Description copied from interface:ActualParametersRetrieves the actual parameter associated with the given formal parameter.- Specified by:
 getActualParameterin interfaceActualParameters- Parameters:
 formalParam- theFormalParameterassociated with the actual parameter.- Returns:
 - the 
ActualParameterobject associated with the given formal parameter. - Throws:
 java.lang.IllegalArgumentException- thrown if no actual parameter is associated with the given formal parameter object.
 
- 
getNumMismatchedParams
public int getNumMismatchedParams()
Description copied from interface:ActualParametersReturns the number of actual parameters, whose name doesn't match a formal parameter.- Specified by:
 getNumMismatchedParamsin interfaceActualParameters- Returns:
 - number of mismatched parameters in the collection.
 
 
- 
remove
public void remove(FormalParameter formalParam) throws java.lang.IllegalArgumentException
Description copied from interface:ActualParametersRemoves the ActualParameter object associated with the given formal parameter.- Specified by:
 removein interfaceActualParameters- Parameters:
 formalParam- theFormalParameterassociated with the actual parameter.- Throws:
 java.lang.IllegalArgumentException- thrown if no actual parameter is associated with the given formal parameter object.
 
- 
newActualParameter
public ActualParameter newActualParameter(java.lang.String name) throws java.lang.IllegalArgumentException
Description copied from interface:ActualParametersCreates a new ActualParameter object with the given name, and it adds it to the collection.- Specified by:
 newActualParameterin interfaceActualParameters- Parameters:
 name- the name of the newActualParameterobject.- Returns:
 - the ActualParameter object created.
 - Throws:
 java.lang.IllegalArgumentException- thrown if the name is null.
 
- 
newActualParameter
public ActualParameter newActualParameter(FormalParameter formalParam) throws java.lang.IllegalArgumentException
Description copied from interface:ActualParametersCreates a new ActualParameter object associated with the given formal parameter.- Specified by:
 newActualParameterin interfaceActualParameters- Parameters:
 formalParam- theFormalParameterobject the caller wants to associate the actual parameter with.- Returns:
 - the 
ActualParameterobject created. - Throws:
 java.lang.IllegalArgumentException
 
- 
getActualParameters
public java.util.Enumeration getActualParameters(java.lang.String name) throws java.lang.IllegalArgumentExceptionDeprecated.The name of the actual parameter is now used as the key therefore this enumeration will return at most one value, the same asgetActualParameter(String).Returns an enumeration with the list of actual parameters associated with the given name.- Specified by:
 getActualParametersin interfaceActualParameters- Parameters:
 name- the actual parameter name- Returns:
 - an enumeration over the ActualParameter objects with the specified name
 - Throws:
 java.lang.IllegalArgumentException- thrown if the name does not exist- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getActualParameters
public java.util.Enumeration getActualParameters(FormalParameter formalParam) throws java.lang.IllegalArgumentException
Deprecated.The name of the actual parameter is now used as the key therefore this enumeration will return at most one value, the same asgetActualParameter(String).Returns an enumeration with the list of actual parameters associated with the givenFormalParameter.- Specified by:
 getActualParametersin interfaceActualParameters- Parameters:
 formalParam- a FormalParameter- Returns:
 - an enumeration over the ActualParameter objects matching the specified FormalParameter.
 - Throws:
 java.lang.IllegalArgumentException- if there is no such an ActualParameter matching the specified FormalParameter.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getListClass
protected java.lang.Class getListClass()
Description copied from class:AbstractElementListReturns theClassitems beloging to this list will be instance of.- Specified by:
 getListClassin classAbstractElementList- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getListNodeName
protected java.lang.String getListNodeName()
Description copied from class:AbstractElementListReturns the name of the node representing children of this list.- Specified by:
 getListNodeNamein classAbstractElementList- Since:
 - MicroStrategy Web 9.0.0
 
 
 - 
 
 -