de.deepamehta.core.impl
Class AttachedAssociationType

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.core.impl.AttachedDeepaMehtaObject
      extended by de.deepamehta.core.impl.AttachedTopic
          extended by de.deepamehta.core.impl.AttachedType
              extended by de.deepamehta.core.impl.AttachedAssociationType
All Implemented Interfaces:
AssociationType, DeepaMehtaObject, Identifiable, JSONEnabled, Topic, Type

 class AttachedAssociationType
extends AttachedType
implements AssociationType

An association type that is attached to the DeepaMehtaService.


Field Summary
private  Logger logger
           
 
Fields inherited from class de.deepamehta.core.impl.AttachedDeepaMehtaObject
dms
 
Constructor Summary
AttachedAssociationType(AssociationTypeModel model, EmbeddedService dms)
           
 
Method Summary
(package private)  String className()
           
(package private)  List<? extends DeepaMehtaObject> getAllInstances()
           
(package private)  Directive getDeleteTypeDirective()
           
 AssociationTypeModel getModel()
           
(package private)  void putInTypeCache()
           
(package private)  void removeFromTypeCache()
           
 void update(AssociationTypeModel model)
           
 
Methods inherited from class de.deepamehta.core.impl.AttachedType
addAssocDef, addIndexMode, delete, getAssocDef, getAssocDefs, getDataTypeUri, getIndexModes, getLabelConfig, getViewConfig, getViewConfig, hasAssocDef, initAssocDefs, removeAssocDef, removeAssocDefFromMemoryAndRebuildSequence, setDataTypeUri, setLabelConfig, update, updateAssocDef
 
Methods inherited from class de.deepamehta.core.impl.AttachedTopic
_update, addUpdateDirective, fetchRelatedTopic, fetchRelatedTopics, getAssociation, getAssociations, getProperty, getRelatedAssociation, getRelatedAssociations, getRelatedTopics, getTopicType, hasProperty, loadChildTopics, loadChildTopics, removeProperty, setProperty, storeTypeUri, storeUri, update
 
Methods inherited from class de.deepamehta.core.impl.AttachedDeepaMehtaObject
equals, getChildTopics, getDatabaseVendorObject, getId, getRelatedTopic, getRelatedTopics, getRelatedTopics, getSimpleValue, getType, getTypeUri, getUri, hashCode, setChildTopics, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, toJSON, toString, update, updateChildTopic, updateChildTopics
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.deepamehta.core.Type
addAssocDef, addIndexMode, getAssocDef, getAssocDefs, getDataTypeUri, getIndexModes, getLabelConfig, getViewConfig, getViewConfig, hasAssocDef, removeAssocDef, setDataTypeUri, setLabelConfig, update, updateAssocDef
 
Methods inherited from interface de.deepamehta.core.Topic
loadChildTopics, loadChildTopics, update
 
Methods inherited from interface de.deepamehta.core.DeepaMehtaObject
delete, getAssociation, getAssociations, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedAssociation, getRelatedAssociations, getRelatedTopic, getRelatedTopics, getRelatedTopics, getRelatedTopics, getSimpleValue, getTypeUri, getUri, hasProperty, removeProperty, setChildTopics, setProperty, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, update, updateChildTopic, updateChildTopics
 
Methods inherited from interface de.deepamehta.core.JSONEnabled
toJSON
 

Field Detail

logger

private Logger logger
Constructor Detail

AttachedAssociationType

AttachedAssociationType(AssociationTypeModel model,
                        EmbeddedService dms)
Method Detail

getModel

public AssociationTypeModel getModel()
Specified by:
getModel in interface DeepaMehtaObject
Specified by:
getModel in interface Topic
Specified by:
getModel in interface Type
Overrides:
getModel in class AttachedType

update

public void update(AssociationTypeModel model)
Specified by:
update in interface AssociationType

className

final String className()
Overrides:
className in class AttachedTopic

putInTypeCache

final void putInTypeCache()
Specified by:
putInTypeCache in class AttachedType

removeFromTypeCache

final void removeFromTypeCache()
Specified by:
removeFromTypeCache in class AttachedType

getDeleteTypeDirective

final Directive getDeleteTypeDirective()
Specified by:
getDeleteTypeDirective in class AttachedType

getAllInstances

final List<? extends DeepaMehtaObject> getAllInstances()
Specified by:
getAllInstances in class AttachedType


Copyright © 2014. All Rights Reserved.