Class StyleInfo
- java.lang.Object
 - 
- com.microstrategy.utils.config.AbstractConfigurationElement
 - 
- com.microstrategy.utils.config.AbstractConfigurationElementList
 - 
- com.microstrategy.web.app.tasks.config.StyleInfo
 
 
 
 
- 
- All Implemented Interfaces:
 ConfigurationElement,ConfigurationElementList,ConfigurationFile,java.lang.Cloneable
public class StyleInfo extends AbstractConfigurationElementList
THIS CLASS IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT. THE CLASS IS SUBJECT TO CHANGE IN FUTURE RELEASES AND SOME METHODS AND PROPERTIES MAY NOT BE SUITABLE FOR CUSTOM DEVELOPMENT.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTR_VALUE_SOURCE_CONSTANTstatic java.lang.StringATTR_VALUE_SOURCE_PARAMETERstatic java.lang.StringNODE_STYLE- 
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElementList
ATT_VERSION 
- 
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 StyleInfo()Class constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddActualParameter(ActualParameterInfo actualParameter)Add this actual parameter to the listvoidaddActualParameter(java.lang.Object key, ActualParameterInfo actualParameter)voiddeleteActualParameter(java.lang.Object key)deletes the actual parameter from the list which is associated with the given keyvoiddeleteAllActualParameters()deletes all the actual parameters.voidgetActualParameter(java.lang.Object key)returns the actual parameter that is associated with the given keyHashListgetActualParameters()java.lang.StringgetName()java.lang.StringgetSource()protected intgetStyleSource()protected booleanisKeyAttribute(java.lang.String name)this method is called only while saving this object. so that the attributes even identical to original must be saved as delta.voidsetName(java.lang.String name)set the name of style objectvoidsetSource(java.lang.String source)sets the source attribute of the style object- 
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElementList
clear, clone, get, get, getFilteredList, getKey, getKeyAttribute, getList, getValues, getVersion, init, isEmpty, put, put, registerElementInList, remove, setVersion, size, sort 
- 
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, 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, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reload, 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.utils.config.ConfigurationElement
getAttribute, getAttributes, getElement, getElements, getKey, getNodeName, getStrAttribute, initFromXML, reload, toXML 
 - 
 
 - 
 
- 
- 
Field Detail
- 
NODE_STYLE
public static final java.lang.String NODE_STYLE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_VALUE_SOURCE_CONSTANT
public static final java.lang.String ATTR_VALUE_SOURCE_CONSTANT
- See Also:
 - Constant Field Values
 
 
- 
ATTR_VALUE_SOURCE_PARAMETER
public static final java.lang.String ATTR_VALUE_SOURCE_PARAMETER
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getName
public java.lang.String getName()
- Returns:
 - the name of the style
 
 
- 
setName
public void setName(java.lang.String name)
set the name of style object- Parameters:
 name- The name of the style object
 
- 
getSource
public java.lang.String getSource()
- Returns:
 - the source attribute of style object
 
 
- 
setSource
public void setSource(java.lang.String source)
sets the source attribute of the style object- Parameters:
 source- the new value of the source attribute
 
- 
getActualParameters
public HashList getActualParameters()
- Returns:
 - the list of all the actual parameters associated with style object
 
 
- 
addActualParameter
public void addActualParameter(ActualParameterInfo actualParameter)
Add this actual parameter to the list- Parameters:
 actualParameter- The actual parameter that will be added to the actual parameters list
 
- 
addActualParameter
public void addActualParameter(java.lang.Object key, ActualParameterInfo actualParameter)- Parameters:
 key- - key associated with this actual parameteractualParameter- The actual parameter that will be added to the actual parameters list
 
- 
getActualParameter
public void getActualParameter(java.lang.Object key)
returns the actual parameter that is associated with the given key- Parameters:
 key- The key associated with actual parameter
 
- 
deleteActualParameter
public void deleteActualParameter(java.lang.Object key)
deletes the actual parameter from the list which is associated with the given key- Parameters:
 key- The key associated with actual parameter
 
- 
deleteAllActualParameters
public void deleteAllActualParameters()
deletes all the actual parameters. 
- 
getStyleSource
protected int getStyleSource()
 
- 
isKeyAttribute
protected boolean isKeyAttribute(java.lang.String name)
this method is called only while saving this object. so that the attributes even identical to original must be saved as delta.- Overrides:
 isKeyAttributein classAbstractConfigurationElement
 
 - 
 
 -