public interface AttributeTypeManagement
Modifier and Type | Method and Description |
---|---|
void |
addAttributeType(pl.edu.icm.unity.types.basic.AttributeType at)
Adds a new attribute type.
|
pl.edu.icm.unity.types.basic.AttributeType |
getAttributeType(String name) |
Collection<pl.edu.icm.unity.types.basic.AttributeType> |
getAttributeTypes() |
Map<String,pl.edu.icm.unity.types.basic.AttributeType> |
getAttributeTypesAsMap() |
String[] |
getSupportedAttributeValueTypes() |
void |
removeAttributeType(String id,
boolean deleteInstances)
Removes attribute type by id.
|
void |
updateAttributeType(pl.edu.icm.unity.types.basic.AttributeType at)
Updates an existing attribute type.
|
String[] getSupportedAttributeValueTypes() throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
void addAttributeType(pl.edu.icm.unity.types.basic.AttributeType at) throws pl.edu.icm.unity.exceptions.EngineException
at
- pl.edu.icm.unity.exceptions.EngineException
void updateAttributeType(pl.edu.icm.unity.types.basic.AttributeType at) throws pl.edu.icm.unity.exceptions.EngineException
at
- pl.edu.icm.unity.exceptions.EngineException
void removeAttributeType(String id, boolean deleteInstances) throws pl.edu.icm.unity.exceptions.EngineException
id
- deleteInstances
- if false then operation will succeed only if no attributes of this type are
defined. If true then also all instances of this type are removed.pl.edu.icm.unity.exceptions.EngineException
Collection<pl.edu.icm.unity.types.basic.AttributeType> getAttributeTypes() throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
Map<String,pl.edu.icm.unity.types.basic.AttributeType> getAttributeTypesAsMap() throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.types.basic.AttributeType getAttributeType(String name) throws pl.edu.icm.unity.exceptions.EngineException
name
- attribute namepl.edu.icm.unity.exceptions.EngineException
Copyright © 2018 Unity. All rights reserved.