public abstract class ContextBuilder<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected OMRSAuditLog |
auditLog |
protected OMRSRepositoryConnector |
enterpriseConnector |
protected OMEntityDao |
entityDao |
protected OMRSRepositoryHelper |
omrsRepositoryHelper |
| Constructor and Description |
|---|
ContextBuilder(OMRSRepositoryConnector enterpriseConnector,
OMEntityDao entityDao,
OMRSAuditLog omrsAuditLog) |
| Modifier and Type | Method and Description |
|---|---|
protected Source |
buildSource(EntityDetail entityDetail) |
protected List<Relationship> |
getAssetSchemaTypeRelationships(String guid)
Return the list of asset schema type
|
protected List<BusinessTerm> |
getAssignedBusinessTerms(String entityGuid)
Return the business term associated to the entity
|
protected List<T> |
getChildrenElements(String guid)
Return the children elements linked with relationship ATTRIBUTE_FOR_SCHEMA to the entity with unique identifier guid
|
protected List<Source> |
getSources(String guid) |
protected OMRSRepositoryConnector enterpriseConnector
protected OMEntityDao entityDao
protected OMRSAuditLog auditLog
protected OMRSRepositoryHelper omrsRepositoryHelper
public ContextBuilder(OMRSRepositoryConnector enterpriseConnector, OMEntityDao entityDao, OMRSAuditLog omrsAuditLog)
protected List<T> getChildrenElements(String guid)
guid - - unique identifier for which we want to retrieve the children elementsprotected List<BusinessTerm> getAssignedBusinessTerms(String entityGuid)
entityGuid - unique identifier of the entity for which we want to retrieve the business termprotected List<Relationship> getAssetSchemaTypeRelationships(String guid)
guid - - unique identifier of the entity representing an assetprotected Source buildSource(EntityDetail entityDetail)
Copyright © 2018–2019 ODPi. All rights reserved.