de.deepamehta.core.impl
Class AttachedAssociationDefinition
java.lang.Object
de.deepamehta.core.impl.AttachedDeepaMehtaObject
de.deepamehta.core.impl.AttachedAssociation
de.deepamehta.core.impl.AttachedAssociationDefinition
- All Implemented Interfaces:
- Association, AssociationDefinition, DeepaMehtaObject, Identifiable, JSONEnabled
class AttachedAssociationDefinition
- extends AttachedAssociation
- implements AssociationDefinition
An association definition that is attached to the DeepaMehtaService
.
Methods inherited from class de.deepamehta.core.impl.AttachedAssociation |
className, delete, fetchRelatedTopic, fetchRelatedTopics, getAssociation, getAssociations, getAssociationType, getPlayer1, getPlayer2, getRelatedAssociation, getRelatedAssociations, getRelatedTopics, getRole, getRole1, getRole2, getTopic, getTopicByType, getUpdateDirective, isPlayer, loadChildTopics, loadChildTopics, removeProperty, setProperty, storeTypeUri, storeUri, update |
Methods inherited from class de.deepamehta.core.impl.AttachedDeepaMehtaObject |
equals, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedTopic, getRelatedTopics, getRelatedTopics, getSimpleValue, getType, getTypeUri, getUri, hashCode, hasProperty, setChildTopics, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, toJSON, toString, update, updateChildTopic, updateChildTopics |
Methods inherited from interface de.deepamehta.core.Association |
getPlayer1, getPlayer2, getRole, getRole1, getRole2, getTopic, getTopicByType, isPlayer, 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 |
viewConfig
private AttachedViewConfiguration viewConfig
logger
private Logger logger
AttachedAssociationDefinition
AttachedAssociationDefinition(AssociationDefinitionModel model,
EmbeddedService dms)
getInstanceLevelAssocTypeUri
public String getInstanceLevelAssocTypeUri()
- Specified by:
getInstanceLevelAssocTypeUri
in interface AssociationDefinition
getParentTypeUri
public String getParentTypeUri()
- Specified by:
getParentTypeUri
in interface AssociationDefinition
getChildTypeUri
public String getChildTypeUri()
- Specified by:
getChildTypeUri
in interface AssociationDefinition
getParentCardinalityUri
public String getParentCardinalityUri()
- Specified by:
getParentCardinalityUri
in interface AssociationDefinition
getChildCardinalityUri
public String getChildCardinalityUri()
- Specified by:
getChildCardinalityUri
in interface AssociationDefinition
getViewConfig
public ViewConfiguration getViewConfig()
- Specified by:
getViewConfig
in interface AssociationDefinition
getModel
public AssociationDefinitionModel getModel()
- Specified by:
getModel
in interface Association
- Specified by:
getModel
in interface AssociationDefinition
- Specified by:
getModel
in interface DeepaMehtaObject
- Overrides:
getModel
in class AttachedAssociation
setParentCardinalityUri
public void setParentCardinalityUri(String parentCardinalityUri)
- Specified by:
setParentCardinalityUri
in interface AssociationDefinition
setChildCardinalityUri
public void setChildCardinalityUri(String childCardinalityUri)
- Specified by:
setChildCardinalityUri
in interface AssociationDefinition
update
public void update(AssociationDefinitionModel newModel)
- Specified by:
update
in interface AssociationDefinition
updateAssocTypeUri
private void updateAssocTypeUri(AssociationDefinitionModel newModel)
updateParentCardinality
private void updateParentCardinality(String newParentCardinalityUri)
updateChildCardinality
private void updateChildCardinality(String newChildCardinalityUri)
initViewConfig
private void initViewConfig()
Copyright © 2015. All Rights Reserved.