public interface DMXType extends Topic, Iterable<String>
TopicType
and AssocType
.
Besides the parts derived from Topic
a DMXType
has 3 parts: a data type, a
collection of Composition Definitions (CompDef
), and a ViewConfig
.
Types are referred to by type URI.
Modifier and Type | Method and 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) |
findChildTopic
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
dump, toJSON
forEach, iterator, spliterator
String getDataTypeUri()
Collection<CompDef> getCompDefs()
boolean hasCompDef(String compDefUri)
DMXType addCompDef(CompDefModel compDef)
DMXType addCompDefBefore(CompDefModel compDef, String beforeCompDefUri)
beforeCompDefUri
- the URI of the comp def before the given comp def is inserted.
If null
the comp def is appended at the end.ViewConfig getViewConfig()
void update(TypeModel model)
Copyright © 2023. All Rights Reserved.