Class RelatedElementConverter<B>
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericConverter<B>
org.odpi.openmetadata.commonservices.generichandlers.OMFConverter<B>
org.odpi.openmetadata.frameworkservices.gaf.converters.OpenMetadataStoreConverter<B>
org.odpi.openmetadata.accessservices.governanceengine.converters.GovernanceEngineOMASConverter<B>
org.odpi.openmetadata.accessservices.governanceengine.converters.RelatedElementConverter<B>
RelatedElementConverter transfers the relevant properties from an Open Metadata Repository Services (OMRS)
EntityDetail object into a RelatedElement bean.
-
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
ConstructorDescriptionRelatedElementConverter
(OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetNewBean
(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.accessservices.governanceengine.converters.GovernanceEngineOMASConverter
removeGovernanceActionStatus
Methods inherited from class org.odpi.openmetadata.frameworkservices.gaf.converters.OpenMetadataStoreConverter
fillElementControlHeader, fillOpenMetadataElement, getAttachedClassifications, getOpenMetadataElement, mapElementProperties, removeActionStatus
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, getGuard, getImplementationValue, getIsPublic, getLabel, getLicensedBy, getLicensee, getMetadataElementHeader, getMetadataElementHeader, getNewBean, getNewComplexBean, getNewComplexBean, getNewRelationshipBean, getNewSchemaAttributeBean, getNewSchemaTypeBean, getNewSchemaTypeBean, getNotes, getPosition, getQualifiedName, getQuery, getQueryId, getRecipient, getReferenceId, getRemainingExtendedProperties, getStart, getSteward, getStewardPropertyName, getStewardTypeName, getStrictRequirement, getSummary, getSymbolicName, getUsage, handleBadEntity, handleBadRelationship, handleInvalidBeanClass, handleMissingMetadataInstance, handleUnexpectedBeanClass, removeAbbreviation, removeActionProperties, removeActionRequested, removeActionTargetName, removeAdditionalProperties, removeAliases, removeAllowsDuplicateValues, removeAnalysisParameters, removeAnalysisStep, removeAnnotationType, removeAssociationType, removeAuthor, removeAverageValue, removeCandidateClassifications, removeCandidateDataClassGUIDs, removeCandidateGlossaryCategoryGUIDs, removeCandidateGlossaryTermGUIDs, removeCapabilityType, removeCapabilityVersion, removeCategory, removeClearPassword, removeCollectionType, removeComment, removeCommentText, removeCompletionDate, removeCompletionGuards, removeCompletionMessage, removeConfidence, removeConfidenceLevel, removeConfigurationProperties, removeConnectorFrameworkName, removeConnectorInterfaceLanguage, removeConnectorInterfaces, removeConnectorProviderClassName, removeContactMethodService, removeContactMethodValue, removeContactType, removeCreatedTime, removeCriteria, removeDatabaseImportedFrom, removeDatabaseInstance, removeDatabaseVersion, removeDataFieldDescription, removeDataType, removeDefaultValue, removeDefaultValueOverride, removeDeployedImplementationType, removeDescription, removeDetails, removeDisplayName, removeDistinguishedName, removeDomainIdentifier, 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, removeImplementationLanguage, removeInferredDataType, removeInferredFormat, removeInferredLength, removeInferredPrecision, removeInferredScale, removeInformalTerm, removeInformalTopic, removeIntPriority, removeIsCaseSensitive, removeIsDefaultValue, removeIsDeprecated, removeIsNullable, removeIsPublic, removeJsonProperties, removeKarmaPoints, removeKeyPattern, removeKeyword, removeLanguage, removeLastModifiedTime, removeLastModifier, removeLastSynchronized, removeLength, removeMandatoryGuard, removeMandatoryGuards, removeMappingProperties, removeMaxCardinality, removeMeasurement, removeMinCardinality, removeMinimumLength, removeMission, removeName, removeNamespace, removeNativeClass, removeNetworkAddress, removeOrderedValues, removeOriginGovernanceEngine, removeOriginGovernanceService, removeOutcomes, removeOwner, removeOwningOrganization, removeParameterType, removePatchLevel, removePathName, removePlannedEndDate, removePosition, removePrecision, removePreferredValue, removePriority, removeProcessEndTime, removeProcessingEngineUserId, removeProcessName, removeProcessStartTime, removeProcessStepGUID, removeProcessStepName, removeProducedGuards, removeProfileCounts, removeProfileDates, removeProfileDoubles, removeProfileEndDate, removeProfileFlags, removeProfileProperties, removeProfilePropertyNames, removeProfileStartDate, removeProjectHealth, removeProjectPhase, removeProjectStatus, removeProtocol, removePublishVersionIdentifier, removeQualifiedName, removeQualityDimension, removeQualityScore, removeReceivedGuards, removeRecognizedAdditionalProperties, removeRecognizedConfigurationProperties, removeRecognizedSecuredProperties, removeReferenceId, removeReferenceVersion, removeRelatedEntityGUID, removeRelationshipProperties, removeRelationshipTypeName, removeRequestedStartDate, removeRequesterUserId, removeRequestParameters, removeRequestSourceName, removeRequestType, removeRequired, removeResourceCreateTime, removeResourceLastAccessedTime, removeResourceName, removeResourceProperties, removeResourceUpdateTime, removeResults, removeReview, removeReviewDate, removeSchemaName, removeSchemaType, removeScope, removeSecuredProperties, removeSignificantDigits, removeSize, removeSortOrder, removeSource, removeStartDate, removeSteward, removeStoreCreateTime, removeStoreUpdateTime, removeSubjectAreaName, removeSummary, removeSupportedAssetTypeName, removeSupportedDeployedImplementationType, removeSurveyActivity, removeTagDescription, removeTagName, removeTarget, removeTargetTechnologyInterfaces, removeTargetTechnologyName, removeTargetTechnologySource, removeTargetTechnologyVersions, removeText, removeTitle, removeTopicName, removeTopicType, removeURL, removeUsage, removeUserId, removeUsesBlockingCalls, removeValueCount, removeValueList, removeValueRangeFrom, removeValueRangeTo, removeVersionIdentifier, removeVersionNumber, removeWaitTime, removeZoneName, setUpSchemaAttribute, validateInstanceType
-
Constructor Details
-
RelatedElementConverter
public RelatedElementConverter(OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor- Parameters:
repositoryHelper
- helper object to parse entityserviceName
- name of this componentserverName
- this server
-
-
Method Details
-
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
-