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.StringATT_CLASSprotected static java.lang.StringATT_DESCRIPTIONprotected static java.lang.StringATT_NAMEprotected static java.lang.StringNODE_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.StringgetDescription()Returns the description of the bean associated with the bean definition object.java.lang.ClassgetImplClass()Returns the Class object representin the Java class of the bean associated with the bean definition object.java.lang.StringgetImplClassName()Returns the fully qualified Java class name of the bean associated with the bean definition object.protected java.lang.StringgetKeyAttribute()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 thegetKeyandsetKeymethods.java.lang.StringgetName()Returns the name of the bean definition object.voidsetDescription(java.lang.String value)Sets the description of the bean object.voidsetImplClassName(java.lang.String className)Sets the fully qualified java class of the bean associated with the bean definition object.voidsetName(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:BeanDefnReturns the name of the bean definition object.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:BeanDefnReturns the description of the bean associated with the bean definition object.- Specified by:
getDescriptionin interfaceBeanDefn- Returns:
- description of the bean.
-
setDescription
public void setDescription(java.lang.String value)
Description copied from interface:BeanDefnSets the description of the bean object.- Specified by:
setDescriptionin interfaceBeanDefn- Parameters:
value- the description of the bean.
-
getImplClassName
public java.lang.String getImplClassName()
Description copied from interface:BeanDefnReturns the fully qualified Java class name of the bean associated with the bean definition object.- Specified by:
getImplClassNamein interfaceBeanDefn- Returns:
- fully qualified Java class.
-
getImplClass
public java.lang.Class getImplClass() throws java.lang.ClassNotFoundExceptionDescription copied from interface:BeanDefnReturns the Class object representin the Java class of the bean associated with the bean definition object.- Specified by:
getImplClassin 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:BeanDefnSets the fully qualified java class of the bean associated with the bean definition object.- Specified by:
setImplClassNamein interfaceBeanDefn- Parameters:
className- the fully qualified class name to set.
-
setName
public void setName(java.lang.String name) throws java.lang.IllegalArgumentExceptionDescription copied from interface:BeanDefnSets the name of the bean definition object. It must be unique within the catalog.
-
getKeyAttribute
protected java.lang.String getKeyAttribute()
Description copied from class:AbstractConfigurationElementThis method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKeyandsetKeymethods.- Specified by:
getKeyAttributein classAbstractConfigurationElement- Since:
- MicroStrategy Web 9.0.0
-
-