public class DataEngineSchemaTypeHandler extends Object
| Constructor and Description |
|---|
DataEngineSchemaTypeHandler(String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper,
SchemaTypeHandler schemaTypeHandler)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLineageMappingRelationship(String userId,
String sourceSchemaAttributeQualifiedName,
String targetSchemaAttributeQualifiedName)
Create LineageMapping relationship between two schema attribute types
|
String |
createSchemaType(String userId,
String qualifiedName,
String displayName,
String author,
String encodingStandard,
String usage,
String versionNumber,
List<Attribute> attributeList)
Create the schema type entity, with the corresponding schema attributes and relationships
|
public DataEngineSchemaTypeHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, SchemaTypeHandler schemaTypeHandler)
serviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectspublic String createSchemaType(String userId, String qualifiedName, String displayName, String author, String encodingStandard, String usage, String versionNumber, List<Attribute> attributeList) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userqualifiedName - the qualifiedName name of the schema typedisplayName - the display name of the schema typeauthor - the author of the schema typeencodingStandard - the encoding for the schema typeusage - the usage for the schema typeversionNumber - the version number for the schema typeattributeList - the list of attributes for the schema type.InvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void addLineageMappingRelationship(String userId, String sourceSchemaAttributeQualifiedName, String targetSchemaAttributeQualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, NoSchemaAttributeException
userId - the name of the calling usersourceSchemaAttributeQualifiedName - the qualified name of the source schema attributetargetSchemaAttributeQualifiedName - the qualified name of the target schema attributeInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverNoSchemaAttributeExceptionCopyright © 2018–2019 ODPi. All rights reserved.