Class DefaultDataAttributes
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.wizard.DefaultDataAttributes
-
- All Implemented Interfaces:
Serializable
,Cloneable
,DataAttributes
public class DefaultDataAttributes extends Object implements DataAttributes
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultDataAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Method Detail
-
setMetaAttribute
public void setMetaAttribute(String domain, String name, ConceptQueryMapper conceptMapper, Object value)
-
getMetaAttributeDomains
public String[] getMetaAttributeDomains()
- Specified by:
getMetaAttributeDomains
in interfaceDataAttributes
-
getMetaAttributeNames
public String[] getMetaAttributeNames(String domainName)
- Specified by:
getMetaAttributeNames
in interfaceDataAttributes
-
getMetaAttribute
public Object getMetaAttribute(String domain, String name, Class type, DataAttributeContext context)
- Specified by:
getMetaAttribute
in interfaceDataAttributes
- 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 interfaceDataAttributes
- 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 interfaceDataAttributes
-
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 interfaceDataAttributes
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
isEmpty
public boolean isEmpty()
-
-