Package com.microstrategy.web.transform
Class BeanDefnImpl
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.web.transform.AbstractStyleCatalogElement
-
- com.microstrategy.web.transform.BeanDefnImpl
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationFile
,BeanDefn
,java.lang.Cloneable
public class BeanDefnImpl extends AbstractStyleCatalogElement implements BeanDefn
- 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.String
ATT_CLASS
protected static java.lang.String
ATT_DESCRIPTION
protected static java.lang.String
ATT_NAME
protected static java.lang.String
NODE_BEAN_DEFN
-
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 BeanDefnImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns the description of the bean associated with the bean definition object.java.lang.Class
getImplClass()
Returns the Class object representin the Java class of the bean associated with the bean definition object.java.lang.String
getImplClassName()
Returns the fully qualified Java class name of the bean associated with the bean definition object.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()
Returns the name of the bean definition object.void
setDescription(java.lang.String value)
Sets the description of the bean object.void
setImplClassName(java.lang.String className)
Sets the fully qualified java class of the bean associated with the bean definition object.void
setName(java.lang.String name)
Sets the name of the bean definition object.-
Methods inherited from class com.microstrategy.web.transform.AbstractStyleCatalogElement
clearCaches, copyContents, getStyleCatalog, hasChanged, reload, resetChanged, setStrAttribute
-
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, 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
-
ATT_NAME
protected static final java.lang.String ATT_NAME
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_DESCRIPTION
protected static final java.lang.String ATT_DESCRIPTION
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_CLASS
protected static final java.lang.String ATT_CLASS
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
NODE_BEAN_DEFN
protected static final java.lang.String NODE_BEAN_DEFN
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:BeanDefn
Returns the name of the bean definition object.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:BeanDefn
Returns the description of the bean associated with the bean definition object.- Specified by:
getDescription
in interfaceBeanDefn
- Returns:
- description of the bean.
-
setDescription
public void setDescription(java.lang.String value)
Description copied from interface:BeanDefn
Sets the description of the bean object.- Specified by:
setDescription
in interfaceBeanDefn
- Parameters:
value
- the description of the bean.
-
getImplClassName
public java.lang.String getImplClassName()
Description copied from interface:BeanDefn
Returns the fully qualified Java class name of the bean associated with the bean definition object.- Specified by:
getImplClassName
in interfaceBeanDefn
- Returns:
- fully qualified Java class.
-
getImplClass
public java.lang.Class getImplClass() throws java.lang.ClassNotFoundException
Description copied from interface:BeanDefn
Returns the Class object representin the Java class of the bean associated with the bean definition object.- Specified by:
getImplClass
in interfaceBeanDefn
- Returns:
- the Class object representin the Java class of the bean associated with the bean definition object.
- Throws:
java.lang.ClassNotFoundException
-
setImplClassName
public void setImplClassName(java.lang.String className)
Description copied from interface:BeanDefn
Sets the fully qualified java class of the bean associated with the bean definition object.- Specified by:
setImplClassName
in interfaceBeanDefn
- Parameters:
className
- the fully qualified class name to set.
-
setName
public void setName(java.lang.String name) throws java.lang.IllegalArgumentException
Description copied from interface:BeanDefn
Sets the name of the bean definition object. It must be unique within the catalog.
-
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.- Specified by:
getKeyAttribute
in classAbstractConfigurationElement
- Since:
- MicroStrategy Web 9.0.0
-
-