public interface AttributeClassManagement
Modifier and Type | Method and Description |
---|---|
void |
addAttributeClass(pl.edu.icm.unity.types.basic.AttributesClass clazz)
Defines a new attribute class
|
Map<String,pl.edu.icm.unity.types.basic.AttributesClass> |
getAttributeClasses() |
Collection<pl.edu.icm.unity.types.basic.AttributesClass> |
getEntityAttributeClasses(pl.edu.icm.unity.types.basic.EntityParam entity,
String group)
Attribute classes of a given entity in a group
|
void |
removeAttributeClass(String id)
Removes attribute class
|
void |
setEntityAttributeClasses(pl.edu.icm.unity.types.basic.EntityParam entity,
String group,
Collection<String> classes)
Updates the set of entity's attribute classes in a given group.
|
void |
updateAttributeClass(pl.edu.icm.unity.types.basic.AttributesClass updated)
Updates an attribute class.
|
void addAttributeClass(pl.edu.icm.unity.types.basic.AttributesClass clazz) throws pl.edu.icm.unity.exceptions.EngineException
clazz
- pl.edu.icm.unity.exceptions.EngineException
void removeAttributeClass(String id) throws pl.edu.icm.unity.exceptions.EngineException
id
- pl.edu.icm.unity.exceptions.EngineException
void updateAttributeClass(pl.edu.icm.unity.types.basic.AttributesClass updated) throws pl.edu.icm.unity.exceptions.EngineException
updated
- the updated class. Existing class to be updated is matched by name.pl.edu.icm.unity.exceptions.EngineException
Map<String,pl.edu.icm.unity.types.basic.AttributesClass> getAttributeClasses() throws pl.edu.icm.unity.exceptions.EngineException
AttributesClass
es, keys are ac names.pl.edu.icm.unity.exceptions.EngineException
void setEntityAttributeClasses(pl.edu.icm.unity.types.basic.EntityParam entity, String group, Collection<String> classes) throws pl.edu.icm.unity.exceptions.EngineException
entity
- classes
- pl.edu.icm.unity.exceptions.EngineException
Collection<pl.edu.icm.unity.types.basic.AttributesClass> getEntityAttributeClasses(pl.edu.icm.unity.types.basic.EntityParam entity, String group) throws pl.edu.icm.unity.exceptions.EngineException
entity
- group
- pl.edu.icm.unity.exceptions.EngineException
Copyright © 2018 Unity. All rights reserved.