Class ImmutableDataAttributes
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.wizard.ImmutableDataAttributes
-
- All Implemented Interfaces:
Serializable
,Cloneable
,DataAttributes
public final class ImmutableDataAttributes extends Object implements DataAttributes
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableDataAttributes
EMPTY
-
Constructor Summary
Constructors Constructor Description ImmutableDataAttributes(org.pentaho.reporting.libraries.xmlns.common.AttributeMap<Object> data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableDataAttributes
clone()
static ImmutableDataAttributes
create(DataAttributes source, DataAttributeContext context)
boolean
equals(Object o)
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)
int
hashCode()
boolean
isEmpty()
-
-
-
Field Detail
-
EMPTY
public static final ImmutableDataAttributes EMPTY
-
-
Constructor Detail
-
ImmutableDataAttributes
public ImmutableDataAttributes(org.pentaho.reporting.libraries.xmlns.common.AttributeMap<Object> data)
-
-
Method Detail
-
create
public static ImmutableDataAttributes create(DataAttributes source, DataAttributeContext context)
-
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
-
clone
public ImmutableDataAttributes clone() throws CloneNotSupportedException
- Specified by:
clone
in interfaceDataAttributes
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
isEmpty
public boolean isEmpty()
-
-