public final class ImmutableDataAttributes extends Object implements DataAttributes
Modifier and Type | Field and Description |
---|---|
static ImmutableDataAttributes |
EMPTY |
Constructor and Description |
---|
ImmutableDataAttributes(org.pentaho.reporting.libraries.xmlns.common.AttributeMap<Object> data) |
Modifier and Type | Method and 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() |
public static final ImmutableDataAttributes EMPTY
public ImmutableDataAttributes(org.pentaho.reporting.libraries.xmlns.common.AttributeMap<Object> data)
public static ImmutableDataAttributes create(DataAttributes source, DataAttributeContext context)
public String[] getMetaAttributeDomains()
getMetaAttributeDomains
in interface DataAttributes
public String[] getMetaAttributeNames(String domainName)
getMetaAttributeNames
in interface DataAttributes
public Object getMetaAttribute(String domain, String name, Class type, DataAttributeContext context)
getMetaAttribute
in interface DataAttributes
domain
- never null.name
- never null.type
- can be null.context
- never null.public Object getMetaAttribute(String domain, String name, Class type, DataAttributeContext context, Object defaultValue)
getMetaAttribute
in interface DataAttributes
domain
- never null.name
- never null.type
- can be null.context
- never null.defaultValue
- can be nullpublic ConceptQueryMapper getMetaAttributeMapper(String domain, String name)
getMetaAttributeMapper
in interface DataAttributes
public ImmutableDataAttributes clone() throws CloneNotSupportedException
clone
in interface DataAttributes
clone
in class Object
CloneNotSupportedException
public boolean isEmpty()