public class

MapNameConversionElement

extends AbstractConfigurationElementList
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.utils.config.AbstractConfigurationElementList
       ↳ com.microstrategy.web.config.nameconversion.MapNameConversionElement

Summary

Constants
String ATT_ID
String ATT_NAME
String ATT_ROLE
String ATT_SCOPE
String ATT_SECONDARY_FIELD_VALUE
String ATT_SHAPE_ID
String NODE_NAME_CONVERSION_ELEMENT
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
MapNameConversionElement()
Public Methods
String getID()
String getName()
String getRole()
String getScope()
String getSecondaryFieldValue()
String getShapeId()
String getUniqueName()
void setID(String id)
void setName(String name)
void setRole(String role)
void setScope(String val)
void setSecondaryFieldValue(String sfv)
void setShapeId(String sid)
Protected Methods
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 the getKey and setKey methods.
boolean useNodeValue()
Controls whether this element will use the node value as a property.
[Expand]
Inherited Methods
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
From class java.lang.Object
From interface com.microstrategy.utils.config.ConfigurationElement
From interface com.microstrategy.utils.config.ConfigurationElementList
From interface com.microstrategy.utils.config.ConfigurationFile

Constants

public static final String ATT_ID

Constant Value: "id"

public static final String ATT_NAME

Constant Value: "n"

public static final String ATT_ROLE

Constant Value: "role"

public static final String ATT_SCOPE

Constant Value: "scope"

public static final String ATT_SECONDARY_FIELD_VALUE

Constant Value: "sfv"

public static final String ATT_SHAPE_ID

Constant Value: "shapeId"

public static final String NODE_NAME_CONVERSION_ELEMENT

Constant Value: "elem"

Public Constructors

public MapNameConversionElement ()

Public Methods

public String getID ()

public String getName ()

public String getRole ()

public String getScope ()

public String getSecondaryFieldValue ()

public String getShapeId ()

public String getUniqueName ()

public void setID (String id)

public void setName (String name)

public void setRole (String role)

public void setScope (String val)

public void setSecondaryFieldValue (String sfv)

public void setShapeId (String sid)

Protected Methods

protected 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 the getKey and setKey methods.

protected boolean useNodeValue ()

Controls whether this element will use the node value as a property. For example, nodes defined as:


  <a att="1">This is the node value</a>
 
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.

Returns
  • false by default. Override this method if you want to associate the node value with some property.