abstract class DMXTypeImpl extends TopicImpl implements DMXType
mf, model, pl
Constructor and Description |
---|
DMXTypeImpl(TypeModelImpl model,
PersistenceLayer pl) |
Modifier and Type | Method and Description |
---|---|
(package private) abstract TypeModelImpl |
_getModel()
Returns the internal (= kernel) model underlying this type.
|
DMXType |
addAssocDef(AssociationDefinitionModel assocDef) |
DMXType |
addAssocDefBefore(AssociationDefinitionModel assocDef,
String beforeAssocDefUri) |
DMXType |
addIndexMode(IndexMode indexMode) |
AssociationDefinition |
getAssocDef(String assocDefUri) |
Collection<AssociationDefinition> |
getAssocDefs() |
String |
getDataTypeUri() |
List<IndexMode> |
getIndexModes() |
(package private) List<String> |
getLabelConfig() |
TypeModelImpl |
getModel() |
ViewConfiguration |
getViewConfig() |
Object |
getViewConfigValue(String configTypeUri,
String childTypeUri) |
boolean |
hasAssocDef(String assocDefUri) |
DMXType |
removeAssocDef(String assocDefUri) |
DMXType |
setDataTypeUri(String dataTypeUri) |
void |
update(TypeModel updateModel) |
delete, findChildTopic, getAssociation, getAssociations, getRelatedAssociation, getRelatedAssociations, getRelatedTopics, loadChildTopics, loadChildTopics, update
className, equals, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedTopic, getRelatedTopics, getRelatedTopics, getSimpleValue, getType, getTypeUri, getUri, hashCode, hasProperty, removeProperty, setChildTopics, setProperty, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, toJSON, toString, updateChildTopics
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findChildTopic, loadChildTopics, loadChildTopics, update
delete, getAssociation, getAssociations, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedAssociation, getRelatedAssociations, getRelatedTopic, getRelatedTopics, getRelatedTopics, getRelatedTopics, getSimpleValue, getType, getTypeUri, getUri, hasProperty, removeProperty, setChildTopics, setProperty, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, updateChildTopics
toJSON
DMXTypeImpl(TypeModelImpl model, PersistenceLayer pl)
public final String getDataTypeUri()
getDataTypeUri
in interface DMXType
public final DMXType setDataTypeUri(String dataTypeUri)
setDataTypeUri
in interface DMXType
public final List<IndexMode> getIndexModes()
getIndexModes
in interface DMXType
public final DMXType addIndexMode(IndexMode indexMode)
addIndexMode
in interface DMXType
public final Collection<AssociationDefinition> getAssocDefs()
getAssocDefs
in interface DMXType
public final AssociationDefinition getAssocDef(String assocDefUri)
getAssocDef
in interface DMXType
public final boolean hasAssocDef(String assocDefUri)
hasAssocDef
in interface DMXType
public final DMXType addAssocDef(AssociationDefinitionModel assocDef)
addAssocDef
in interface DMXType
public final DMXType addAssocDefBefore(AssociationDefinitionModel assocDef, String beforeAssocDefUri)
addAssocDefBefore
in interface DMXType
beforeAssocDefUri
- the URI of the assoc def before the given assoc def is inserted.
If null
the assoc def is appended at the end.public final DMXType removeAssocDef(String assocDefUri)
removeAssocDef
in interface DMXType
public final ViewConfiguration getViewConfig()
getViewConfig
in interface DMXType
public final Object getViewConfigValue(String configTypeUri, String childTypeUri)
getViewConfigValue
in interface DMXType
public TypeModelImpl getModel()
abstract TypeModelImpl _getModel()
Note: type updates must be performed on the internal type model, not the userland's type model (as returned by
getModel()
). Performing an update on the userland's type model would have no effect, as it
is transient. The userland's type model is always a cloned and filtered (= "projected") version of a
kernel type model which is created on-the-fly each time a specific user requests it.
final List<String> getLabelConfig()
Copyright © 2018. All Rights Reserved.