public class ConnectionEndpointMapper 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 Endpoint (host) and a Connection (data_connection).
|
static ConnectionEndpointMapper |
getInstance() |
List<Reference> |
getProxyOneAssetFromAsset(Reference connectorAsset,
IGCRestClient igcRestClient)
Retrieve the host asset expected from a connector asset.
|
List<Reference> |
getProxyTwoAssetFromAsset(Reference connectorAsset,
IGCRestClient igcRestClient)
Retrieve the data_connection asset expected from a connector 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 ConnectionEndpointMapper getInstance()
public List<Reference> getProxyOneAssetFromAsset(Reference connectorAsset, IGCRestClient igcRestClient)
getProxyOneAssetFromAsset in class RelationshipMappingconnectorAsset - the connector asset to translate into a host assetigcRestClient - REST connectivity to the IGC environmentpublic List<Reference> getProxyTwoAssetFromAsset(Reference connectorAsset, IGCRestClient igcRestClient)
getProxyTwoAssetFromAsset in class RelationshipMappingconnectorAsset - the connector asset to translate into a data_connection assetigcRestClient - REST connectivity to the IGC environmentpublic void addMappedOMRSRelationships(IGCOMRSRepositoryConnector igcomrsRepositoryConnector, List<Relationship> relationships, Reference fromIgcObject, String userId)
addMappedOMRSRelationships in class RelationshipMappingigcomrsRepositoryConnector - relationships - fromIgcObject - the host asset for which to create the relationshipuserId - Copyright © 2018–2019 ODPi. All rights reserved.