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

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

public class DefaultDataAttributes
extends Object
implements DataAttributes

Todo: Document Me

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
DefaultDataAttributes()
           
 
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)
           
 boolean isEmpty()
           
 void merge(DataAttributes attributes, DataAttributeContext context)
           
 void mergeReferences(DataAttributeReferences references, DataAttributeContext context)
           
 void setMetaAttribute(String domain, String name, ConceptQueryMapper conceptMapper, Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDataAttributes

public DefaultDataAttributes()
Method Detail

setMetaAttribute

public void setMetaAttribute(String domain,
                             String name,
                             ConceptQueryMapper conceptMapper,
                             Object value)

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

merge

public void merge(DataAttributes attributes,
                  DataAttributeContext context)

mergeReferences

public void mergeReferences(DataAttributeReferences references,
                            DataAttributeContext context)

clone

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

isEmpty

public boolean isEmpty()