org.pentaho.reporting.engine.classic.core.wizard
Class EmptyDataAttributes

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.wizard.EmptyDataAttributes
All Implemented Interfaces:
Serializable, Cloneable, DataAttributes

public class EmptyDataAttributes
extends Object
implements DataAttributes

Todo: Document Me

Author:
Thomas Morgner
See Also:
Serialized Form

Field Summary
static EmptyDataAttributes INSTANCE
           
 
Constructor Summary
EmptyDataAttributes()
           
 
Method Summary
 Object clone()
           
 Object getMetaAttribute(String domain, String name, Class type, DataAttributeContext context)
           
 Object getMetaAttribute(String domain, String name, Class type, DataAttributeContext context, Object defaultValue)
           
 String[] getMetaAttributeDomains()
           
 ConceptQueryMapper getMetaAttributeMapper(String domain, String name)
           
 String[] getMetaAttributeNames(String domainName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final EmptyDataAttributes INSTANCE
Constructor Detail

EmptyDataAttributes

public EmptyDataAttributes()
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Specified by:
clone in interface DataAttributes
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

getMetaAttributeDomains

public String[] getMetaAttributeDomains()
Specified by:
getMetaAttributeDomains in interface DataAttributes

getMetaAttributeNames

public String[] getMetaAttributeNames(String domainName)
Specified by:
getMetaAttributeNames in interface DataAttributes

getMetaAttribute

public Object getMetaAttribute(String domain,
                               String name,
                               Class type,
                               DataAttributeContext context)
Specified by:
getMetaAttribute in interface DataAttributes
Parameters:
domain - never null.
name - never null.
type - can be null.
context - never null.
Returns:

getMetaAttribute

public Object getMetaAttribute(String domain,
                               String name,
                               Class type,
                               DataAttributeContext context,
                               Object defaultValue)
Specified by:
getMetaAttribute in interface DataAttributes
Parameters:
domain - never null.
name - never null.
type - can be null.
context - never null.
defaultValue - can be null
Returns:

getMetaAttributeMapper

public ConceptQueryMapper getMetaAttributeMapper(String domain,
                                                 String name)
Specified by:
getMetaAttributeMapper in interface DataAttributes