Class ProcessConverter<B>
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericConverter<B>
org.odpi.openmetadata.commonservices.generichandlers.OMFConverter<B>
org.odpi.openmetadata.accessservices.assetmanager.converters.AssetManagerOMASConverter<B>
org.odpi.openmetadata.accessservices.assetmanager.converters.ProcessConverter<B>
ProcessConverter provides common methods for transferring relevant properties from an Open Metadata Repository Services (OMRS)
EntityDetail object into a bean that includes the ProcessProperties.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OMFConverter
karmaPointPlateau
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericConverter
repositoryHelper, serverName, serviceName
-
Constructor Summary
ConstructorsConstructorDescriptionProcessConverter
(OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetNewBean
(Class<B> beanClass, EntityDetail entity, String methodName) Using the supplied instances, 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.Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OMFConverter
getClassification, getContactMethodTypeFromProperties, getEmbeddedConnection, getRelatedElement, getRelatedElement, removeClassification, removePermittedSynchronization, removePortType, setUpElementHeader, setUpElementHeader
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericConverter
addSchemaTypeToAttribute, getAbbreviation, getAdditionalValues, getArguments, getAssetSummary, getAssociationDescription, getAttributeName, getCertificationGUID, getCertifiedBy, getClassificationProperties, getClassificationProperties, getConditions, getConfidence, getCustodian, getDataStoreEncodingDescription, getDataStoreEncodingLanguage, getDataStoreEncodingType, getDescription, getDisplayName, getElementClassifications, getElementOriginCategory, getElementStatus, getElementStub, getElementStub, getElementStub, getElementType, getElementVersions, getEncodingProperties, getEncryption, getEnd, getFormat, getFormula, getFormulaType, getGroups, getGuard, getImplementationLanguage, getImplementationValue, getIsPublic, getLicensedBy, getLicensee, getLicenseGUID, getMetadataElementHeader, getMetadataElementHeader, getNewComplexBean, getNewComplexBean, getNewRelationshipBean, getNewSchemaAttributeBean, getNewSchemaTypeBean, getNewSchemaTypeBean, getNotes, getOriginBusinessCapabilityGUID, getOriginOrganizationGUID, getOtherOriginValues, getPointType, getPosition, getQualifiedName, getQuery, getQueryId, getRationale, getRecipient, getReferenceId, getRemainingExtendedProperties, getSecurityLabels, getSecurityProperties, getStart, getSteward, getStewardPropertyName, getStewardTypeName, getStrictRequirement, getSummary, getSymbolicName, getUsage, handleBadEntity, handleBadEntityProxy, handleBadRelationship, handleInvalidBeanClass, handleMissingMetadataInstance, handleUnexpectedBeanClass, removeAbbreviation, removeActionProperties, removeActionRequested, removeActionTargetName, removeAdditionalProperties, removeAliases, removeAllowsDuplicateValues, removeAnalysisParameters, removeAnalysisStep, removeAnnotationType, removeAssociationType, removeAttachmentGUID, removeAuthor, removeAverageValue, removeBusinessImperatives, removeCandidateClassifications, removeCandidateDataClassGUIDs, removeCandidateGlossaryCategoryGUIDs, removeCandidateGlossaryTermGUIDs, removeCapabilityType, removeCapabilityVersion, removeCategory, removeClassificationName, removeClassificationPropertyName, removeClearPassword, removeCollectionType, removeComment, removeCommentText, removeCompletionDate, removeCompletionGuards, removeCompletionMessage, removeCompletionTime, removeConfidence, removeConfidenceLevel, removeConfigurationProperties, removeConnectorFrameworkName, removeConnectorInterfaceLanguage, removeConnectorInterfaces, removeConnectorProviderClassName, removeContactMethodService, removeContactMethodValue, removeContactType, removeCoordinates, removeCreatedTime, removeCreationTime, removeCriteria, removeDatabaseImportedFrom, removeDatabaseInstance, removeDatabaseVersion, removeDataFieldAliases, removeDataFieldDescription, removeDataFieldName, removeDataFieldNamespace, removeDataFieldType, removeDataType, removeDefaultValue, removeDefaultValueOverride, removeDeployedImplementationType, removeDescription, removeDetails, removeDisplayName, removeDistinguishedName, removeDomainIdentifier, removeDueTime, removeEncoding, removeEncodingStandard, removeEncryptedPassword, removeEncryptionMethod, removeExamples, removeExecutionDate, removeExecutorEngineGUID, removeExecutorEngineName, removeExpectedDataFormat, removeExplanation, removeExpression, removeExternalInstanceCreatedBy, removeExternalInstanceCreationTime, removeExternalInstanceLastUpdatedBy, removeExternalInstanceLastUpdateTime, removeExternalInstanceVersion, removeFileExtension, removeFileName, removeFileType, removeFixedValue, removeFormula, removeFormulaType, removeGovernanceActionTypeGUID, removeGovernanceActionTypeName, removeGuard, removeHeadCount, removeId, removeIdentifier, removeIgnoreMultipleTriggers, removeImplementationDescription, removeImplementationLanguage, removeImplications, removeInferredDataType, removeInferredFormat, removeInferredLength, removeInferredPrecision, removeInferredScale, removeInformalTerm, removeInformalTopic, removeIntPriority, removeIsCaseSensitive, removeIsDefaultValue, removeIsDeprecated, removeIsNullable, removeIsPublic, removeJsonProperties, removeJurisdiction, removeKarmaPoints, removeKeyPattern, removeKeyword, removeLanguage, removeLastModifiedTime, removeLastModifier, removeLastReviewTime, removeLastSynchronized, removeLength, removeLevel, removeLevelIdentifier, removeMandatoryGuard, removeMandatoryGuards, removeMappingProperties, removeMapProjection, removeMaxCardinality, removeMeasurement, removeMembershipRationale, removeMinCardinality, removeMinimumLength, removeMission, removeName, removeNamespace, removeNativeClass, removeNetworkAddress, removeOrderedValues, removeOrderPropertyName, removeOrganization, removeOriginGovernanceEngine, removeOriginGovernanceService, removeOutcomes, removeOwner, removeOwningOrganization, removeParameterType, removePatchLevel, removePathName, removePlannedEndDate, removePosition, removePostalAddress, removePrecision, removePreferredValue, removePriority, removeProcessingEngineUserId, removeProcessName, removeProcessStepGUID, removeProcessStepName, removeProducedActionTargets, removeProducedGuards, removeProducedRequestParameters, removeProfileCounts, removeProfileDates, removeProfileDoubles, removeProfileEndDate, removeProfileFlags, removeProfileProperties, removeProfilePropertyNames, removeProfileStartDate, removeProjectHealth, removeProjectPhase, removeProjectStatus, removePronouns, removeProtocol, removePublishVersionIdentifier, removeQualifiedName, removeQualityDimension, removeQualityScore, removeReceivedGuards, removeRecognizedAdditionalProperties, removeRecognizedConfigurationProperties, removeRecognizedSecuredProperties, removeReferenceId, removeReferenceVersion, removeRelatedEntityGUID, removeRelationshipEnd, removeRelationshipProperties, removeRelationshipTypeName, removeRequestedStartDate, removeRequesterUserId, removeRequestParameters, removeRequestSourceName, removeRequestType, removeRequired, removeRequiredActionTargets, removeRequiredRequestParameters, removeResourceCreateTime, removeResourceLastAccessedTime, removeResourceName, removeResourceProperties, removeResourceUpdateTime, removeResults, removeReview, removeReviewDate, removeSchemaName, removeSchemaType, removeScope, removeSecuredProperties, removeServiceRequestType, removeSignificantDigits, removeSize, removeSortOrder, removeSource, removeStartDate, removeSteward, removeStoreCreateTime, removeStoreUpdateTime, removeSubjectAreaName, removeSummary, removeSupportedAssetTypeName, removeSupportedDeployedImplementationType, removeSurveyActivity, removeTagDescription, removeTagName, removeTarget, removeTargetTechnologyInterfaces, removeTargetTechnologyName, removeTargetTechnologySource, removeTargetTechnologyVersions, removeText, removeTimeZone, removeTitle, removeTopicName, removeTopicType, removeURL, removeUsage, removeUserId, removeUsesBlockingCalls, removeValueCount, removeValueList, removeValueRangeFrom, removeValueRangeTo, removeVersion, removeVersionIdentifier, removeVersionNumber, removeWaitTime, removeZoneName, setUpSchemaAttribute, validateInstanceType
-
Constructor Details
-
ProcessConverter
public ProcessConverter(OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor- Parameters:
repositoryHelper
- helper object to parse entityserviceName
- name of this componentserverName
- local server name
-
-
Method Details
-
getNewBean
public B getNewBean(Class<B> beanClass, EntityDetail entity, 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.- Overrides:
getNewBean
in classOpenMetadataAPIGenericConverter<B>
- Parameters:
beanClass
- name of the class to createentity
- entity containing the propertiesmethodName
- calling method- Returns:
- bean populated with properties from the instances supplied
- Throws:
PropertyServerException
- there is a problem instantiating the bean
-
getNewBean
public 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.- Overrides:
getNewBean
in classOpenMetadataAPIGenericConverter<B>
- Parameters:
beanClass
- name of the class to createentity
- entity containing the propertiesrelationship
- relationship containing the propertiesmethodName
- calling method- Returns:
- bean populated with properties from the instances supplied
- Throws:
PropertyServerException
- there is a problem instantiating the bean
-