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
.
Method Summary |
String |
getChildCardinalityUri()
|
String |
getChildTypeUri()
|
String |
getInstanceLevelAssocTypeUri()
|
AssociationDefinitionModel |
getModel()
|
String |
getParentCardinalityUri()
|
String |
getParentTypeUri()
|
ViewConfiguration |
getViewConfig()
|
private void |
initViewConfig()
|
void |
setChildCardinalityUri(String childCardinalityUri,
ClientState clientState,
Directives directives)
|
void |
setParentCardinalityUri(String parentCardinalityUri,
ClientState clientState,
Directives directives)
|
void |
update(AssociationDefinitionModel newModel,
ClientState clientState,
Directives directives)
|
private void |
updateAssocTypeUri(AssociationDefinitionModel newModel,
ClientState clientState,
Directives directives)
|
private void |
updateChildCardinality(String newChildCardinalityUri,
ClientState clientState,
Directives directives)
|
private void |
updateParentCardinality(String newParentCardinalityUri,
ClientState clientState,
Directives directives)
|
Methods inherited from class de.deepamehta.core.impl.AttachedAssociation |
addUpdateDirective, className, delete, fetchRelatedTopic, fetchRelatedTopics, getAssociation, getAssociations, getAssociationType, getProperty, getRelatedAssociation, getRelatedTopics, getRole, getRole1, getRole2, getTopic, getTopics, hasProperty, isPlayer, removeProperty, setProperty, storeTypeUri, storeUri, update |
Methods inherited from class de.deepamehta.core.impl.AttachedDeepaMehtaObject |
equals, getCompositeValue, getId, getRelatedTopic, getRelatedTopics, getRelatedTopics, getSimpleValue, getType, getTypeUri, getUri, hashCode, loadChildTopics, setCompositeValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, toJSON, toString, update, updateChildTopic, updateChildTopics |
Methods inherited from interface de.deepamehta.core.DeepaMehtaObject |
delete, getAssociation, getAssociations, getCompositeValue, getId, getProperty, getRelatedTopic, getRelatedTopics, getRelatedTopics, getRelatedTopics, getSimpleValue, getTypeUri, getUri, hasProperty, loadChildTopics, removeProperty, setCompositeValue, 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,
ClientState clientState,
Directives directives)
- Specified by:
setParentCardinalityUri
in interface AssociationDefinition
setChildCardinalityUri
public void setChildCardinalityUri(String childCardinalityUri,
ClientState clientState,
Directives directives)
- Specified by:
setChildCardinalityUri
in interface AssociationDefinition
update
public void update(AssociationDefinitionModel newModel,
ClientState clientState,
Directives directives)
- Specified by:
update
in interface AssociationDefinition
updateAssocTypeUri
private void updateAssocTypeUri(AssociationDefinitionModel newModel,
ClientState clientState,
Directives directives)
updateParentCardinality
private void updateParentCardinality(String newParentCardinalityUri,
ClientState clientState,
Directives directives)
updateChildCardinality
private void updateChildCardinality(String newChildCardinalityUri,
ClientState clientState,
Directives directives)
initViewConfig
private void initViewConfig()
Copyright © 2013. All Rights Reserved.