Package systems.dmx.core
Interface DMXType
-
- All Superinterfaces:
DMXObject,Identifiable,Iterable<String>,JSONEnabled,Topic
public interface DMXType extends Topic, Iterable<String>
The (abstract) base class of both,TopicTypeandAssocType.Besides the parts derived from
TopicaDMXTypehas 3 parts: a data type, a collection of Composition Definitions (CompDef), and aViewConfig.Types are referred to by type URI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DMXTypeaddCompDef(CompDefModel compDef)DMXTypeaddCompDefBefore(CompDefModel compDef, String beforeCompDefUri)CompDefgetCompDef(String compDefUri)Collection<CompDef>getCompDefs()StringgetDataTypeUri()TypeModelgetModel()ViewConfiggetViewConfig()ObjectgetViewConfigValue(String configTypeUri, String childTypeUri)booleanhasCompDef(String compDefUri)DMXTyperemoveCompDef(String compDefUri)DMXTypesetDataTypeUri(String dataTypeUri)voidupdate(TypeModel model)-
Methods inherited from interface systems.dmx.core.DMXObject
checkWriteAccess, delete, getAssoc, getAssocs, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedAssoc, getRelatedAssocs, getRelatedAssocs, getRelatedTopic, getRelatedTopics, getRelatedTopics, getSimpleValue, getType, getTypeUri, getUri, hasProperty, loadChildTopics, loadChildTopics, removeProperty, setProperty, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, update, update, updateChildTopics
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface systems.dmx.core.JSONEnabled
dump, toJSON
-
Methods inherited from interface systems.dmx.core.Topic
findChildTopic
-
-
-
-
Method Detail
-
getDataTypeUri
String getDataTypeUri()
-
getCompDefs
Collection<CompDef> getCompDefs()
-
hasCompDef
boolean hasCompDef(String compDefUri)
-
addCompDef
DMXType addCompDef(CompDefModel compDef)
-
addCompDefBefore
DMXType addCompDefBefore(CompDefModel compDef, String beforeCompDefUri)
- Parameters:
beforeCompDefUri- the URI of the comp def before the given comp def is inserted. Ifnullthe comp def is appended at the end.
-
getViewConfig
ViewConfig getViewConfig()
-
update
void update(TypeModel model)
-
-