Package systems.dmx.core.model
Interface TypeModel
-
- All Superinterfaces:
Cloneable
,DMXObjectModel
,Identifiable
,Iterable<String>
,JSONEnabled
,TopicModel
- All Known Subinterfaces:
AssocTypeModel
,TopicTypeModel
- All Known Implementing Classes:
AssocTypeModelImpl
public interface TypeModel extends TopicModel, Iterable<String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeModel
addCompDef(CompDefModel compDef)
TypeModel
addCompDefBefore(CompDefModel compDef, String beforeCompDefUri)
CompDefModel
getCompDef(String compDefUri)
Collection<? extends CompDefModel>
getCompDefs()
String
getDataTypeUri()
ViewConfigModel
getViewConfig()
Object
getViewConfigValue(String configTypeUri, String childTypeUri)
boolean
hasCompDef(String compDefUri)
CompDefModel
removeCompDef(String compDefUri)
void
setDataTypeUri(String dataTypeUri)
void
setViewConfig(ViewConfigModel viewConfig)
-
Methods inherited from interface systems.dmx.core.model.DMXObjectModel
createPlayerModel, getChildTopics, getId, getSimpleValue, getTypeUri, getUri, set, setChildTopics, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri
-
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.model.TopicModel
clone
-
-
-
-
Method Detail
-
getDataTypeUri
String getDataTypeUri()
-
setDataTypeUri
void setDataTypeUri(String dataTypeUri)
-
getCompDefs
Collection<? extends CompDefModel> getCompDefs()
-
getCompDef
CompDefModel getCompDef(String compDefUri)
-
hasCompDef
boolean hasCompDef(String compDefUri)
-
addCompDef
TypeModel addCompDef(CompDefModel compDef)
- Parameters:
compDef
- the comp def to add. Note: its ID might be uninitialized (-1).
-
addCompDefBefore
TypeModel addCompDefBefore(CompDefModel compDef, String beforeCompDefUri)
- Parameters:
compDef
- the comp def to add. Note: its ID might be uninitialized (-1).beforeCompDefUri
- the URI of the comp def before the given comp def is inserted. Ifnull
the comp def is appended at the end.
-
removeCompDef
CompDefModel removeCompDef(String compDefUri)
-
getViewConfig
ViewConfigModel getViewConfig()
-
setViewConfig
void setViewConfig(ViewConfigModel viewConfig)
-
-