Class OpenMetadataAPIGenericConverter<B>
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericConverter<B>
- Direct Known Subclasses:
- OMFConverter,- OpenMetadataAPIDummyBeanConverter
OpenMetadataAPIGenericConverter provides the generic methods for the bean converters used to provide translation between
 specific Open Metadata API beans and the repository services API beans.
 Generic classes have limited knowledge of the classes these are working on and this means creating a new instance of a
 class from within a generic is a little involved.  This class provides the generic method for creating
 and initializing an Open Metadata API bean.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final PropertyHelperprotected OMRSRepositoryHelperprotected Stringprotected String
- 
Constructor SummaryConstructorsConstructorDescriptionOpenMetadataAPIGenericConverter(OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor captures the initial content
- 
Method SummaryModifier and TypeMethodDescriptionvoidfillElementControlHeader(ElementControlHeader elementControlHeader, InstanceAuditHeader header) Fill an omf control header from the information in a repository services element header.getArguments(InstanceProperties instanceProperties) Extract the "arguments" property from the supplied instance properties.protected List<AttachedClassification>getAttachedClassifications(List<Classification> entityClassifications) Extract the classifications from the entity.protected StringgetAttributeName(InstanceProperties instanceProperties) Extract the "attributeName" property from the supplied instance properties.protected InstancePropertiesgetClassificationProperties(String classificationName, List<Classification> entityClassifications) Extract the properties for the requested classification from the list of classifications.protected InstancePropertiesgetClassificationProperties(String classificationName, EntityDetail entity) Extract the properties for the requested classification from the entity.protected StringgetConditions(InstanceProperties instanceProperties) Extract the "conditions" property from the supplied instance properties.protected StringgetDescription(InstanceProperties instanceProperties) Extract the description property from the supplied instance properties.protected StringgetDisplayName(InstanceProperties instanceProperties) Extract the displayName property from the supplied instance properties.protected ElementOriginCategorygetElementOriginCategory(InstanceProvenanceType instanceProvenanceType) Translate the repository services' InstanceProvenanceType to an ElementOrigin.protected ElementStatusgetElementStatus(InstanceStatus instanceStatus) Translate the repository services' InstanceStatus to an ElementStatus.getElementStub(Class<B> beanClass, EntityProxy entityProxy, String methodName) Extract the properties from the entity.getElementType(InstanceAuditHeader instanceHeader) Convert information from a repository instance into an Open Metadata Framework ElementType.protected ElementVersionsExtract detail of the version of the element and the user's maintaining it.getEncodingProperties(InstanceProperties instanceProperties) Extract the encoding properties property from the supplied instance properties.protected ElementHeadergetMetadataElementHeader(Class<B> beanClass, EntityDetail entity, String methodName) Extract the properties from the entity.getMetadataElementHeader(Class<B> beanClass, InstanceHeader header, List<Classification> entityClassifications, String methodName) Extract the properties from the entity.getNewBean(Class<B> beanClass, EntityDetail entity, String methodName) Using the supplied entity, return a new instance of the bean.getNewBean(Class<B> beanClass, EntityDetail entity, Relationship relationship, String methodName) Using the supplied instances, return a new instance of the bean.getNewComplexBean(Class<B> beanClass, EntityDetail primaryEntity, List<Relationship> relationships, String methodName) Using the supplied instances, return a new instance of the bean.getNewComplexGraphBean(Class<B> beanClass, EntityDetail primaryEntity, List<EntityDetail> supplementaryEntities, List<Relationship> relationships, String methodName) Using the supplied instances, return a new instance of the bean.getNewComplexRelatedEntityBean(Class<B> beanClass, EntityDetail primaryEntity, Relationship relationship, List<RelatedEntity> relatedEntities, String methodName) Using the supplied instances, return a new instance of the bean.getNewRelationshipBean(Class<B> beanClass, Relationship relationship, String methodName) Using the supplied relationship, return a new instance of the bean.<T> BgetNewSchemaAttributeBean(Class<B> beanClass, EntityDetail schemaAttributeEntity, Class<T> typeClass, T schemaType, List<Relationship> schemaAttributeRelationships, String methodName) Extract the properties from the schema attribute entity.getNewSchemaTypeBean(Class<B> beanClass, InstanceHeader schemaRootHeader, String schemaTypeTypeName, InstanceProperties instanceProperties, List<Classification> schemaRootClassifications, int attributeCount, String validValueSetGUID, B externalSchemaType, B mapFromSchemaType, B mapToSchemaType, List<B> schemaTypeOptions, String methodName) Return the converted bean.getNewSchemaTypeBean(Class<B> beanClass, InstanceHeader schemaRootHeader, String schemaTypeTypeName, InstanceProperties instanceProperties, List<Classification> schemaRootClassifications, int attributeCount, String validValueSetGUID, String externalSchemaTypeGUID, B externalSchemaType, String mapFromSchemaTypeGUID, B mapFromSchemaType, String mapToSchemaTypeGUID, B mapToSchemaType, List<String> schemaTypeOptionGUIDs, List<B> schemaTypeOptions, List<Relationship> queryTargets, String methodName) Return the converted bean.protected intgetPosition(InstanceProperties instanceProperties) Extract the position property from the supplied instance properties.getPropertiesAsStrings(InstanceProperties instanceProperties) Convert the remaining properties into a map that is returned as the extended properties.protected StringgetQualifiedName(InstanceProperties instanceProperties) Extract the qualifiedName property from the supplied instance properties.getRemainingExtendedProperties(InstanceProperties instanceProperties) Convert the remaining properties into a map that is returned as the extended properties.protected voidhandleBadEntity(String beanClassName, EntityDetail entity, String methodName) Throw an exception to indicate that a retrieved entity has missing information.protected voidhandleBadRelationship(String beanClassName, Relationship relationship, String methodName) Throw an exception to indicate that a critical instance (typically the main entity) has not been passed to the converter.protected voidhandleInvalidBeanClass(String beanClassName, Exception error, String methodName) Throw an exception to indicate that one of the update methods has not been implemented by an OMAS.protected voidhandleMissingMetadataInstance(String beanClassName, TypeDefCategory typeDefCategory, String methodName) Throw an exception to indicate that a critical instance (typically the main entity) has not been passed to the converter.protected voidhandleUnexpectedBeanClass(String beanClassName, String expectedBeanClass, String methodName) Throw an exception to indicate that one of the update methods has not been implemented by an OMAS.mapElementProperties(InstanceProperties instanceProperties) Fill out the properties for the omf Open Metadata Element bean with values from an OMRS entity.protected PrimitiveTypeCategorymapPrimitiveDefCategory(PrimitiveDefCategory primitiveDefCategory) Convert OMRS value in omf value.removeActionProperties(InstanceProperties instanceProperties) Extract the actionProperties property from the supplied instance properties.protected StringremoveActionRequested(InstanceProperties instanceProperties) Extract and delete the actionRequested standing property from the supplied instance properties.protected StringremoveActionTargetName(InstanceProperties instanceProperties) Extract and delete the actionTargetName property from the supplied instance properties.removeAdditionalProperties(InstanceProperties instanceProperties) Extract and delete the qualifiedName property from the supplied instance properties.removeAnalysisParameters(InstanceProperties instanceProperties) Extract the analysis parameters property from the supplied instance properties.protected StringremoveAnalysisStep(InstanceProperties instanceProperties) Extract the analysis step property from the supplied instance properties.protected StringremoveAnnotationType(InstanceProperties instanceProperties) Extract the annotation type property from the supplied instance properties.protected StringremoveAverageValue(InstanceProperties instanceProperties) Extract and delete the averageValue property from the supplied instance properties.removeCandidateClassifications(InstanceProperties instanceProperties) Extract the candidateClassifications property from the supplied instance properties.removeCandidateDataClassGUIDs(InstanceProperties instanceProperties) Extract the candidateDataClassGUIDs property from the supplied instance properties.removeCandidateGlossaryCategoryGUIDs(InstanceProperties instanceProperties) Extract the candidateGlossaryCategoryGUIDs property from the supplied instance properties.removeCandidateGlossaryTermGUIDs(InstanceProperties instanceProperties) Extract the candidateGlossaryTermGUIDs property from the supplied instance properties.protected StringremoveCapabilityType(InstanceProperties instanceProperties) Extract and delete the type property from the supplied instance properties.protected StringremoveCapabilityVersion(InstanceProperties instanceProperties) Extract and delete the capabilityVersion property from the supplied instance properties.protected StringremoveClearPassword(InstanceProperties instanceProperties) Extract and delete the clear password property from the supplied instance properties.protected StringremoveComment(InstanceProperties instanceProperties) Extract the comment property from the supplied instance properties.protected DateremoveCompletionDate(InstanceProperties instanceProperties) Extract and delete the completionDate property from the supplied instance properties.removeCompletionGuards(InstanceProperties instanceProperties) Extract and delete the completionGuards property from the supplied instance properties.protected StringremoveCompletionMessage(InstanceProperties instanceProperties) Extract and delete the completionMessage property from the supplied instance properties.protected intremoveConfidenceLevel(InstanceProperties instanceProperties) Extract the confidence level property from the supplied instance properties.removeConfigurationProperties(InstanceProperties instanceProperties) Extract and delete the configuration properties property from the supplied instance properties.protected StringremoveConnectorFrameworkName(InstanceProperties instanceProperties) Extract and delete the connector framework name property from the supplied instance properties.protected StringremoveConnectorInterfaceLanguage(InstanceProperties instanceProperties) Extract and delete the connector interface language property from the supplied instance properties.removeConnectorInterfaces(InstanceProperties instanceProperties) Extract and delete the connector interfaces property from the supplied instance properties.protected StringremoveConnectorProviderClassName(InstanceProperties instanceProperties) Extract and delete the connector provider class name property from the supplied instance properties.protected StringremoveDataType(InstanceProperties instanceProperties) Extract and delete the data type property from the supplied instance properties.protected StringremoveDescription(InstanceProperties instanceProperties) Extract and delete the description property from the supplied instance properties.protected StringremoveDisplayName(InstanceProperties instanceProperties) Extract and delete the displayName property from the supplied instance properties.protected intremoveDomainIdentifier(InstanceProperties instanceProperties) Extract and delete the domain identifier property from the supplied instance properties.protected StringremoveEncoding(InstanceProperties instanceProperties) Extract and delete the encoding property from the supplied instance properties.protected StringremoveEncryptedPassword(InstanceProperties instanceProperties) Extract and delete the encrypted password property from the supplied instance properties.protected StringremoveEncryptionMethod(InstanceProperties instanceProperties) Extract and delete the encryption method property from the supplied instance properties.protected StringremoveExecutorEngineGUID(InstanceProperties instanceProperties) Extract and delete the executorEngineGUID property from the supplied instance properties.protected StringremoveExecutorEngineName(InstanceProperties instanceProperties) Extract and delete the executorEngineName property from the supplied instance properties.protected StringremoveExpectedDataFormat(InstanceProperties instanceProperties) Extract and delete the expected data format property from the supplied instance properties.protected StringremoveExplanation(InstanceProperties instanceProperties) Extract the explanation property from the supplied instance properties.protected StringremoveExpression(InstanceProperties instanceProperties) Extract the expression property from the supplied instance properties.protected StringremoveExternalInstanceCreatedBy(InstanceProperties instanceProperties) Extract and delete the externalInstanceCreatedBy property from the supplied instance properties.protected DateremoveExternalInstanceCreationTime(InstanceProperties instanceProperties) Extract and delete the externalInstanceCreationTime property from the supplied instance properties.protected StringremoveExternalInstanceLastUpdatedBy(InstanceProperties instanceProperties) Extract and delete the externalInstanceLastUpdatedBy property from the supplied instance properties.protected DateremoveExternalInstanceLastUpdateTime(InstanceProperties instanceProperties) Extract and delete the externalInstanceLastUpdateTime property from the supplied instance properties.protected longremoveExternalInstanceVersion(InstanceProperties instanceProperties) Extract and delete the externalInstanceVersion property from the supplied instance properties.protected StringremoveFormula(InstanceProperties instanceProperties) Extract and delete the formula property from the supplied instance properties.protected StringremoveFormulaType(InstanceProperties instanceProperties) Extract and delete the formulaType property from the supplied instance properties.protected StringremoveGovernanceActionTypeGUID(InstanceProperties instanceProperties) Extract and delete the governanceActionTypeGUID property from the supplied instance properties.protected StringremoveGovernanceActionTypeName(InstanceProperties instanceProperties) Extract and delete the governanceActionTypeName property from the supplied instance properties.protected StringremoveGuard(InstanceProperties instanceProperties) Extract and delete the guard property from the supplied instance properties.protected StringremoveIdentifier(InstanceProperties instanceProperties) Extract and delete the identifier property from the supplied instance properties.protected StringremoveIdentifierTypeName(InstanceProperties instanceProperties) Extract and delete the externalInstanceTypeName property from the supplied instance properties.protected booleanremoveIgnoreMultipleTriggers(InstanceProperties instanceProperties) Extract and delete the ignoreMultipleTriggers property from the supplied instance properties.protected StringremoveInferredDataType(InstanceProperties instanceProperties) Extract the inferredDataType property from the supplied instance properties.protected StringremoveInferredFormat(InstanceProperties instanceProperties) Extract the inferredFormat property from the supplied instance properties.protected intremoveInferredLength(InstanceProperties instanceProperties) Extract the inferredLength property from the supplied instance properties.protected intremoveInferredPrecision(InstanceProperties instanceProperties) Extract the inferredPrecision property from the supplied instance properties.protected intremoveInferredScale(InstanceProperties instanceProperties) Extract the inferredScale property from the supplied instance properties.protected StringremoveInformalTerm(InstanceProperties instanceProperties) Extract and delete the informalTerm standing property from the supplied instance properties.protected StringremoveInformalTopic(InstanceProperties instanceProperties) Extract and delete the informalTopic standing property from the supplied instance properties.protected booleanremoveIsCaseSensitive(InstanceProperties instanceProperties) Extract the isCaseSensitive property from the supplied instance properties.protected StringremoveJsonProperties(InstanceProperties instanceProperties) Extract the jsonProperties property from the supplied instance properties.protected StringremoveKey(InstanceProperties instanceProperties) Extract and delete the property from the supplied instance properties.removeKeyPattern(InstanceProperties instanceProperties) Extract and delete the KeyPattern property from the supplied instance properties.protected DateremoveLastSynchronized(InstanceProperties instanceProperties) Extract and delete the lastSynchronized property from the supplied instance properties.protected intremoveLength(InstanceProperties instanceProperties) Extract and delete the length property from the supplied instance properties.protected booleanremoveMandatoryGuard(InstanceProperties instanceProperties) Extract and delete the mandatoryGuard property from the supplied instance properties.removeMandatoryGuards(InstanceProperties instanceProperties) Extract and delete the mandatoryGuards property from the supplied instance properties.removeMappingProperties(InstanceProperties instanceProperties) Extract and delete the mappingProperties property from the supplied instance properties.protected StringremoveName(InstanceProperties instanceProperties) Extract and delete the name property from the supplied instance properties.protected StringremoveNamespace(InstanceProperties instanceProperties) Extract and delete the property from the supplied instance properties.protected StringremoveNetworkAddress(InstanceProperties instanceProperties) Extract and delete the networkAddress property from the supplied instance properties.protected StringremovePatchLevel(InstanceProperties instanceProperties) Extract and delete the patchLevel property from the supplied instance properties.protected StringremovePreferredValue(InstanceProperties instanceProperties) Extract and delete the preferredValue property from the supplied instance properties.protected DateremoveProcessEndTime(InstanceProperties instanceProperties) Extract and delete the processStartTime property from the supplied instance properties.protected StringremoveProcessingEngineUserId(InstanceProperties instanceProperties) Extract and delete the processingEngineUserId property from the supplied instance properties.protected StringremoveProcessName(InstanceProperties instanceProperties) Extract and delete the processName property from the supplied instance properties.protected DateremoveProcessStartTime(InstanceProperties instanceProperties) Extract and delete the processStartTime property from the supplied instance properties.protected StringremoveProcessStepGUID(InstanceProperties instanceProperties) Extract and delete the processStepGUID property from the supplied instance properties.protected StringremoveProcessStepName(InstanceProperties instanceProperties) Extract and delete the processStepName property from the supplied instance properties.removeProfileCounts(InstanceProperties instanceProperties) Extract the profileCounts property from the supplied instance properties.removeProfileDates(InstanceProperties instanceProperties) Extract the profileDates property from the supplied instance properties.removeProfileDoubles(InstanceProperties instanceProperties) Extract the profileCounts property from the supplied instance properties.protected DateremoveProfileEndDate(InstanceProperties instanceProperties) Extract the profileEndDate property from the supplied instance properties.removeProfileFlags(InstanceProperties instanceProperties) Extract the profileFlags property from the supplied instance properties.removeProfileProperties(InstanceProperties instanceProperties) Extract the profileProperties property from the supplied instance properties.removeProfilePropertyNames(InstanceProperties instanceProperties) Extract the profilePropertyNames property from the supplied instance properties.protected DateremoveProfileStartDate(InstanceProperties instanceProperties) Extract the profileStartDate property from the supplied instance properties.protected StringremoveProtocol(InstanceProperties instanceProperties) Extract and delete the protocol property from the supplied instance properties.protected StringremoveQualifiedName(InstanceProperties instanceProperties) Extract and delete the qualifiedName property from the supplied instance properties.protected StringremoveQualityDimension(InstanceProperties instanceProperties) Extract and delete the qualityDimension standing property from the supplied instance properties.protected intremoveQualityScore(InstanceProperties instanceProperties) Extract and delete the qualityScore property from the supplied instance properties.removeReceivedGuards(InstanceProperties instanceProperties) Extract and delete the receivedGuards property from the supplied instance properties.removeRecognizedAdditionalProperties(InstanceProperties instanceProperties) Extract and delete the recognizedAdditionalProperties property from the supplied instance properties.removeRecognizedConfigurationProperties(InstanceProperties instanceProperties) Extract and delete the recognized configuration properties property from the supplied instance properties.removeRecognizedSecuredProperties(InstanceProperties instanceProperties) Extract and delete the recognizedSecuredProperties property from the supplied instance properties.protected StringremoveRelatedEntityGUID(InstanceProperties instanceProperties) Extract and delete the relatedEntityGUID standing property from the supplied instance properties.removeRelationshipProperties(InstanceProperties instanceProperties) Extract the relationshipProperties property from the supplied instance properties.protected StringremoveRelationshipTypeName(InstanceProperties instanceProperties) Extract and delete the relatedEntityGUID standing property from the supplied instance properties.protected DateremoveRequestedStartDate(InstanceProperties instanceProperties) Extract and delete the requestedStartDate property from the supplied instance properties.protected StringremoveRequesterUserId(InstanceProperties instanceProperties) Extract and delete the requesterUserId property from the supplied instance properties.removeRequestParameters(InstanceProperties instanceProperties) Extract and delete the requestParameters property from the supplied instance properties.protected StringremoveRequestType(InstanceProperties instanceProperties) Extract and delete the requestType property from the supplied instance properties.protected DateremoveResourceCreateTime(InstanceProperties instanceProperties) Extract and delete the resourceCreateTime property from the supplied instance properties.protected DateremoveResourceLastAccessedTime(InstanceProperties instanceProperties) Extract and delete the resourceLastAccessedTime property from the supplied instance properties.removeResourceProperties(InstanceProperties instanceProperties) Extract and delete the dataSourceProperties property from the supplied instance properties.protected DateremoveResourceUpdateTime(InstanceProperties instanceProperties) Extract and delete the resourceUpdateTime property from the supplied instance properties.protected DateremoveReviewDate(InstanceProperties instanceProperties) Extract the reviewDate property from the supplied instance properties.protected StringremoveSchemaName(InstanceProperties instanceProperties) Extract the schemaName property from the supplied instance properties.protected StringremoveSchemaType(InstanceProperties instanceProperties) Extract the schemaType property from the supplied instance properties.removeSecuredProperties(InstanceProperties instanceProperties) Extract and delete the securedProperties property from the supplied instance properties.protected intremoveSize(InstanceProperties instanceProperties) Extract and delete the size property from the supplied instance properties.protected StringremoveSource(InstanceProperties instanceProperties) Extract and delete the type property from the supplied instance properties.protected DateremoveStartDate(InstanceProperties instanceProperties) Extract and delete the startDate property from the supplied instance properties.protected DateremoveStartTime(InstanceProperties instanceProperties) Extract and delete the startDate property from the supplied instance properties.protected StringremoveSteward(InstanceProperties instanceProperties) Extract the steward property from the supplied instance properties.protected StringremoveSummary(InstanceProperties instanceProperties) Extract and remove the summary property from the supplied instance properties.protected StringremoveSupportedAssetTypeName(InstanceProperties instanceProperties) Extract and delete the supported asset type name property from the supplied instance properties.protected StringremoveSupportedDeployedImplementationType(InstanceProperties instanceProperties) Extract and delete the type property from the supplied instance properties.protected StringremoveSurveyActivity(InstanceProperties instanceProperties) Extract and delete the discoveryActivity standing property from the supplied instance properties.removeTargetTechnologyInterfaces(InstanceProperties instanceProperties) Extract and delete the target technology interfaces property from the supplied instance properties.protected StringremoveTargetTechnologyName(InstanceProperties instanceProperties) Extract and delete the target technology name property from the supplied instance properties.protected StringremoveTargetTechnologySource(InstanceProperties instanceProperties) Extract and delete the target technology source property from the supplied instance properties.removeTargetTechnologyVersions(InstanceProperties instanceProperties) Extract and delete the target technology versions property from the supplied instance properties.protected StringremoveUsage(InstanceProperties instanceProperties) Extract and delete the usage property from the supplied instance properties.protected StringremoveUserId(InstanceProperties instanceProperties) Extract and delete the userId property from the supplied instance properties.protected booleanremoveUsesBlockingCalls(InstanceProperties instanceProperties) Extract and remove the usesBlockingCalls property from the supplied instance properties.removeValueCount(InstanceProperties instanceProperties) Extract the valueCount property from the supplied instance properties.removeValueList(InstanceProperties instanceProperties) Extract the valueList property from the supplied instance properties.protected StringremoveValueRangeFrom(InstanceProperties instanceProperties) Extract and delete the valueRangeFrom property from the supplied instance properties.protected StringremoveValueRangeTo(InstanceProperties instanceProperties) Extract and delete the valueRangeTo property from the supplied instance properties.protected StringremoveVersionIdentifier(InstanceProperties instanceProperties) Extract and delete the version identifier property from the supplied instance properties.protected intremoveWaitTime(InstanceProperties instanceProperties) Extract and delete the waitTime property from the supplied instance properties.protected voidvalidateInstanceType(String expectedTypeName, String beanClassName, String actualTypeName, String methodName) Throw an exception to indicate that a critical instance (typically the main entity) has not been passed to the converter.
- 
Field Details- 
repositoryHelper
- 
serviceName
- 
serverName
- 
propertyHelper
 
- 
- 
Constructor Details- 
OpenMetadataAPIGenericConverterpublic OpenMetadataAPIGenericConverter(OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor captures the initial content- Parameters:
- repositoryHelper- helper object to parse entity
- serviceName- name of this component
- serverName- name of this server
 
 
- 
- 
Method Details- 
getNewBeanpublic B getNewBean(Class<B> beanClass, EntityDetail entity, String methodName) throws PropertyServerException Using the supplied entity, return a new instance of the bean. This is used for most beans that have a one to one correspondence with the repository instances.- Parameters:
- beanClass- name of the class to create
- entity- entity containing the properties
- methodName- calling method
- Returns:
- bean populated with properties from the entity supplied
- Throws:
- PropertyServerException- there is a problem instantiating the bean
 
- 
getNewBeanpublic B getNewBean(Class<B> beanClass, EntityDetail entity, Relationship relationship, String methodName) throws PropertyServerException Using the supplied instances, return a new instance of the bean. This is used for beans that contain a combination of the properties from an entity and that of a connected relationship.- Parameters:
- beanClass- name of the class to create
- entity- entity containing the properties
- relationship- relationship used to access the entity
- methodName- calling method
- Returns:
- bean populated with properties from the instances supplied
- Throws:
- PropertyServerException- there is a problem instantiating the bean
 
- 
getNewComplexBeanpublic B getNewComplexBean(Class<B> beanClass, EntityDetail primaryEntity, List<Relationship> relationships, String methodName) throws PropertyServerException Using the supplied instances, return a new instance of the bean. It is used for beans such as an AnnotationProperties or DataField bean which combine knowledge from the entity and its linked relationships.- Parameters:
- beanClass- name of the class to create
- primaryEntity- entity that is the root of the collection of entities that make up the content of the bean
- relationships- relationships linking the entities
- methodName- calling method
- Returns:
- bean populated with properties from the instances supplied
- Throws:
- PropertyServerException- there is a problem instantiating the bean
 
- 
getNewComplexRelatedEntityBeanpublic B getNewComplexRelatedEntityBean(Class<B> beanClass, EntityDetail primaryEntity, Relationship relationship, List<RelatedEntity> relatedEntities, String methodName) throws PropertyServerException Using the supplied instances, return a new instance of the bean. It is used for beans such as an AnnotationProperties or DataField bean which combine knowledge from the entity and its linked relationships.- Parameters:
- beanClass- name of the class to create
- primaryEntity- entity that is the root of the collection of entities that make up the content of the bean
- relationship- relationship used to access the entity
- relatedEntities- relationships linking the entities
- methodName- calling method
- Returns:
- bean populated with properties from the instances supplied
- Throws:
- PropertyServerException- there is a problem instantiating the bean
 
- 
getNewComplexGraphBeanpublic B getNewComplexGraphBean(Class<B> beanClass, EntityDetail primaryEntity, List<EntityDetail> supplementaryEntities, List<Relationship> relationships, String methodName) throws PropertyServerException Using the supplied instances, return a new instance of the bean. It is used for beans such as a connection bean which made up of 3 entities (Connection, ConnectorType and Endpoint) plus the relationships between them. The relationships may be omitted if they do not have any properties.- Parameters:
- beanClass- name of the class to create
- primaryEntity- entity that is the root of the collection of entities that make up the content of the bean
- supplementaryEntities- entities connected to the primary entity by the relationships
- relationships- relationships linking the entities
- methodName- calling method
- Returns:
- bean populated with properties from the instances supplied
- Throws:
- PropertyServerException- there is a problem instantiating the bean
 
- 
getNewRelationshipBeanpublic B getNewRelationshipBean(Class<B> beanClass, Relationship relationship, String methodName) throws PropertyServerException Using the supplied relationship, return a new instance of the bean. It is used for beans that represent a simple relationship between two entities.- Parameters:
- beanClass- name of the class to create
- relationship- relationship linking the entities
- methodName- calling method
- Returns:
- bean populated with properties from the instances supplied
- Throws:
- PropertyServerException- there is a problem instantiating the bean
 
- 
getNewSchemaTypeBeanpublic B getNewSchemaTypeBean(Class<B> beanClass, InstanceHeader schemaRootHeader, String schemaTypeTypeName, InstanceProperties instanceProperties, List<Classification> schemaRootClassifications, int attributeCount, String validValueSetGUID, B externalSchemaType, B mapFromSchemaType, B mapToSchemaType, List<B> schemaTypeOptions, String methodName) throws PropertyServerException Return the converted bean. This is a special method used for schema types since they are stored as a collection of instances.- Parameters:
- beanClass- name of the class to create
- schemaRootHeader- header of the schema element that holds the root information
- schemaTypeTypeName- name of type of the schema type to create
- instanceProperties- properties describing the schema type
- schemaRootClassifications- classifications from the schema root entity
- attributeCount- number of attributes (for a complex schema type)
- validValueSetGUID- unique identifier of the set of valid values (for an enum schema type)
- externalSchemaType- unique identifier for the properties of the schema type that is shared by multiple attributes/assets
- mapFromSchemaType- bean containing the properties of the schema type that is part of a map definition
- mapToSchemaType- bean containing the properties of the schema type that is part of a map definition
- schemaTypeOptions- list of schema types that could be the type for this attribute
- methodName- calling method
- Returns:
- bean populated with properties from the instances supplied
- Throws:
- PropertyServerException- there is a problem instantiating the bean
 
- 
getNewSchemaTypeBeanpublic B getNewSchemaTypeBean(Class<B> beanClass, InstanceHeader schemaRootHeader, String schemaTypeTypeName, InstanceProperties instanceProperties, List<Classification> schemaRootClassifications, int attributeCount, String validValueSetGUID, String externalSchemaTypeGUID, B externalSchemaType, String mapFromSchemaTypeGUID, B mapFromSchemaType, String mapToSchemaTypeGUID, B mapToSchemaType, List<String> schemaTypeOptionGUIDs, List<B> schemaTypeOptions, List<Relationship> queryTargets, String methodName) throws PropertyServerException Return the converted bean. This is a special method used for schema types since they are stored as a collection of instances. For external schema types and map elements, both the GUID and the bean are returned to allow the consuming OMAS to choose whether it is returning GUIDs of the linked to schema or the schema type bean itself.- Parameters:
- beanClass- name of the class to create
- schemaRootHeader- header of the schema element that holds the root information
- schemaTypeTypeName- name of type of the schema type to create
- instanceProperties- properties describing the schema type
- schemaRootClassifications- classifications from the schema root entity
- attributeCount- number of attributes (for a complex schema type)
- validValueSetGUID- unique identifier of the set of valid values (for an enum schema type)
- externalSchemaTypeGUID- unique identifier of the external schema type
- externalSchemaType- unique identifier for the properties of the schema type that is shared by multiple attributes/assets
- mapFromSchemaTypeGUID- unique identifier of the mapFrom schema type
- mapFromSchemaType- bean containing the properties of the schema type that is part of a map definition
- mapToSchemaTypeGUID- unique identifier of the mapTo schema type
- mapToSchemaType- bean containing the properties of the schema type that is part of a map definition
- schemaTypeOptionGUIDs- list of unique identifiers for schema types that could be the type for this attribute
- schemaTypeOptions- list of schema types that could be the type for this attribute
- queryTargets- list of relationships to schema types that contain data values used to derive the schema type value(s)
- methodName- calling method
- Returns:
- bean populated with properties from the instances supplied
- Throws:
- PropertyServerException- there is a problem instantiating the bean
 
- 
getNewSchemaAttributeBeanpublic <T> B getNewSchemaAttributeBean(Class<B> beanClass, EntityDetail schemaAttributeEntity, Class<T> typeClass, T schemaType, List<Relationship> schemaAttributeRelationships, String methodName) throws PropertyServerException Extract the properties from the schema attribute entity. Each API creates a specialization of this method for its beans.- Type Parameters:
- T- bean type used to create the schema type
- Parameters:
- beanClass- name of the class to create
- schemaAttributeEntity- entity containing the properties for the main schema attribute
- typeClass- name of type used to describe the schema type
- schemaType- bean containing the properties of the schema type - this is filled out by the schema type converter
- schemaAttributeRelationships- relationships containing the links to other schema attributes
- methodName- calling method
- Returns:
- bean populated with properties from the instances supplied
- Throws:
- PropertyServerException- there is a problem instantiating the bean
 
- 
handleInvalidBeanClassprotected void handleInvalidBeanClass(String beanClassName, Exception error, String methodName) throws PropertyServerException Throw an exception to indicate that one of the update methods has not been implemented by an OMAS.- Parameters:
- beanClassName- class name of bean
- error- exception generated when the new bean is created
- methodName- method that is missing
- Throws:
- PropertyServerException- there is a problem in the use of the generic handlers because the converter has been configured with a type of bean that is not a known class
 
- 
handleUnexpectedBeanClassprotected void handleUnexpectedBeanClass(String beanClassName, String expectedBeanClass, String methodName) throws PropertyServerException Throw an exception to indicate that one of the update methods has not been implemented by an OMAS.- Parameters:
- beanClassName- class name of bean
- expectedBeanClass- class name that the converter is able to process
- methodName- method that is missing
- Throws:
- PropertyServerException- there is a problem in the use of the generic handlers because the converter has been configured with a type of bean that is incompatible with the handler
 
- 
handleMissingMetadataInstanceprotected void handleMissingMetadataInstance(String beanClassName, TypeDefCategory typeDefCategory, String methodName) throws PropertyServerException Throw an exception to indicate that a critical instance (typically the main entity) has not been passed to the converter.- Parameters:
- beanClassName- class name of bean
- typeDefCategory- class name that the converter is able to process
- methodName- method that is missing
- Throws:
- PropertyServerException- there is a problem in the use of the generic handlers because the converter has been configured with a type of bean that is incompatible with the handler
 
- 
validateInstanceTypeprotected void validateInstanceType(String expectedTypeName, String beanClassName, String actualTypeName, String methodName) throws PropertyServerException Throw an exception to indicate that a critical instance (typically the main entity) has not been passed to the converter.- Parameters:
- expectedTypeName- name of the type that the instance should match
- beanClassName- class name of bean
- actualTypeName- type of instance
- methodName- calling method
- Throws:
- PropertyServerException- there is a problem in the use of the generic handlers because the converter has been configured with a type of bean that is incompatible with the handler
 
- 
handleBadEntityprotected void handleBadEntity(String beanClassName, EntityDetail entity, String methodName) throws PropertyServerException Throw an exception to indicate that a retrieved entity has missing information.- Parameters:
- beanClassName- class name of bean
- entity- the entity with the bad header
- methodName- calling method
- Throws:
- PropertyServerException- an invalid instance has been returned from the metadata repositories
 
- 
handleBadRelationshipprotected void handleBadRelationship(String beanClassName, Relationship relationship, String methodName) throws PropertyServerException Throw an exception to indicate that a critical instance (typically the main entity) has not been passed to the converter.- Parameters:
- beanClassName- class name of bean
- relationship- the relationship with the bad header
- methodName- calling method
- Throws:
- PropertyServerException- an invalid instance has been returned from the metadata repositories
 
- 
getClassificationPropertiesprotected InstanceProperties getClassificationProperties(String classificationName, EntityDetail entity) Extract the properties for the requested classification from the entity.- Parameters:
- classificationName- name of classification
- entity- entity containing classification
- Returns:
- list of properties for the named classification
 
- 
getClassificationPropertiesprotected InstanceProperties getClassificationProperties(String classificationName, List<Classification> entityClassifications) Extract the properties for the requested classification from the list of classifications.- Parameters:
- classificationName- name of classification
- entityClassifications- list of classifications from an entity
- Returns:
- list of properties for the named classification
 
- 
getMetadataElementHeaderprotected ElementHeader getMetadataElementHeader(Class<B> beanClass, EntityDetail entity, String methodName) throws PropertyServerException Extract the properties from the entity.- Parameters:
- beanClass- name of the class to create
- entity- entity containing the properties
- methodName- calling method
- Returns:
- filled out element header
- Throws:
- PropertyServerException- there is a problem in the use of the generic handlers because the converter has been configured with a type of bean that is incompatible with the handler
 
- 
fillElementControlHeaderpublic void fillElementControlHeader(ElementControlHeader elementControlHeader, InstanceAuditHeader header) Fill an omf control header from the information in a repository services element header.- Parameters:
- elementControlHeader- omf object control header
- header- OMRS element header
 
- 
mapPrimitiveDefCategoryConvert OMRS value in omf value.- Parameters:
- primitiveDefCategory- OMRS value
- Returns:
- omf equivalent
 
- 
mapElementPropertiesFill out the properties for the omf Open Metadata Element bean with values from an OMRS entity.- Parameters:
- instanceProperties- retrieve properties
- Returns:
- properties mapped to omf
 
- 
getAttachedClassificationsprotected List<AttachedClassification> getAttachedClassifications(List<Classification> entityClassifications) Extract the classifications from the entity.- Parameters:
- entityClassifications- classifications direct from the entity
- Returns:
- list of bean classifications
 
- 
getMetadataElementHeaderpublic ElementHeader getMetadataElementHeader(Class<B> beanClass, InstanceHeader header, List<Classification> entityClassifications, String methodName) throws PropertyServerException Extract the properties from the entity.- Parameters:
- beanClass- name of the class to create
- header- header from the entity containing the properties
- entityClassifications- classification if this is an entity
- methodName- calling method
- Returns:
- filled out element header
- Throws:
- PropertyServerException- there is a problem in the use of the generic handlers because the converter has been configured with a type of bean that is incompatible with the handler
 
- 
getElementStatusTranslate the repository services' InstanceStatus to an ElementStatus.- Parameters:
- instanceStatus- value from the repository services
- Returns:
- ElementStatus enum
 
- 
getElementStubpublic ElementStub getElementStub(Class<B> beanClass, EntityProxy entityProxy, String methodName) throws PropertyServerException Extract the properties from the entity.- Parameters:
- beanClass- name of the class to create
- entityProxy- entityProxy from the relationship containing the properties
- methodName- calling method
- Returns:
- filled out element header
- Throws:
- PropertyServerException- there is a problem in the use of the generic handlers because the converter has been configured with a type of bean that is incompatible with the handler
 
- 
getElementTypeConvert information from a repository instance into an Open Metadata Framework ElementType.- Parameters:
- instanceHeader- values from the server
- Returns:
- OCF ElementType object
 
- 
getElementVersionsExtract detail of the version of the element and the user's maintaining it.- Parameters:
- header- audit header from the repository
- Returns:
- ElementVersions object
 
- 
getElementOriginCategoryprotected ElementOriginCategory getElementOriginCategory(InstanceProvenanceType instanceProvenanceType) Translate the repository services' InstanceProvenanceType to an ElementOrigin.- Parameters:
- instanceProvenanceType- value from the repository services
- Returns:
- ElementOrigin enum
 
- 
removeKeyPatternExtract and delete the KeyPattern property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- KeyPattern enum
 
- 
getQualifiedNameExtract the qualifiedName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string name or null
 
- 
removeQualifiedNameExtract and delete the qualifiedName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string name or null
 
- 
removeAdditionalPropertiesExtract and delete the qualifiedName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- map or null
 
- 
getRemainingExtendedPropertiesConvert the remaining properties into a map that is returned as the extended properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- map or null
 
- 
getPropertiesAsStringsConvert the remaining properties into a map that is returned as the extended properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- map or null
 
- 
removeDisplayNameExtract and delete the displayName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string name or null
 
- 
getDisplayNameExtract the displayName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string name or null
 
- 
removeNameExtract and delete the name property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string name or null
 
- 
removeVersionIdentifierExtract and delete the version identifier property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string name or null
 
- 
getDescriptionExtract the description property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeDescriptionExtract and delete the description property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeIdentifierExtract and delete the identifier property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeKeyExtract and delete the property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeIdentifierTypeNameExtract and delete the externalInstanceTypeName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeExternalInstanceCreatedByExtract and delete the externalInstanceCreatedBy property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeExternalInstanceCreationTimeExtract and delete the externalInstanceCreationTime property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeExternalInstanceLastUpdatedByExtract and delete the externalInstanceLastUpdatedBy property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeExternalInstanceLastUpdateTimeExtract and delete the externalInstanceLastUpdateTime property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeExternalInstanceVersionExtract and delete the externalInstanceVersion property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeMappingPropertiesExtract and delete the mappingProperties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- map or null
 
- 
removeLastSynchronizedExtract and delete the lastSynchronized property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- map or null
 
- 
removeNetworkAddressExtract and delete the networkAddress property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeProtocolExtract and delete the protocol property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeEncryptionMethodExtract and delete the encryption method property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeConnectorProviderClassNameExtract and delete the connector provider class name property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeSupportedAssetTypeNameExtract and delete the supported asset type name property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeExpectedDataFormatExtract and delete the expected data format property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeConnectorFrameworkNameExtract and delete the connector framework name property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeConnectorInterfaceLanguageExtract and delete the connector interface language property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeConnectorInterfacesExtract and delete the connector interfaces property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string list or null
 
- 
removeTargetTechnologySourceExtract and delete the target technology source property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeTargetTechnologyNameExtract and delete the target technology name property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeTargetTechnologyInterfacesExtract and delete the target technology interfaces property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string list or null
 
- 
removeTargetTechnologyVersionsExtract and delete the target technology versions property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string list or null
 
- 
removeRecognizedAdditionalPropertiesExtract and delete the recognizedAdditionalProperties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string list or null
 
- 
removeRecognizedSecuredPropertiesExtract and delete the recognizedSecuredProperties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string list or null
 
- 
removeRecognizedConfigurationPropertiesprotected List<String> removeRecognizedConfigurationProperties(InstanceProperties instanceProperties) Extract and delete the recognized configuration properties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string list or null
 
- 
removeSecuredPropertiesExtract and delete the securedProperties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string list or null
 
- 
removeConfigurationPropertiesExtract and delete the configuration properties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string list or null
 
- 
removeUserIdExtract and delete the userId property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeClearPasswordExtract and delete the clear password property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeEncryptedPasswordExtract and delete the encrypted password property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
getArgumentsExtract the "arguments" property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeResourceCreateTimeExtract and delete the resourceCreateTime property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- date or null
 
- 
removeResourceUpdateTimeExtract and delete the resourceUpdateTime property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- date or null
 
- 
removeResourceLastAccessedTimeExtract and delete the resourceLastAccessedTime property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- date or null
 
- 
getEncodingPropertiesExtract the encoding properties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from classification
- Returns:
- string map or null
 
- 
removeSupportedDeployedImplementationTypeExtract and delete the type property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeCapabilityTypeExtract and delete the type property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeCapabilityVersionExtract and delete the capabilityVersion property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removePatchLevelExtract and delete the patchLevel property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeDataTypeExtract and delete the data type property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string name or null
 
- 
getPositionExtract the position property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- integer - default 0
 
- 
removeLengthExtract and delete the length property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- integer - default 0
 
- 
removeFormulaExtract and delete the formula property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeFormulaTypeExtract and delete the formulaType property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeProcessStartTimeExtract and delete the processStartTime property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeProcessEndTimeExtract and delete the processStartTime property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeUsesBlockingCallsExtract and remove the usesBlockingCalls property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeSourceExtract and delete the type property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeUsageExtract and delete the usage property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeSummaryExtract and remove the summary property from the supplied instance properties.- Parameters:
- instanceProperties- properties from governance entities
- Returns:
- string property or null
 
- 
removeNamespaceExtract and delete the property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeDomainIdentifierExtract and delete the domain identifier property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- integer = default is 0 which is ALL
 
- 
removeProcessingEngineUserIdExtract and delete the processingEngineUserId property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeRequesterUserIdExtract and delete the requesterUserId property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeRequestTypeExtract and delete the requestType property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeRequestParametersExtract and delete the requestParameters property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeExecutorEngineGUIDExtract and delete the executorEngineGUID property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeExecutorEngineNameExtract and delete the executorEngineName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeProcessNameExtract and delete the processName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeProcessStepGUIDExtract and delete the processStepGUID property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeProcessStepNameExtract and delete the processStepName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeGovernanceActionTypeGUIDExtract and delete the governanceActionTypeGUID property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeGovernanceActionTypeNameExtract and delete the governanceActionTypeName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeGuardExtract and delete the guard property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeMandatoryGuardsExtract and delete the mandatoryGuards property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- list of guards
 
- 
removeMandatoryGuardExtract and delete the mandatoryGuard property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- flag
 
- 
removeIgnoreMultipleTriggersExtract and delete the ignoreMultipleTriggers property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- flag
 
- 
removeWaitTimeExtract and delete the waitTime property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- integer
 
- 
removeReceivedGuardsExtract and delete the receivedGuards property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- list of guards
 
- 
removeCompletionGuardsExtract and delete the completionGuards property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- list of guards
 
- 
removeCompletionMessageExtract and delete the completionMessage property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string
 
- 
removeStartTimeExtract and delete the startDate property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- date
 
- 
removeStartDateExtract and delete the startDate property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- date
 
- 
removeRequestedStartDateExtract and delete the requestedStartDate property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- date
 
- 
removeCompletionDateExtract and delete the completionDate property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- date
 
- 
removeActionTargetNameExtract and delete the actionTargetName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- String text or null
 
- 
getConditionsExtract the "conditions" property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removePreferredValueExtract and delete the preferredValue property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeIsCaseSensitiveExtract the isCaseSensitive property from the supplied instance properties.- Parameters:
- instanceProperties- properties from ValidValueDefinition relationship
- Returns:
- boolean
 
- 
getAttributeNameExtract the "attributeName" property from the supplied instance properties.- Parameters:
- instanceProperties- properties from ReferenceValueAssignment relationship
- Returns:
- string text or null
 
- 
removeAnalysisParametersExtract the analysis parameters property from the supplied instance properties.- Parameters:
- instanceProperties- properties from discovery analysis report entities
- Returns:
- string property or null
 
- 
removeAnalysisStepExtract the analysis step property from the supplied instance properties.- Parameters:
- instanceProperties- properties from discovery analysis report entities
- Returns:
- string property or null
 
- 
removeAnnotationTypeExtract the annotation type property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeConfidenceLevelExtract the confidence level property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- integer or 0
 
- 
removeExpressionExtract the expression property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeExplanationExtract the explanation property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeJsonPropertiesExtract the jsonProperties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeReviewDateExtract the reviewDate property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation review entities
- Returns:
- date or null
 
- 
removeStewardExtract the steward property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation review entities
- Returns:
- string property or null
 
- 
removeCommentExtract the comment property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation review entities
- Returns:
- string property or null
 
- 
removeSchemaNameExtract the schemaName property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeSchemaTypeExtract the schemaType property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeCandidateClassificationsExtract the candidateClassifications property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name value pairs
 
- 
removeCandidateDataClassGUIDsExtract the candidateDataClassGUIDs property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- list of string guids
 
- 
removeInferredDataTypeExtract the inferredDataType property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeInferredFormatExtract the inferredFormat property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeInferredLengthExtract the inferredLength property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- int property or 0
 
- 
removeInferredPrecisionExtract the inferredPrecision property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- int property or 0
 
- 
removeInferredScaleExtract the inferredScale property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- int property or 0
 
- 
removeProfileStartDateExtract the profileStartDate property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- date
 
- 
removeProfileEndDateExtract the profileEndDate property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- date
 
- 
removeProfilePropertiesExtract the profileProperties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name value pairs
 
- 
removeProfilePropertyNamesExtract the profilePropertyNames property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- list of names
 
- 
removeProfileFlagsExtract the profileFlags property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name to boolean pairs
 
- 
removeProfileDatesExtract the profileDates property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name to boolean pairs
 
- 
removeProfileCountsExtract the profileCounts property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name to long pairs
 
- 
removeProfileDoublesExtract the profileCounts property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name to long pairs
 
- 
removeValueListExtract the valueList property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- list of values
 
- 
removeValueCountExtract the valueCount property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name to integer pairs
 
- 
removeValueRangeFromExtract and delete the valueRangeFrom property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeValueRangeToExtract and delete the valueRangeTo property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeAverageValueExtract and delete the averageValue property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- string property or null
 
- 
removeResourcePropertiesExtract and delete the dataSourceProperties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name value pairs
 
- 
removeSizeExtract and delete the size property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- int property or 0
 
- 
removeEncodingExtract and delete the encoding property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeQualityDimensionExtract and delete the qualityDimension standing property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeQualityScoreExtract and delete the qualityScore property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- int property or 0
 
- 
removeRelatedEntityGUIDExtract and delete the relatedEntityGUID standing property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeRelationshipTypeNameExtract and delete the relatedEntityGUID standing property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeRelationshipPropertiesExtract the relationshipProperties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name-value pairs
 
- 
removeSurveyActivityExtract and delete the discoveryActivity standing property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeActionRequestedExtract and delete the actionRequested standing property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeActionPropertiesExtract the actionProperties property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- map of name-value pairs
 
- 
removeInformalTermExtract and delete the informalTerm standing property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeCandidateGlossaryTermGUIDsExtract the candidateGlossaryTermGUIDs property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- list of guids
 
- 
removeInformalTopicExtract and delete the informalTopic standing property from the supplied instance properties.- Parameters:
- instanceProperties- properties from entity
- Returns:
- string text or null
 
- 
removeCandidateGlossaryCategoryGUIDsExtract the candidateGlossaryCategoryGUIDs property from the supplied instance properties.- Parameters:
- instanceProperties- properties from annotation entities
- Returns:
- list of guids
 
 
-