| Package | Description |
|---|---|
| de.deepamehta.core | |
| de.deepamehta.core.impl | |
| de.deepamehta.core.model | |
| de.deepamehta.core.service | |
| de.deepamehta.core.util |
| Modifier and Type | Method and Description |
|---|---|
RoleModel |
Role.getModel() |
| Modifier and Type | Method and Description |
|---|---|
Role |
Association.getRole(RoleModel roleModel)
### TODO: rethink this method
Returns this association's role which refers to the same object as the given role model.
|
| Modifier and Type | Method and Description |
|---|---|
de.deepamehta.core.impl.AssociationModelImpl |
ModelFactoryImpl.newAssociationModel(long id,
String uri,
String typeUri,
RoleModel roleModel1,
RoleModel roleModel2) |
de.deepamehta.core.impl.AssociationModelImpl |
ModelFactoryImpl.newAssociationModel(long id,
String uri,
String typeUri,
RoleModel roleModel1,
RoleModel roleModel2,
SimpleValue value,
ChildTopicsModel childTopics) |
de.deepamehta.core.impl.AssociationModelImpl |
ModelFactoryImpl.newAssociationModel(String typeUri,
RoleModel roleModel1,
RoleModel roleModel2) |
de.deepamehta.core.impl.AssociationModelImpl |
ModelFactoryImpl.newAssociationModel(String typeUri,
RoleModel roleModel1,
RoleModel roleModel2,
ChildTopicsModel childTopics) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AssociationRoleModel
The role an association plays in an association.
|
interface |
TopicRoleModel
The role a topic plays in an association.
|
| Modifier and Type | Method and Description |
|---|---|
RoleModel |
RoleModel.clone() |
RoleModel |
DeepaMehtaObjectModel.createRoleModel(String roleTypeUri) |
RoleModel |
AssociationModel.getRoleModel(String roleTypeUri) |
RoleModel |
AssociationModel.getRoleModel1() |
RoleModel |
AssociationModel.getRoleModel2() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RoleModel.refsSameObject(RoleModel model)
Checks weather the given role model refers to the same object as this role model.
|
void |
AssociationModel.setRoleModel1(RoleModel roleModel1) |
void |
AssociationModel.setRoleModel2(RoleModel roleModel2) |
| Modifier and Type | Method and Description |
|---|---|
AssociationModel |
ModelFactory.newAssociationModel(long id,
String uri,
String typeUri,
RoleModel roleModel1,
RoleModel roleModel2) |
AssociationModel |
ModelFactory.newAssociationModel(long id,
String uri,
String typeUri,
RoleModel roleModel1,
RoleModel roleModel2,
SimpleValue value,
ChildTopicsModel childTopics) |
AssociationModel |
ModelFactory.newAssociationModel(String typeUri,
RoleModel roleModel1,
RoleModel roleModel2) |
AssociationModel |
ModelFactory.newAssociationModel(String typeUri,
RoleModel roleModel1,
RoleModel roleModel2,
ChildTopicsModel childTopics) |
| Modifier and Type | Method and Description |
|---|---|
static RoleModel[] |
DeepaMehtaUtils.associationAutoTyping(AssociationModel assoc,
String topicTypeUri1,
String topicTypeUri2,
String assocTypeUri,
String roleTypeUri1,
String roleTypeUri2,
CoreService dm4)
Retypes the given association if its player types match the given topic types.
|
static RoleModel[] |
DeepaMehtaUtils.getRoleModels(AssociationModel assoc,
String topicTypeUri1,
String topicTypeUri2,
CoreService dm4) |
Copyright © 2018. All rights reserved.