public class DataClassAssignmentMapper extends RelationshipMapping
RelationshipMapping.OptimalStart, RelationshipMapping.ProxyMappingSELF_REFERENCE_SENTINEL| Modifier and Type | Method and Description |
|---|---|
void |
addMappedOMRSRelationships(IGCOMRSRepositoryConnector igcomrsRepositoryConnector,
List<Relationship> relationships,
Reference fromIgcObject,
String userId)
Custom implementation of the relationship between an a DataClass (data_class) and a Referenceable (main_object).
|
static DataClassAssignmentMapper |
getInstance() |
List<Reference> |
getProxyOneAssetFromAsset(Reference relationshipAsset,
IGCRestClient igcRestClient)
Retrieve the main_object asset expected from a classification asset.
|
List<Reference> |
getProxyTwoAssetFromAsset(Reference relationshipAsset,
IGCRestClient igcRestClient)
Retrieve the data_class asset expected from a classification asset.
|
addAlternativePropertyFromOne, addAlternativePropertyFromTwo, addIgcRelationship, addMappedOmrsProperty, addSubType, addSupportedStatus, getEntityProxyForObject, getIgcRelationshipPropertiesForType, getLinkingAssetType, getMappedOmrsPropertyNames, getMappedRelationship, getMappedRelationship, getMappedRelationships, getOmrsRelationshipType, getOptimalStart, getOtherProxyFromType, getProxyFromType, getProxyOneGUIDFromRelationshipGUID, getProxyOneMapping, getProxyTwoGUIDFromRelationshipGUID, getProxyTwoMapping, getRelationshipGUID, getRelationshipLevelIgcAsset, getRelationshipTypeFromRelationshipGUID, getSubTypes, getSupportedStatuses, hasLinkingAsset, hasRelationshipLevelAsset, hasSubTypes, isSelfReferencing, samePropertiesOnBothEnds, sameTypeOnBothEnds, setLinkingAssetType, setOptimalStart, setRelationshipLevelIgcAsset, toStringpublic static DataClassAssignmentMapper getInstance()
public List<Reference> getProxyOneAssetFromAsset(Reference relationshipAsset, IGCRestClient igcRestClient)
getProxyOneAssetFromAsset in class RelationshipMappingrelationshipAsset - the classification asset to translate into a main_object assetigcRestClient - REST connectivity to the IGC environmentpublic List<Reference> getProxyTwoAssetFromAsset(Reference relationshipAsset, IGCRestClient igcRestClient)
getProxyTwoAssetFromAsset in class RelationshipMappingrelationshipAsset - the classification asset to translate into a data_class assetigcRestClient - REST connectivity to the IGC environmentpublic void addMappedOMRSRelationships(IGCOMRSRepositoryConnector igcomrsRepositoryConnector, List<Relationship> relationships, Reference fromIgcObject, String userId)
addMappedOMRSRelationships in class RelationshipMappingigcomrsRepositoryConnector - relationships - fromIgcObject - userId - Copyright © 2018–2019 ODPi. All rights reserved.