public class DefaultDataAttributes extends Object implements DataAttributes
Constructor and Description |
---|
DefaultDataAttributes() |
Modifier and Type | Method and 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) |
public void setMetaAttribute(String domain, String name, ConceptQueryMapper conceptMapper, Object value)
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 void merge(DataAttributes attributes, DataAttributeContext context)
public void mergeReferences(DataAttributeReferences references, DataAttributeContext context)
public Object clone() throws CloneNotSupportedException
clone
in interface DataAttributes
clone
in class Object
CloneNotSupportedException
public boolean isEmpty()