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() |
(package private) List<String> |
getLabelConfig() |
TypeModelImpl |
getModel() |
ViewConfiguration |
getViewConfig() |
Object |
getViewConfigValue(String configTypeUri,
String childTypeUri) |
boolean |
hasAssocDef(String assocDefUri) |
DeepaMehtaType |
removeAssocDef(String assocDefUri) |
DeepaMehtaType |
setDataTypeUri(String dataTypeUri) |
void |
update(TypeModel updateModel) |
findChildTopic, getAssociation, getAssociations, getRelatedAssociation, getRelatedAssociations, getRelatedTopics, loadChildTopics, loadChildTopics, updateclassName, delete, 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, update, updateChildTopic, updateChildTopicsclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindChildTopic, loadChildTopics, loadChildTopics, updatedelete, 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, updateChildTopicstoJSONDeepaMehtaTypeImpl(TypeModelImpl model, PersistenceLayer pl)
public final String getDataTypeUri()
getDataTypeUri in interface DeepaMehtaTypepublic final DeepaMehtaType setDataTypeUri(String dataTypeUri)
setDataTypeUri in interface DeepaMehtaTypepublic final List<IndexMode> getIndexModes()
getIndexModes in interface DeepaMehtaTypepublic final DeepaMehtaType addIndexMode(IndexMode indexMode)
addIndexMode in interface DeepaMehtaTypepublic final Collection<AssociationDefinition> getAssocDefs()
getAssocDefs in interface DeepaMehtaTypepublic final AssociationDefinition getAssocDef(String assocDefUri)
getAssocDef in interface DeepaMehtaTypepublic final boolean hasAssocDef(String assocDefUri)
hasAssocDef in interface DeepaMehtaTypepublic final DeepaMehtaType addAssocDef(AssociationDefinitionModel assocDef)
addAssocDef in interface DeepaMehtaTypepublic final DeepaMehtaType addAssocDefBefore(AssociationDefinitionModel assocDef, String beforeAssocDefUri)
addAssocDefBefore in interface DeepaMehtaTypebeforeAssocDefUri - 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 DeepaMehtaTypepublic final ViewConfiguration getViewConfig()
getViewConfig in interface DeepaMehtaTypepublic final Object getViewConfigValue(String configTypeUri, String childTypeUri)
getViewConfigValue in interface DeepaMehtaTypepublic void update(TypeModel updateModel)
update in interface DeepaMehtaTypepublic TypeModelImpl getModel()
getModel in interface DeepaMehtaObjectgetModel in interface DeepaMehtaTypegetModel in interface TopicgetModel in class TopicImplabstract 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 © 2017. All Rights Reserved.