abstract class DeepaMehtaTypeImpl extends TopicImpl implements DeepaMehtaType
mf, model, pl
Constructor and Description |
---|
DeepaMehtaTypeImpl(TypeModelImpl model,
PersistenceLayer pl) |
Modifier and Type | Method and Description |
---|---|
(package private) abstract TypeModelImpl |
_getModel()
Returns the internal (= kernel) model underlying this type.
|
DeepaMehtaType |
addAssocDef(AssociationDefinitionModel assocDef) |
DeepaMehtaType |
addAssocDefBefore(AssociationDefinitionModel assocDef,
String beforeAssocDefUri) |
DeepaMehtaType |
addIndexMode(IndexMode indexMode) |
AssociationDefinition |
getAssocDef(String assocDefUri) |
Collection<AssociationDefinition> |
getAssocDefs() |
String |
getDataTypeUri() |
List<IndexMode> |
getIndexModes() |
List<String> |
getLabelConfig() |
TypeModelImpl |
getModel() |
ViewConfiguration |
getViewConfig() |
Object |
getViewConfig(String typeUri,
String settingUri) |
boolean |
hasAssocDef(String assocDefUri) |
DeepaMehtaType |
removeAssocDef(String assocDefUri) |
DeepaMehtaType |
setDataTypeUri(String dataTypeUri) |
DeepaMehtaType |
setLabelConfig(List<String> labelConfig) |
void |
update(TypeModel newModel) |
findChildTopic, getAssociation, getAssociations, getRelatedAssociation, getRelatedAssociations, getRelatedTopics, getType, loadChildTopics, loadChildTopics, removeProperty, setProperty, update
className, delete, equals, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedTopic, getRelatedTopics, getRelatedTopics, getSimpleValue, getTypeUri, getUri, hashCode, hasProperty, setChildTopics, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, toJSON, toString, update, updateChildTopic, 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, update, updateChildTopic, updateChildTopics
toJSON
DeepaMehtaTypeImpl(TypeModelImpl model, PersistenceLayer pl)
public final String getDataTypeUri()
getDataTypeUri
in interface DeepaMehtaType
public final DeepaMehtaType setDataTypeUri(String dataTypeUri)
setDataTypeUri
in interface DeepaMehtaType
public final List<IndexMode> getIndexModes()
getIndexModes
in interface DeepaMehtaType
public final DeepaMehtaType addIndexMode(IndexMode indexMode)
addIndexMode
in interface DeepaMehtaType
public final Collection<AssociationDefinition> getAssocDefs()
getAssocDefs
in interface DeepaMehtaType
public final AssociationDefinition getAssocDef(String assocDefUri)
getAssocDef
in interface DeepaMehtaType
public final boolean hasAssocDef(String assocDefUri)
hasAssocDef
in interface DeepaMehtaType
public final DeepaMehtaType addAssocDef(AssociationDefinitionModel assocDef)
addAssocDef
in interface DeepaMehtaType
public final DeepaMehtaType addAssocDefBefore(AssociationDefinitionModel assocDef, String beforeAssocDefUri)
addAssocDefBefore
in interface DeepaMehtaType
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 DeepaMehtaType removeAssocDef(String assocDefUri)
removeAssocDef
in interface DeepaMehtaType
public final List<String> getLabelConfig()
getLabelConfig
in interface DeepaMehtaType
public final DeepaMehtaType setLabelConfig(List<String> labelConfig)
setLabelConfig
in interface DeepaMehtaType
public final ViewConfiguration getViewConfig()
getViewConfig
in interface DeepaMehtaType
public final Object getViewConfig(String typeUri, String settingUri)
getViewConfig
in interface DeepaMehtaType
public void update(TypeModel newModel)
update
in interface DeepaMehtaType
public TypeModelImpl getModel()
getModel
in interface DeepaMehtaObject
getModel
in interface DeepaMehtaType
getModel
in interface Topic
getModel
in class TopicImpl
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.
Copyright © 2017. All Rights Reserved.