Class MapNameConversionElement
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.utils.config.AbstractConfigurationElementList
-
- com.microstrategy.web.config.nameconversion.MapNameConversionElement
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationElementList
,ConfigurationFile
,java.lang.Cloneable
public class MapNameConversionElement extends AbstractConfigurationElementList
-
-
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.String
ATT_ID
static java.lang.String
ATT_NAME
static java.lang.String
ATT_ROLE
static java.lang.String
ATT_SCOPE
static java.lang.String
ATT_SECONDARY_FIELD_VALUE
static java.lang.String
ATT_SHAPE_ID
static java.lang.String
NODE_NAME_CONVERSION_ELEMENT
-
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 MapNameConversionElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getID()
protected java.lang.String
getKeyAttribute()
This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKey
andsetKey
methods.java.lang.String
getName()
java.lang.String
getRole()
java.lang.String
getScope()
java.lang.String
getSecondaryFieldValue()
java.lang.String
getShapeId()
java.lang.String
getUniqueName()
void
setID(java.lang.String id)
void
setName(java.lang.String name)
void
setRole(java.lang.String role)
void
setScope(java.lang.String val)
void
setSecondaryFieldValue(java.lang.String sfv)
void
setShapeId(java.lang.String sid)
protected boolean
useNodeValue()
Controls whether this element will use the node value as a property.-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElementList
clear, clone, get, get, getFilteredList, getKey, 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, isKeyAttribute, 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, 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_NAME_CONVERSION_ELEMENT
public static final java.lang.String NODE_NAME_CONVERSION_ELEMENT
- See Also:
- Constant Field Values
-
ATT_ID
public static final java.lang.String ATT_ID
- See Also:
- Constant Field Values
-
ATT_NAME
public static final java.lang.String ATT_NAME
- See Also:
- Constant Field Values
-
ATT_ROLE
public static final java.lang.String ATT_ROLE
- See Also:
- Constant Field Values
-
ATT_SECONDARY_FIELD_VALUE
public static final java.lang.String ATT_SECONDARY_FIELD_VALUE
- See Also:
- Constant Field Values
-
ATT_SHAPE_ID
public static final java.lang.String ATT_SHAPE_ID
- See Also:
- Constant Field Values
-
ATT_SCOPE
public static final java.lang.String ATT_SCOPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
useNodeValue
protected boolean useNodeValue()
Description copied from class:AbstractConfigurationElement
Controls whether this element will use the node value as a property. For example, nodes defined as:
can expose a property which will return the node's value (This is the node vale). When this is the case, though, the element can't have any sub elements. They're mutually exclusive.<a att="1">This is the node value</a>
- Overrides:
useNodeValue
in classAbstractConfigurationElement
- Returns:
false
by default. Override this method if you want to associate the node value with some property.
-
getKeyAttribute
protected java.lang.String getKeyAttribute()
Description copied from class:AbstractConfigurationElement
This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKey
andsetKey
methods.- Overrides:
getKeyAttribute
in classAbstractConfigurationElementList
-
getID
public java.lang.String getID()
-
setID
public void setID(java.lang.String id)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getRole
public java.lang.String getRole()
-
setRole
public void setRole(java.lang.String role)
-
getSecondaryFieldValue
public java.lang.String getSecondaryFieldValue()
-
setSecondaryFieldValue
public void setSecondaryFieldValue(java.lang.String sfv)
-
getShapeId
public java.lang.String getShapeId()
-
setShapeId
public void setShapeId(java.lang.String sid)
-
getScope
public java.lang.String getScope()
-
setScope
public void setScope(java.lang.String val)
-
getUniqueName
public java.lang.String getUniqueName()
-
-