public class AssocTypeModelImpl extends TopicModelImpl implements AssocTypeModel
AssocType
.Modifier and Type | Method and Description |
---|---|
AssocTypeModel |
addCompDef(CompDefModel compDef) |
TypeModel |
addCompDefBefore(CompDefModel compDef,
String beforeCompDefUri) |
AssocTypeModelImpl |
clone() |
systems.dmx.core.impl.CompDefModelImpl |
getCompDef(String compDefUri) |
Collection<systems.dmx.core.impl.CompDefModelImpl> |
getCompDefs() |
String |
getDataTypeUri() |
systems.dmx.core.impl.ViewConfigModelImpl |
getViewConfig() |
Object |
getViewConfigValue(String configTypeUri,
String childTypeUri) |
boolean |
hasCompDef(String compDefUri) |
Iterator<String> |
iterator()
Returns an interator which iterates this TypeModel's comp def URIs.
|
CompDefModel |
removeCompDef(String compDefUri) |
void |
setDataTypeUri(String dataTypeUri) |
void |
setViewConfig(ViewConfigModel viewConfig) |
org.codehaus.jettison.json.JSONObject |
toJSON() |
createPlayerModel
equals, getChildTopics, getId, getSimpleValue, getTypeUri, getUri, hashCode, set, setChildTopics, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addCompDefBefore, getCompDef, getCompDefs, getDataTypeUri, getViewConfig, getViewConfigValue, hasCompDef, removeCompDef, setDataTypeUri, setViewConfig
createPlayerModel, getChildTopics, getId, getSimpleValue, getTypeUri, getUri, set, setChildTopics, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri
dump, toJSON
forEach, iterator, spliterator
public AssocTypeModel addCompDef(CompDefModel compDef)
addCompDef
in interface AssocTypeModel
addCompDef
in interface TypeModel
compDef
- the comp def to add.
Note: its ID might be uninitialized (-1).public AssocTypeModelImpl clone()
clone
in interface DMXObjectModel
clone
in interface TopicModel
public String getDataTypeUri()
getDataTypeUri
in interface TypeModel
public void setDataTypeUri(String dataTypeUri)
setDataTypeUri
in interface TypeModel
public Collection<systems.dmx.core.impl.CompDefModelImpl> getCompDefs()
getCompDefs
in interface TypeModel
public systems.dmx.core.impl.CompDefModelImpl getCompDef(String compDefUri)
getCompDef
in interface TypeModel
public boolean hasCompDef(String compDefUri)
hasCompDef
in interface TypeModel
public TypeModel addCompDefBefore(CompDefModel compDef, String beforeCompDefUri)
addCompDefBefore
in interface TypeModel
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.
If null
the comp def is appended at the end.public CompDefModel removeCompDef(String compDefUri)
removeCompDef
in interface TypeModel
public systems.dmx.core.impl.ViewConfigModelImpl getViewConfig()
getViewConfig
in interface TypeModel
public Object getViewConfigValue(String configTypeUri, String childTypeUri)
getViewConfigValue
in interface TypeModel
public void setViewConfig(ViewConfigModel viewConfig)
setViewConfig
in interface TypeModel
public Iterator<String> iterator()
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON
in interface JSONEnabled
toJSON
in class DMXObjectModelImpl
Copyright © 2023. All Rights Reserved.