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) |
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, 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, 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 ViewConfiguration getViewConfig()
getViewConfig
in interface DeepaMehtaType
public final Object getViewConfigValue(String configTypeUri, String childTypeUri)
getViewConfigValue
in interface DeepaMehtaType
public void update(TypeModel updateModel)
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.
final List<String> getLabelConfig()
Copyright © 2017. All Rights Reserved.