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,TopicType
andAssocType
.Besides the parts derived from
Topic
aDMXType
has 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 DMXType
addCompDef(CompDefModel compDef)
DMXType
addCompDefBefore(CompDefModel compDef, String beforeCompDefUri)
CompDef
getCompDef(String compDefUri)
Collection<CompDef>
getCompDefs()
String
getDataTypeUri()
TypeModel
getModel()
ViewConfig
getViewConfig()
Object
getViewConfigValue(String configTypeUri, String childTypeUri)
boolean
hasCompDef(String compDefUri)
DMXType
removeCompDef(String compDefUri)
DMXType
setDataTypeUri(String dataTypeUri)
void
update(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. Ifnull
the comp def is appended at the end.
-
getViewConfig
ViewConfig getViewConfig()
-
update
void update(TypeModel model)
-
-