java.lang.Object
org.jdaemon.era.java.JavaCubeDescriptor
- All Implemented Interfaces:
- org.jdaemon.era.CubeDescriptor
- Direct Known Subclasses:
- IndexedJavaCubeDescriptor
- public class JavaCubeDescriptor
- extends java.lang.Object
- implements org.jdaemon.era.CubeDescriptor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_COMPARATOR
private static final java.util.Comparator DEFAULT_COMPARATOR
- Default comparator which assumes objects to be compared implement the Comparable interface
attributeAccessor
private org.jdaemon.util.Accessor attributeAccessor
- Object which actually does the work of retrieving named attributes from an object
JavaCubeDescriptor
public JavaCubeDescriptor(org.jdaemon.util.Accessor attributeAccessor)
- Creates a new instance of CubeDescriptor
getAccessor
protected org.jdaemon.util.Accessor getAccessor()
- Allow subclasses read-only access to the accessor
getComparator
public java.util.Comparator getComparator(java.lang.String attribute_name)
- Get a comparator object which allows to attributes to be compared
getAttribute
public java.lang.Object getAttribute(java.lang.String attributeName,
java.lang.Object datum)
makeCube
public org.jdaemon.era.Cube makeCube()
- Description copied from interface:
org.jdaemon.era.CubeDescriptor
- Make a new cube of the type described by this Descriptor
- Specified by:
makeCube in interface org.jdaemon.era.CubeDescriptor
addIndex
public org.jdaemon.era.CubeDescriptor addIndex(java.lang.String name)
getAttributeNames
public java.util.Iterator getAttributeNames()
- Get the names of all attributes of this cube
- Specified by:
getAttributeNames in interface org.jdaemon.era.CubeDescriptor
getMetadata
public org.jdaemon.util.AttributeList getMetadata(java.lang.String attribute_name)
- Get metadata attributes for a given cube attribute
- Specified by:
getMetadata in interface org.jdaemon.era.CubeDescriptor