class AttachedAssociationDefinition extends AttachedAssociation implements AssociationDefinition
DeepaMehtaService
.Modifier and Type | Field and Description |
---|---|
private Logger |
logger |
private AttachedViewConfiguration |
viewConfig |
dms
Constructor and Description |
---|
AttachedAssociationDefinition(AssociationDefinitionModel model,
EmbeddedService dms) |
Modifier and Type | Method and Description |
---|---|
String |
getChildCardinalityUri() |
String |
getChildTypeUri() |
String |
getCustomAssocTypeUri() |
String |
getInstanceLevelAssocTypeUri() |
AssociationDefinitionModel |
getModel() |
String |
getParentCardinalityUri() |
String |
getParentTypeUri() |
ViewConfiguration |
getViewConfig() |
private void |
initViewConfig() |
void |
setChildCardinalityUri(String childCardinalityUri) |
void |
setCustomAssocTypeUri(String customAssocTypeUri) |
void |
setParentCardinalityUri(String parentCardinalityUri) |
void |
update(AssociationDefinitionModel newModel) |
private void |
updateAssocTypeUri(AssociationDefinitionModel newModel) |
private void |
updateChildCardinality(String newChildCardinalityUri) |
private void |
updateCustomAssocTypeUri(String newCustomAssocTypeUri) |
private void |
updateParentCardinality(String newParentCardinalityUri) |
className, delete, fetchRelatedTopic, fetchRelatedTopics, getAssociation, getAssociations, getPlayer1, getPlayer2, getRelatedAssociation, getRelatedAssociations, getRelatedTopics, getRole, getRole1, getRole2, getTopic, getTopicByType, getType, getUpdateDirective, isPlayer, loadChildTopics, loadChildTopics, removeProperty, setProperty, storeTypeUri, storeUri, update, updateChildTopics
equals, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedTopic, getRelatedTopics, getRelatedTopics, getSimpleValue, getTypeUri, getUri, hashCode, hasProperty, setChildTopics, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, toJSON, toString, update, updateChildTopic, updateChildTopics
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPlayer1, getPlayer2, getRole, getRole1, getRole2, getTopic, getTopicByType, isPlayer, loadChildTopics, loadChildTopics, update
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
toJSON
private AttachedViewConfiguration viewConfig
AttachedAssociationDefinition(AssociationDefinitionModel model, EmbeddedService dms)
public String getCustomAssocTypeUri()
getCustomAssocTypeUri
in interface AssociationDefinition
null
if not set.public String getInstanceLevelAssocTypeUri()
getInstanceLevelAssocTypeUri
in interface AssociationDefinition
dm4.core.composition
or dm4.core.aggregation
depending on this association definition's type.
Is never null
.public String getParentTypeUri()
getParentTypeUri
in interface AssociationDefinition
public String getChildTypeUri()
getChildTypeUri
in interface AssociationDefinition
public String getParentCardinalityUri()
getParentCardinalityUri
in interface AssociationDefinition
public String getChildCardinalityUri()
getChildCardinalityUri
in interface AssociationDefinition
public ViewConfiguration getViewConfig()
getViewConfig
in interface AssociationDefinition
public AssociationDefinitionModel getModel()
getModel
in interface Association
getModel
in interface AssociationDefinition
getModel
in interface DeepaMehtaObject
getModel
in class AttachedAssociation
public void setCustomAssocTypeUri(String customAssocTypeUri)
setCustomAssocTypeUri
in interface AssociationDefinition
public void setParentCardinalityUri(String parentCardinalityUri)
setParentCardinalityUri
in interface AssociationDefinition
public void setChildCardinalityUri(String childCardinalityUri)
setChildCardinalityUri
in interface AssociationDefinition
public void update(AssociationDefinitionModel newModel)
update
in interface AssociationDefinition
private void updateAssocTypeUri(AssociationDefinitionModel newModel)
private void updateCustomAssocTypeUri(String newCustomAssocTypeUri)
private void updateParentCardinality(String newParentCardinalityUri)
private void updateChildCardinality(String newChildCardinalityUri)
private void initViewConfig()
Copyright © 2015. All Rights Reserved.