|
|||||||||
| Home >> All >> org >> jdaemon >> [ era overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jdaemon.era
Class SimpleCubeDescriptor

java.lang.Objectorg.jdaemon.era.SimpleCubeDescriptor
- All Implemented Interfaces:
- CubeDescriptor
- public class SimpleCubeDescriptor
- extends java.lang.Object
- implements CubeDescriptor
- extends java.lang.Object
Simple Cube Descriptor class to be used for Cubes other than xml, java or sql Cubes, e.g. for existing Business Object classes that extend the Cube interface. (Adapted from JavaCubeDescriptor)
| Field Summary | |
private org.jdaemon.util.Accessor |
attributeAccessor
Object which actually does the work of retrieving named attributes from an object |
private java.util.Map |
attributeMap
|
| Constructor Summary | |
SimpleCubeDescriptor(org.jdaemon.util.Accessor attributeAccessor)
Creates a new instance of SimpleCubeDescriptor |
|
| Method Summary | |
protected org.jdaemon.util.Accessor |
getAccessor()
Allow subclasses read-only access to the accessor |
java.util.Map |
getAllMetadata()
This method is a stopgap measure to allow the FilteredXMLCube to obtain the entire meta data map at once and hand it off to the GenericTotal component. |
java.lang.Object |
getAttribute(java.lang.String attributeName,
java.lang.Object datum)
Get attribute value for named attribute |
java.util.Iterator |
getAttributeNames()
Get the names of all attributes of this descriptor |
org.jdaemon.util.AttributeList |
getMetadata(java.lang.String attributeName)
Get metadata attributes for a given cube attribute |
Cube |
makeCube()
Not supported by SimpleCube |
void |
setMetadata(java.lang.String attributeName,
org.jdaemon.util.AttributeList values)
E.g. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
attributeAccessor
private org.jdaemon.util.Accessor attributeAccessor
- Object which actually does the work of retrieving named attributes from an object
attributeMap
private java.util.Map attributeMap
| Constructor Detail |
SimpleCubeDescriptor
public SimpleCubeDescriptor(org.jdaemon.util.Accessor attributeAccessor)
- Creates a new instance of SimpleCubeDescriptor
| Method Detail |
getAccessor
protected org.jdaemon.util.Accessor getAccessor()
- Allow subclasses read-only access to the accessor
getAttribute
public java.lang.Object getAttribute(java.lang.String attributeName, java.lang.Object datum)
- Get attribute value for named attribute
getAttributeNames
public java.util.Iterator getAttributeNames()
- Get the names of all attributes of this descriptor
- Specified by:
getAttributeNamesin interfaceCubeDescriptor
makeCube
public Cube makeCube()
- Not supported by SimpleCube
- Specified by:
makeCubein interfaceCubeDescriptor
getMetadata
public org.jdaemon.util.AttributeList getMetadata(java.lang.String attributeName)
- Get metadata attributes for a given cube attribute
- Specified by:
getMetadatain interfaceCubeDescriptor
setMetadata
public void setMetadata(java.lang.String attributeName, org.jdaemon.util.AttributeList values)
- E.g. attributeName = 'Currency' and values = ('total-dependency', {'Market Value Local', 'Fee Local')}
getAllMetadata
public java.util.Map getAllMetadata()
- This method is a stopgap measure to allow the FilteredXMLCube to obtain the entire
meta data map at once and hand it off to the GenericTotal component. Needs
refactoring (specifically in GenericTotal).
|
|||||||||
| Home >> All >> org >> jdaemon >> [ era overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jdaemon.era.SimpleCubeDescriptor