Class OpenMetadataAPIGenericConverter<B>
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericConverter<B>
- Direct Known Subclasses:
DataManagerOMASConverter
,GovernanceProgramOMASConverter
,OMFConverter
,OpenMetadataAPIDummyBeanConverter
,SecurityManagerOMASConverter
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 Summary
Modifier and TypeFieldDescriptionprotected OMRSRepositoryHelper
protected String
protected String
-
Constructor Summary
ConstructorDescriptionOpenMetadataAPIGenericConverter
(OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor captures the initial content -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSchemaTypeToAttribute
(SchemaTypeElement schemaTypeElement, SchemaAttributeProperties attributeProperties) Set up the properties that can be extracted form the schema type.protected String
getAbbreviation
(InstanceProperties instanceProperties) Extract the abbreviation property from the supplied instance properties.getAdditionalValues
(InstanceProperties instanceProperties) Extract the additionalValues property from the supplied instance properties.getArguments
(InstanceProperties instanceProperties) Extract the "arguments" property from the supplied instance properties.protected String
getAssetSummary
(InstanceProperties instanceProperties) Extract the assetSummary property from the supplied instance properties.protected String
getAssociationDescription
(InstanceProperties instanceProperties) Extract the associationDescription property from the supplied instance properties.protected String
getAttributeName
(InstanceProperties instanceProperties) Extract the "attributeName" property from the supplied instance properties.protected String
getCertificationGUID
(InstanceProperties instanceProperties) Extract the certificationGUID property from the supplied instance properties.protected String
getCertifiedBy
(InstanceProperties instanceProperties) Extract the certifiedBy property from the supplied instance properties.protected InstanceProperties
getClassificationProperties
(String classificationName, List<Classification> entityClassifications) Extract the properties for the requested classification from the list of classifications.protected InstanceProperties
getClassificationProperties
(String classificationName, EntityDetail entity) Extract the properties for the requested classification from the entity.protected String
getConditions
(InstanceProperties instanceProperties) Extract the "conditions" property from the supplied instance properties.protected int
getConfidence
(InstanceProperties instanceProperties) Extract the confidence property from the supplied instance properties.protected String
getCustodian
(InstanceProperties instanceProperties) Extract the custodian property from the supplied instance properties.protected String
getDataStoreEncodingDescription
(InstanceProperties instanceProperties) Extract the encoding description property from the supplied instance properties.protected String
getDataStoreEncodingLanguage
(InstanceProperties instanceProperties) Extract the encoding language property from the supplied instance properties.protected String
getDataStoreEncodingType
(InstanceProperties instanceProperties) Extract the encoding property from the supplied instance properties.protected String
getDescription
(InstanceProperties instanceProperties) Extract the description property from the supplied instance properties.protected String
getDisplayName
(InstanceProperties instanceProperties) Extract the displayName property from the supplied instance properties.protected List<ElementClassification>
getElementClassifications
(List<Classification> entityClassifications) Extract the classifications from the entity.protected ElementOriginCategory
getElementOriginCategory
(InstanceProvenanceType instanceProvenanceType) Translate the repository services' InstanceProvenanceType to an ElementOrigin.protected ElementStatus
getElementStatus
(InstanceStatus instanceStatus) Translate the repository services' InstanceStatus to an ElementStatus.getElementStub
(Class<B> beanClass, EntityDetail entity, String methodName) Extract the properties from the entity.getElementStub
(Class<B> beanClass, EntityProxy entityProxy, String methodName) Extract the properties from the entity.getElementStub
(Class<B> beanClass, Relationship relationship, String methodName) Extract the properties from the relationship.getElementType
(InstanceAuditHeader instanceHeader) Convert information from a repository instance into an Open Connector Framework ElementType.protected ElementVersions
Extract 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 String
getEncryption
(InstanceProperties instanceProperties) Extract and delete the encryption property from the supplied instance properties.protected Date
getEnd
(InstanceProperties instanceProperties) Extract the end property from the supplied instance properties.protected String
getFormat
(InstanceProperties instanceProperties) Extract and delete the format property from the supplied instance properties.protected String
getFormula
(InstanceProperties instanceProperties) Extract the formula property from the supplied instance properties.protected String
getFormulaType
(InstanceProperties instanceProperties) Extract the formulaType property from the supplied instance properties.protected String
getGuard
(InstanceProperties instanceProperties) Extract the guard property from the supplied instance properties.protected String
getImplementationValue
(InstanceProperties instanceProperties) Extract the implementationValue property from the supplied instance properties.protected boolean
getIsPublic
(InstanceProperties instanceProperties) Extract the isPublic property from the supplied instance properties.protected String
getLabel
(InstanceProperties instanceProperties) Extract the label property from the supplied instance properties.protected String
getLicensedBy
(InstanceProperties instanceProperties) Extract the licensedBy property from the supplied instance properties.protected String
getLicensee
(InstanceProperties instanceProperties) Extract the licensee property from the supplied instance properties.protected ElementHeader
getMetadataElementHeader
(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<EntityDetail> supplementaryEntities, List<Relationship> relationships, 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.getNewRelationshipBean
(Class<B> beanClass, Relationship relationship, String methodName) Using the supplied relationship, return a new instance of the bean.<T> B
getNewSchemaAttributeBean
(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 String
getNotes
(InstanceProperties instanceProperties) Extract the "notes" property from the supplied instance properties.protected int
getPosition
(InstanceProperties instanceProperties) Extract the position property from the supplied instance properties.protected String
getQualifiedName
(InstanceProperties instanceProperties) Extract the qualifiedName property from the supplied instance properties.protected String
getQuery
(InstanceProperties instanceProperties) Extract the query property from the supplied instance properties.protected String
getQueryId
(InstanceProperties instanceProperties) Extract the queryId property from the supplied instance properties.protected String
getRecipient
(InstanceProperties instanceProperties) Extract the recipient property from the supplied instance properties.protected String
getReferenceId
(InstanceProperties instanceProperties) Extract the referenceId property from the supplied instance properties.getRelatedElement
(Class<B> beanClass, EntityDetail entity, Relationship relationship, String methodName) Using the supplied instances, return a new instance of a relatedElement bean.getRemainingExtendedProperties
(InstanceProperties instanceProperties) Convert the remaining properties into a map that is returned as the extended properties.protected Date
getStart
(InstanceProperties instanceProperties) Extract the start property from the supplied instance properties.protected String
getSteward
(InstanceProperties instanceProperties) Extract the steward property from the supplied instance properties.protected String
getStewardPropertyName
(InstanceProperties instanceProperties) Extract the stewardTypeName property from the supplied instance properties.protected String
getStewardTypeName
(InstanceProperties instanceProperties) Extract the stewardTypeName property from the supplied instance properties.protected boolean
getStrictRequirement
(InstanceProperties instanceProperties) Extract the strictRequirement property from the supplied instance properties.protected String
getSummary
(InstanceProperties instanceProperties) Extract the summary property from the supplied instance properties.protected String
getSymbolicName
(InstanceProperties instanceProperties) Extract the symbolicName property from the supplied instance properties.protected String
getUsage
(InstanceProperties instanceProperties) Extract and delete the usage property from the supplied instance properties.protected void
handleBadEntity
(String beanClassName, EntityDetail entity, String methodName) Throw an exception to indicate that a retrieved entity has missing information.protected void
handleBadRelationship
(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 void
handleInvalidBeanClass
(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 void
handleMissingMetadataInstance
(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 void
handleUnexpectedBeanClass
(String beanClassName, String expectedBeanClass, String methodName) Throw an exception to indicate that one of the update methods has not been implemented by an OMAS.protected String
removeAbbreviation
(InstanceProperties instanceProperties) Extract and remove the abbreviation property from the supplied instance properties.removeActionProperties
(InstanceProperties instanceProperties) Extract the actionProperties property from the supplied instance properties.protected String
removeActionRequested
(InstanceProperties instanceProperties) Extract and delete the actionRequested standing property from the supplied instance properties.protected String
removeActionTargetName
(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.removeAliases
(InstanceProperties instanceProperties) Extract and delete the "aliases" property from the supplied instance properties.protected boolean
removeAllowsDuplicateValues
(InstanceProperties instanceProperties) Retrieve the allowsDuplicateValues flag from the properties of the zone membership classification.removeAnalysisParameters
(InstanceProperties instanceProperties) Extract the analysis parameters property from the supplied instance properties.protected String
removeAnalysisStep
(InstanceProperties instanceProperties) Extract the analysis step property from the supplied instance properties.protected String
removeAnnotationType
(InstanceProperties instanceProperties) Extract the annotation type property from the supplied instance properties.protected String
removeAssociationType
(InstanceProperties instanceProperties) Extract and delete the associationType property from the supplied instance properties.protected String
removeAuthor
(InstanceProperties instanceProperties) Extract and delete the author property from the supplied instance properties.protected String
removeAverageValue
(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 String
removeCapabilityType
(InstanceProperties instanceProperties) Extract and delete the type property from the supplied instance properties.protected String
removeCapabilityVersion
(InstanceProperties instanceProperties) Extract and delete the capabilityVersion property from the supplied instance properties.protected String
removeCategory
(InstanceProperties instanceProperties) Extract and delete the category property from the supplied instance properties.protected String
removeClearPassword
(InstanceProperties instanceProperties) Extract and delete the clear password property from the supplied instance properties.protected String
removeCollectionType
(InstanceProperties instanceProperties) Extract and delete the collectionType property from the supplied instance properties.protected String
removeComment
(InstanceProperties instanceProperties) Extract the comment property from the supplied instance properties.protected String
removeCommentText
(InstanceProperties instanceProperties) Extract and delete the commentText property from the supplied instance properties.protected Date
removeCompletionDate
(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 String
removeCompletionMessage
(InstanceProperties instanceProperties) Extract and delete the completionMessage property from the supplied instance properties.protected int
removeConfidence
(InstanceProperties instanceProperties) Extract the confidence property from the supplied instance properties.protected int
removeConfidenceLevel
(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 String
removeConnectorFrameworkName
(InstanceProperties instanceProperties) Extract and delete the connector framework name property from the supplied instance properties.protected String
removeConnectorInterfaceLanguage
(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 String
removeConnectorProviderClassName
(InstanceProperties instanceProperties) Extract and delete the connector provider class name property from the supplied instance properties.protected String
removeContactMethodService
(InstanceProperties instanceProperties) Extract and delete the contactMethodService property from the supplied instance properties.protected String
removeContactMethodValue
(InstanceProperties instanceProperties) Extract and delete the contactMethodValue property from the supplied instance properties.protected String
removeContactType
(InstanceProperties instanceProperties) Extract and delete the contactType property from the supplied instance properties.protected Date
removeCreatedTime
(InstanceProperties instanceProperties) Extract and delete the createdTime property from the supplied instance properties.protected String
removeCriteria
(InstanceProperties instanceProperties) Extract and delete the criteria property from the supplied instance properties.protected String
removeDatabaseImportedFrom
(InstanceProperties instanceProperties) Extract and delete the database importedFrom property from the supplied instance properties.protected String
removeDatabaseInstance
(InstanceProperties instanceProperties) Extract and delete the database instance property from the supplied instance properties.protected String
removeDatabaseVersion
(InstanceProperties instanceProperties) Extract and delete the database version property from the supplied instance properties.protected String
removeDataFieldDescription
(InstanceProperties instanceProperties) Extract and delete the dataFieldDescription standing property from the supplied instance properties.protected String
removeDataType
(InstanceProperties instanceProperties) Extract and delete the data type property from the supplied instance properties.protected String
removeDefaultValue
(InstanceProperties instanceProperties) Extract and delete the defaultValue property from the supplied instance properties.protected String
removeDefaultValueOverride
(InstanceProperties instanceProperties) Extract and delete the defaultValueOverride property from the supplied instance properties.protected String
removeDeployedImplementationType
(InstanceProperties instanceProperties) Extract and delete the type property from the supplied instance properties.protected String
removeDescription
(InstanceProperties instanceProperties) Extract and delete the description property from the supplied instance properties.protected String
removeDetails
(InstanceProperties instanceProperties) Extract and delete the "details" property from the supplied instance properties.protected String
removeDisplayName
(InstanceProperties instanceProperties) Extract and delete the displayName property from the supplied instance properties.protected String
removeDistinguishedName
(InstanceProperties instanceProperties) Extract and delete the distinguishedName property from the supplied instance properties.protected int
removeDomainIdentifier
(InstanceProperties instanceProperties) Extract and delete the domain identifier property from the supplied instance properties.protected String
removeEncoding
(InstanceProperties instanceProperties) Extract and delete the encoding property from the supplied instance properties.protected String
removeEncodingStandard
(InstanceProperties instanceProperties) Extract and delete the encoding standing property from the supplied instance properties.protected String
removeEncryptedPassword
(InstanceProperties instanceProperties) Extract and delete the encrypted password property from the supplied instance properties.protected String
removeEncryptionMethod
(InstanceProperties instanceProperties) Extract and delete the encryption method property from the supplied instance properties.protected String
removeExamples
(InstanceProperties instanceProperties) Extract and remove the "examples" property from the supplied instance properties.protected Date
removeExecutionDate
(InstanceProperties instanceProperties) Extract the executionDate property from the supplied instance properties.protected String
removeExecutorEngineGUID
(InstanceProperties instanceProperties) Extract and delete the executorEngineGUID property from the supplied instance properties.protected String
removeExecutorEngineName
(InstanceProperties instanceProperties) Extract and delete the executorEngineName property from the supplied instance properties.protected String
removeExpectedDataFormat
(InstanceProperties instanceProperties) Extract and delete the expected data format property from the supplied instance properties.protected String
removeExplanation
(InstanceProperties instanceProperties) Extract the explanation property from the supplied instance properties.protected String
removeExpression
(InstanceProperties instanceProperties) Extract the expression property from the supplied instance properties.protected String
removeExternalInstanceCreatedBy
(InstanceProperties instanceProperties) Extract and delete the externalInstanceCreatedBy property from the supplied instance properties.protected Date
removeExternalInstanceCreationTime
(InstanceProperties instanceProperties) Extract and delete the externalInstanceCreationTime property from the supplied instance properties.protected String
removeExternalInstanceLastUpdatedBy
(InstanceProperties instanceProperties) Extract and delete the externalInstanceLastUpdatedBy property from the supplied instance properties.protected Date
removeExternalInstanceLastUpdateTime
(InstanceProperties instanceProperties) Extract and delete the externalInstanceLastUpdateTime property from the supplied instance properties.protected long
removeExternalInstanceVersion
(InstanceProperties instanceProperties) Extract and delete the externalInstanceVersion property from the supplied instance properties.protected String
removeFileExtension
(InstanceProperties instanceProperties) Extract and delete the fileExtension property from the supplied instance properties.protected String
removeFileName
(InstanceProperties instanceProperties) Extract and delete the fileName property from the supplied instance properties.protected String
removeFileType
(InstanceProperties instanceProperties) Extract and delete the fileType property from the supplied instance properties.protected String
removeFixedValue
(InstanceProperties instanceProperties) Extract and delete the defaultValue property from the supplied instance properties.protected String
removeFormula
(InstanceProperties instanceProperties) Extract and delete the formula property from the supplied instance properties.protected String
removeFormulaType
(InstanceProperties instanceProperties) Extract and delete the formulaType property from the supplied instance properties.protected String
removeGovernanceActionTypeGUID
(InstanceProperties instanceProperties) Extract and delete the governanceActionTypeGUID property from the supplied instance properties.protected String
removeGovernanceActionTypeName
(InstanceProperties instanceProperties) Extract and delete the governanceActionTypeName property from the supplied instance properties.protected String
removeGuard
(InstanceProperties instanceProperties) Extract and delete the guard property from the supplied instance properties.protected int
removeHeadCount
(InstanceProperties instanceProperties) Extract the headcount integer property from the supplied instance properties.protected String
removeId
(InstanceProperties instanceProperties) Extract and delete the id property from the supplied instance properties.protected String
removeIdentifier
(InstanceProperties instanceProperties) Extract and delete the identifier property from the supplied instance properties.protected boolean
removeIgnoreMultipleTriggers
(InstanceProperties instanceProperties) Extract and delete the ignoreMultipleTriggers property from the supplied instance properties.protected String
removeImplementationLanguage
(InstanceProperties instanceProperties) Extract and remove the implementationLanguage property from the supplied instance properties.protected String
removeInferredDataType
(InstanceProperties instanceProperties) Extract the inferredDataType property from the supplied instance properties.protected String
removeInferredFormat
(InstanceProperties instanceProperties) Extract the inferredFormat property from the supplied instance properties.protected int
removeInferredLength
(InstanceProperties instanceProperties) Extract the inferredLength property from the supplied instance properties.protected int
removeInferredPrecision
(InstanceProperties instanceProperties) Extract the inferredPrecision property from the supplied instance properties.protected int
removeInferredScale
(InstanceProperties instanceProperties) Extract the inferredScale property from the supplied instance properties.protected String
removeInformalTerm
(InstanceProperties instanceProperties) Extract and delete the informalTerm standing property from the supplied instance properties.protected String
removeInformalTopic
(InstanceProperties instanceProperties) Extract and delete the informalTopic standing property from the supplied instance properties.protected int
removeIntPriority
(InstanceProperties instanceProperties) Extract the priority integer property from the supplied instance properties.protected boolean
removeIsCaseSensitive
(InstanceProperties instanceProperties) Extract the isCaseSensitive property from the supplied instance properties.protected boolean
removeIsDefaultValue
(InstanceProperties instanceProperties) Retrieve the isDefaultValue flag from the properties from the supplied instance properties.protected boolean
removeIsDeprecated
(InstanceProperties instanceProperties) Retrieve the isDeprecated flag from the properties from the supplied instance properties.protected boolean
removeIsNullable
(InstanceProperties instanceProperties) Retrieve the isNullable flag from the properties from the supplied instance properties.protected boolean
removeIsPublic
(InstanceProperties instanceProperties) Extract the isPublic property from the supplied instance properties.protected String
removeJsonProperties
(InstanceProperties instanceProperties) Extract the jsonProperties property from the supplied instance properties.protected long
removeKarmaPoints
(InstanceProperties instanceProperties) Extract the karmaPoints property from the supplied instance properties.removeKeyPattern
(InstanceProperties instanceProperties) Extract and delete the KeyPattern property from the supplied instance properties.protected String
removeKeyword
(InstanceProperties instanceProperties) Extract and delete the keyword property from the supplied instance properties.protected String
removeLanguage
(InstanceProperties instanceProperties) Extract and delete the language property from the supplied instance properties.protected Date
removeLastModifiedTime
(InstanceProperties instanceProperties) Extract and delete the createdTime property from the supplied instance properties.protected String
removeLastModifier
(InstanceProperties instanceProperties) Extract and delete the lastModifier property from the supplied instance properties.protected Date
removeLastSynchronized
(InstanceProperties instanceProperties) Extract and delete the lastSynchronized property from the supplied instance properties.protected int
removeLength
(InstanceProperties instanceProperties) Extract and delete the length property from the supplied instance properties.protected boolean
removeMandatoryGuard
(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 int
removeMaxCardinality
(InstanceProperties instanceProperties) Extract and delete the maxCardinality property from the supplied instance properties.protected String
removeMeasurement
(InstanceProperties instanceProperties) Extract and delete the measurement property from the supplied instance properties.protected int
removeMinCardinality
(InstanceProperties instanceProperties) Extract and delete the minCardinality property from the supplied instance properties.protected int
removeMinimumLength
(InstanceProperties instanceProperties) Extract and delete the minimumLength property from the supplied instance properties.protected String
removeMission
(InstanceProperties instanceProperties) Extract and delete the mission property from the supplied instance properties.protected String
removeName
(InstanceProperties instanceProperties) Extract and delete the name property from the supplied instance properties.protected String
removeNamespace
(InstanceProperties instanceProperties) Extract and delete the namespace property from the supplied instance properties.protected String
removeNativeClass
(InstanceProperties instanceProperties) Extract and delete the native class property from the supplied instance properties.protected String
removeNetworkAddress
(InstanceProperties instanceProperties) Extract and delete the networkAddress property from the supplied instance properties.protected boolean
removeOrderedValues
(InstanceProperties instanceProperties) Retrieve the orderedValues flag from the properties of the zone membership classification.protected String
removeOriginGovernanceEngine
(InstanceProperties instanceProperties) Extract the originGovernanceEngine property from the supplied instance properties.protected String
removeOriginGovernanceService
(InstanceProperties instanceProperties) Extract the originGovernanceService property from the supplied instance properties.removeOutcomes
(InstanceProperties instanceProperties) Extract and delete the "outcomes" property from the supplied instance properties.protected String
removeOwner
(InstanceProperties instanceProperties) Extract and delete the owner property from the supplied instance properties.protected String
removeOwningOrganization
(InstanceProperties instanceProperties) Extract and delete the organization property from the supplied instance properties.protected String
removeParameterType
(InstanceProperties instanceProperties) Extract and delete the parameterType property from the supplied instance properties.protected String
removePatchLevel
(InstanceProperties instanceProperties) Extract and delete the patchLevel property from the supplied instance properties.protected String
removePathName
(InstanceProperties instanceProperties) Extract and delete the pathName property from the supplied instance properties.protected Date
removePlannedEndDate
(InstanceProperties instanceProperties) Extract and delete the plannedEndDate property from the supplied instance properties.protected int
removePosition
(InstanceProperties instanceProperties) Extract and delete the position property from the supplied instance properties.protected int
removePrecision
(InstanceProperties instanceProperties) Extract and delete the precision property from the supplied instance properties.protected String
removePreferredValue
(InstanceProperties instanceProperties) Extract and delete the preferredValue property from the supplied instance properties.protected String
removePriority
(InstanceProperties instanceProperties) Extract the priority(importance) property from the supplied instance properties.protected Date
removeProcessEndTime
(InstanceProperties instanceProperties) Extract and delete the processStartTime property from the supplied instance properties.protected String
removeProcessingEngineUserId
(InstanceProperties instanceProperties) Extract and delete the processingEngineUserId property from the supplied instance properties.protected String
removeProcessName
(InstanceProperties instanceProperties) Extract and delete the processName property from the supplied instance properties.protected Date
removeProcessStartTime
(InstanceProperties instanceProperties) Extract and delete the processStartTime property from the supplied instance properties.protected String
removeProcessStepGUID
(InstanceProperties instanceProperties) Extract and delete the processStepGUID property from the supplied instance properties.protected String
removeProcessStepName
(InstanceProperties instanceProperties) Extract and delete the processStepName property from the supplied instance properties.removeProducedGuards
(InstanceProperties instanceProperties) Extract and delete the producedGuards 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 Date
removeProfileEndDate
(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 Date
removeProfileStartDate
(InstanceProperties instanceProperties) Extract the profileStartDate property from the supplied instance properties.protected String
removeProjectHealth
(InstanceProperties instanceProperties) Extract and delete the project health property from the supplied instance properties.protected String
removeProjectPhase
(InstanceProperties instanceProperties) Extract and delete the project phase property from the supplied instance properties.protected String
removeProjectStatus
(InstanceProperties instanceProperties) Extract and delete the project status property from the supplied instance properties.protected String
removeProtocol
(InstanceProperties instanceProperties) Extract and delete the protocol property from the supplied instance properties.protected String
removePublishVersionIdentifier
(InstanceProperties instanceProperties) Extract and remove the publishVersionIdentifier property from the supplied instance properties.protected String
removeQualifiedName
(InstanceProperties instanceProperties) Extract and delete the qualifiedName property from the supplied instance properties.protected String
removeQualityDimension
(InstanceProperties instanceProperties) Extract and delete the qualityDimension standing property from the supplied instance properties.protected int
removeQualityScore
(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 String
removeReferenceId
(InstanceProperties instanceProperties) Extract and delete the referenceId property from the supplied instance properties.protected String
removeReferenceVersion
(InstanceProperties instanceProperties) Extract and delete the referenceVersion property from the supplied instance properties.protected String
removeRelatedEntityGUID
(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 String
removeRelationshipTypeName
(InstanceProperties instanceProperties) Extract and delete the relatedEntityGUID standing property from the supplied instance properties.protected Date
removeRequestedStartDate
(InstanceProperties instanceProperties) Extract and delete the requestedStartDate property from the supplied instance properties.protected String
removeRequesterUserId
(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 String
removeRequestSourceName
(InstanceProperties instanceProperties) Extract and delete the requestSourceName property from the supplied instance properties.protected String
removeRequestType
(InstanceProperties instanceProperties) Extract and delete the requestType property from the supplied instance properties.protected boolean
removeRequired
(InstanceProperties instanceProperties) Retrieve the required flag from the properties from the supplied instance properties.protected Date
removeResourceCreateTime
(InstanceProperties instanceProperties) Extract and delete the resourceCreateTime property from the supplied instance properties.protected Date
removeResourceLastAccessedTime
(InstanceProperties instanceProperties) Extract and delete the resourceLastAccessedTime property from the supplied instance properties.protected String
removeResourceName
(InstanceProperties instanceProperties) Extract and delete the name property from the supplied instance properties.removeResourceProperties
(InstanceProperties instanceProperties) Extract and delete the dataSourceProperties property from the supplied instance properties.protected Date
removeResourceUpdateTime
(InstanceProperties instanceProperties) Extract and delete the resourceUpdateTime property from the supplied instance properties.removeResults
(InstanceProperties instanceProperties) Extract and delete the "results" property from the supplied instance properties.protected String
removeReview
(InstanceProperties instanceProperties) Extract the review property from the supplied instance properties.protected Date
removeReviewDate
(InstanceProperties instanceProperties) Extract the reviewDate property from the supplied instance properties.protected String
removeSchemaName
(InstanceProperties instanceProperties) Extract the schemaName property from the supplied instance properties.protected String
removeSchemaType
(InstanceProperties instanceProperties) Extract the schemaType property from the supplied instance properties.protected String
removeScope
(InstanceProperties instanceProperties) Extract and delete the scope property from the supplied instance properties.removeSecuredProperties
(InstanceProperties instanceProperties) Extract and delete the securedProperties property from the supplied instance properties.protected int
removeSignificantDigits
(InstanceProperties instanceProperties) Extract and delete the significantDigits property from the supplied instance properties.protected int
removeSize
(InstanceProperties instanceProperties) Extract and delete the size property from the supplied instance properties.removeSortOrder
(InstanceProperties instanceProperties) Extract and delete the sortOrder property from the supplied instance properties.protected String
removeSource
(InstanceProperties instanceProperties) Extract and delete the type property from the supplied instance properties.protected Date
removeStartDate
(InstanceProperties instanceProperties) Extract and delete the startDate property from the supplied instance properties.protected String
removeSteward
(InstanceProperties instanceProperties) Extract the steward property from the supplied instance properties.protected Date
removeStoreCreateTime
(InstanceProperties instanceProperties) Extract and delete the sourceCreateTime property from the supplied instance properties.protected Date
removeStoreUpdateTime
(InstanceProperties instanceProperties) Extract and delete the storeUpdateTime property from the supplied instance properties.protected String
removeSubjectAreaName
(InstanceProperties instanceProperties) Retrieve the subjectAreaName from the properties.protected String
removeSummary
(InstanceProperties instanceProperties) Extract and remove the summary property from the supplied instance properties.protected String
removeSupportedAssetTypeName
(InstanceProperties instanceProperties) Extract and delete the supported asset type name property from the supplied instance properties.protected String
removeSupportedDeployedImplementationType
(InstanceProperties instanceProperties) Extract and delete the type property from the supplied instance properties.protected String
removeSurveyActivity
(InstanceProperties instanceProperties) Extract and delete the discoveryActivity standing property from the supplied instance properties.protected String
removeTagDescription
(InstanceProperties instanceProperties) Extract the tagDescription property from the supplied instance properties.protected String
removeTagName
(InstanceProperties instanceProperties) Extract the tagName property from the supplied instance properties.protected String
removeTarget
(InstanceProperties instanceProperties) Extract and delete the target property from the supplied instance properties.removeTargetTechnologyInterfaces
(InstanceProperties instanceProperties) Extract and delete the target technology interfaces property from the supplied instance properties.protected String
removeTargetTechnologyName
(InstanceProperties instanceProperties) Extract and delete the target technology name property from the supplied instance properties.protected String
removeTargetTechnologySource
(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 String
removeText
(InstanceProperties instanceProperties) Extract the text property from the supplied instance properties.protected String
removeTitle
(InstanceProperties instanceProperties) Extract the title property from the supplied instance properties.protected String
removeTopicName
(InstanceProperties instanceProperties) Extract and delete the topicName property from the supplied instance properties.protected String
removeTopicType
(InstanceProperties instanceProperties) Extract and delete the topicType property from the supplied instance properties.protected String
removeURL
(InstanceProperties instanceProperties) Extract and delete the URL property from the supplied instance properties.protected String
removeUsage
(InstanceProperties instanceProperties) Extract and delete the usage property from the supplied instance properties.protected String
removeUserId
(InstanceProperties instanceProperties) Extract and delete the userId property from the supplied instance properties.protected boolean
removeUsesBlockingCalls
(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 String
removeValueRangeFrom
(InstanceProperties instanceProperties) Extract and delete the valueRangeFrom property from the supplied instance properties.protected String
removeValueRangeTo
(InstanceProperties instanceProperties) Extract and delete the valueRangeTo property from the supplied instance properties.protected String
removeVersionIdentifier
(InstanceProperties instanceProperties) Extract and delete the version identifier property from the supplied instance properties.protected String
removeVersionNumber
(InstanceProperties instanceProperties) Extract and delete the version number property from the supplied instance properties.protected int
removeWaitTime
(InstanceProperties instanceProperties) Extract and delete the waitTime property from the supplied instance properties.protected String
removeZoneName
(InstanceProperties instanceProperties) Retrieve the zoneName from the properties.void
setUpSchemaAttribute
(EntityDetail schemaAttributeEntity, SchemaTypeElement schemaTypeElement, SchemaAttributeProperties properties) Set up the properties that can be extracted form the schema type.protected void
validateInstanceType
(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
-
-
Constructor Details
-
OpenMetadataAPIGenericConverter
public OpenMetadataAPIGenericConverter(OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Constructor captures the initial content- Parameters:
repositoryHelper
- helper object to parse entityserviceName
- name of this componentserverName
- name of this server
-
-
Method Details
-
getNewBean
public 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 createentity
- entity containing the propertiesmethodName
- calling method- Returns:
- bean populated with properties from the entity 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.- 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
-
getNewComplexBean
public 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 Annotation or DataField bean which combine knowledge from the entity and its linked relationships.- Parameters:
beanClass
- name of the class to createprimaryEntity
- entity that is the root of the collection of entities that make up the content of the beanrelationships
- relationships linking the entitiesmethodName
- calling method- Returns:
- bean populated with properties from the instances supplied
- Throws:
PropertyServerException
- there is a problem instantiating the bean
-
getNewComplexBean
public B getNewComplexBean(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 createprimaryEntity
- entity that is the root of the collection of entities that make up the content of the beansupplementaryEntities
- entities connected to the primary entity by the relationshipsrelationships
- relationships linking the entitiesmethodName
- calling method- Returns:
- bean populated with properties from the instances supplied
- Throws:
PropertyServerException
- there is a problem instantiating the bean
-
getNewRelationshipBean
public 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 createrelationship
- relationship linking the entitiesmethodName
- calling method- Returns:
- bean populated with properties from the instances supplied
- Throws:
PropertyServerException
- there is a problem instantiating the bean
-
getNewSchemaTypeBean
public 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 createschemaRootHeader
- header of the schema element that holds the root informationschemaTypeTypeName
- name of type of the schema type to createinstanceProperties
- properties describing the schema typeschemaRootClassifications
- classifications from the schema root entityattributeCount
- 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/assetsmapFromSchemaType
- bean containing the properties of the schema type that is part of a map definitionmapToSchemaType
- bean containing the properties of the schema type that is part of a map definitionschemaTypeOptions
- list of schema types that could be the type for this attributemethodName
- calling method- Returns:
- bean populated with properties from the instances supplied
- Throws:
PropertyServerException
- there is a problem instantiating the bean
-
getNewSchemaTypeBean
public 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 createschemaRootHeader
- header of the schema element that holds the root informationschemaTypeTypeName
- name of type of the schema type to createinstanceProperties
- properties describing the schema typeschemaRootClassifications
- classifications from the schema root entityattributeCount
- 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 typeexternalSchemaType
- unique identifier for the properties of the schema type that is shared by multiple attributes/assetsmapFromSchemaTypeGUID
- unique identifier of the mapFrom schema typemapFromSchemaType
- bean containing the properties of the schema type that is part of a map definitionmapToSchemaTypeGUID
- unique identifier of the mapTo schema typemapToSchemaType
- bean containing the properties of the schema type that is part of a map definitionschemaTypeOptionGUIDs
- list of unique identifiers for schema types that could be the type for this attributeschemaTypeOptions
- list of schema types that could be the type for this attributequeryTargets
- 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
-
getNewSchemaAttributeBean
public <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 createschemaAttributeEntity
- entity containing the properties for the main schema attributetypeClass
- name of type used to describe the schema typeschemaType
- bean containing the properties of the schema type - this is filled out by the schema type converterschemaAttributeRelationships
- relationships containing the links to other schema attributesmethodName
- calling method- Returns:
- bean populated with properties from the instances supplied
- Throws:
PropertyServerException
- there is a problem instantiating the bean
-
handleInvalidBeanClass
protected 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 beanerror
- exception generated when the new bean is createdmethodName
- 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
-
handleUnexpectedBeanClass
protected 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 beanexpectedBeanClass
- class name that the converter is able to processmethodName
- 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
-
handleMissingMetadataInstance
protected 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 beantypeDefCategory
- class name that the converter is able to processmethodName
- 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
-
validateInstanceType
protected 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 matchbeanClassName
- class name of beanactualTypeName
- type of instancemethodName
- 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
-
handleBadEntity
protected 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 beanentity
- the entity with the bad headermethodName
- calling method- Throws:
PropertyServerException
- an invalid instance has been returned from the metadata repositories
-
handleBadRelationship
protected 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 beanrelationship
- the relationship with the bad headermethodName
- calling method- Throws:
PropertyServerException
- an invalid instance has been returned from the metadata repositories
-
getClassificationProperties
protected InstanceProperties getClassificationProperties(String classificationName, EntityDetail entity) Extract the properties for the requested classification from the entity.- Parameters:
classificationName
- name of classificationentity
- entity containing classification- Returns:
- list of properties for the named classification
-
getClassificationProperties
protected InstanceProperties getClassificationProperties(String classificationName, List<Classification> entityClassifications) Extract the properties for the requested classification from the list of classifications.- Parameters:
classificationName
- name of classificationentityClassifications
- list of classifications from an entity- Returns:
- list of properties for the named classification
-
getMetadataElementHeader
protected ElementHeader getMetadataElementHeader(Class<B> beanClass, EntityDetail entity, String methodName) throws PropertyServerException Extract the properties from the entity.- Parameters:
beanClass
- name of the class to createentity
- entity containing the propertiesmethodName
- 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
-
getMetadataElementHeader
public 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 createheader
- header from the entity containing the propertiesentityClassifications
- classification if this is an entitymethodName
- 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
-
getElementStatus
Translate the repository services' InstanceStatus to an ElementStatus.- Parameters:
instanceStatus
- value from the repository services- Returns:
- ElementStatus enum
-
getElementStub
public ElementStub getElementStub(Class<B> beanClass, EntityProxy entityProxy, String methodName) throws PropertyServerException Extract the properties from the entity.- Parameters:
beanClass
- name of the class to createentityProxy
- entityProxy from the relationship containing the propertiesmethodName
- 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
-
getElementStub
public ElementStub getElementStub(Class<B> beanClass, EntityDetail entity, String methodName) throws PropertyServerException Extract the properties from the entity.- Parameters:
beanClass
- name of the class to createentity
- entity containing the propertiesmethodName
- 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
-
getElementStub
public ElementStub getElementStub(Class<B> beanClass, Relationship relationship, String methodName) throws PropertyServerException Extract the properties from the relationship.- Parameters:
beanClass
- name of the class to createrelationship
- relationship containing the propertiesmethodName
- 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
-
getElementClassifications
protected List<ElementClassification> getElementClassifications(List<Classification> entityClassifications) Extract the classifications from the entity.- Parameters:
entityClassifications
- classifications direct from the entity- Returns:
- list of bean classifications
-
getElementType
Convert information from a repository instance into an Open Connector Framework ElementType.- Parameters:
instanceHeader
- values from the server- Returns:
- OCF ElementType object
-
getElementVersions
Extract detail of the version of the element and the user's maintaining it.- Parameters:
header
- audit header from the repository- Returns:
- ElementVersions object
-
getElementOriginCategory
protected ElementOriginCategory getElementOriginCategory(InstanceProvenanceType instanceProvenanceType) Translate the repository services' InstanceProvenanceType to an ElementOrigin.- Parameters:
instanceProvenanceType
- value from the repository services- Returns:
- ElementOrigin enum
-
removeSortOrder
Extract and delete the sortOrder property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- DataItemSortOrder enum
-
removeKeyPattern
Extract and delete the KeyPattern property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- KeyPattern enum
-
setUpSchemaAttribute
public void setUpSchemaAttribute(EntityDetail schemaAttributeEntity, SchemaTypeElement schemaTypeElement, SchemaAttributeProperties properties) Set up the properties that can be extracted form the schema type.- Parameters:
schemaAttributeEntity
- entity to unpackschemaTypeElement
- schema type propertiesproperties
- output column properties
-
addSchemaTypeToAttribute
public void addSchemaTypeToAttribute(SchemaTypeElement schemaTypeElement, SchemaAttributeProperties attributeProperties) Set up the properties that can be extracted form the schema type. There are two strategies to try. The Schema Type Converter in the OCF creates a bean of a specific type to reflect the type of schema. The Schema Type Converter in the generic handler always creates a bean of type SchemaTypeProperties with the subtype's properties in extendedProperties.- Parameters:
schemaTypeElement
- schema type propertiesattributeProperties
- output column properties
-
getRelatedElement
public RelatedElement getRelatedElement(Class<B> beanClass, EntityDetail entity, Relationship relationship, String methodName) throws PropertyServerException Using the supplied instances, return a new instance of a relatedElement 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 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
-
getQualifiedName
Extract the qualifiedName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeQualifiedName
Extract and delete the qualifiedName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeAdditionalProperties
Extract and delete the qualifiedName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- map or null
-
getRemainingExtendedProperties
Convert the remaining properties into a map that is returned as the extended properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- map or null
-
removeDisplayName
Extract and delete the displayName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
getDisplayName
Extract the displayName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeName
Extract and delete the name property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeResourceName
Extract and delete the name property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeVersionIdentifier
Extract and delete the version identifier property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
getDescription
Extract the description property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeDescription
Extract and delete the description property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeCollectionType
Extract and delete the collectionType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeKeyword
Extract and delete the keyword property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeTopicType
Extract and delete the topicType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeTopicName
Extract and delete the topicName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeContactType
Extract and delete the contactType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeContactMethodService
Extract and delete the contactMethodService property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeContactMethodValue
Extract and delete the contactMethodValue property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeMission
Extract and delete the mission property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeAssociationType
Extract and delete the associationType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeIdentifier
Extract and delete the identifier property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeExternalInstanceCreatedBy
Extract and delete the externalInstanceCreatedBy property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeExternalInstanceCreationTime
Extract and delete the externalInstanceCreationTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeExternalInstanceLastUpdatedBy
Extract and delete the externalInstanceLastUpdatedBy property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeExternalInstanceLastUpdateTime
Extract and delete the externalInstanceLastUpdateTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeExternalInstanceVersion
Extract and delete the externalInstanceVersion property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeURL
Extract and delete the URL property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeOwningOrganization
Extract and delete the organization property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeReferenceVersion
Extract and delete the referenceVersion property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeReferenceId
Extract and delete the referenceId property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getReferenceId
Extract the referenceId property from the supplied instance properties.- Parameters:
instanceProperties
- properties from relationship- Returns:
- string text or null
-
removeMappingProperties
Extract and delete the mappingProperties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- map or null
-
removeLastSynchronized
Extract and delete the lastSynchronized property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- map or null
-
removeNetworkAddress
Extract and delete the networkAddress property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeProtocol
Extract and delete the protocol property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeEncryptionMethod
Extract and delete the encryption method property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeConnectorProviderClassName
Extract and delete the connector provider class name property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeSupportedAssetTypeName
Extract and delete the supported asset type name property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeExpectedDataFormat
Extract and delete the expected data format property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeConnectorFrameworkName
Extract and delete the connector framework name property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeConnectorInterfaceLanguage
Extract and delete the connector interface language property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeConnectorInterfaces
Extract and delete the connector interfaces property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string list or null
-
removeTargetTechnologySource
Extract and delete the target technology source property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeTargetTechnologyName
Extract and delete the target technology name property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeTargetTechnologyInterfaces
Extract and delete the target technology interfaces property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string list or null
-
removeTargetTechnologyVersions
Extract and delete the target technology versions property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string list or null
-
removeRecognizedAdditionalProperties
Extract and delete the recognizedAdditionalProperties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string list or null
-
removeRecognizedSecuredProperties
Extract and delete the recognizedSecuredProperties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string list or null
-
removeRecognizedConfigurationProperties
protected 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
-
removeSecuredProperties
Extract and delete the securedProperties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string list or null
-
removeConfigurationProperties
Extract and delete the configuration properties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string list or null
-
removeUserId
Extract and delete the userId property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeClearPassword
Extract and delete the clear password property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeEncryptedPassword
Extract and delete the encrypted password property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getAssetSummary
Extract the assetSummary property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getArguments
Extract the "arguments" property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeZoneName
Retrieve the zoneName from the properties.- Parameters:
instanceProperties
- properties from the entity- Returns:
- zone name
-
removeSubjectAreaName
Retrieve the subjectAreaName from the properties.- Parameters:
instanceProperties
- properties from the entity- Returns:
- subject area name
-
removeOwner
Extract and delete the owner property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeDistinguishedName
Extract and delete the distinguishedName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from classification- Returns:
- string
-
removeKarmaPoints
Extract the karmaPoints property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- ordinal or 0 for not specified
-
removeResourceCreateTime
Extract and delete the resourceCreateTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- date or null
-
removeResourceUpdateTime
Extract and delete the resourceUpdateTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- date or null
-
removeResourceLastAccessedTime
Extract and delete the resourceLastAccessedTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- date or null
-
removePathName
Extract and delete the pathName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string or null
-
removeStoreCreateTime
Extract and delete the sourceCreateTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- date or null
-
removeStoreUpdateTime
Extract and delete the storeUpdateTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- date or null
-
getDataStoreEncodingType
Extract the encoding property from the supplied instance properties.- Parameters:
instanceProperties
- properties from classification- Returns:
- string text or null
-
getDataStoreEncodingLanguage
Extract the encoding language property from the supplied instance properties.- Parameters:
instanceProperties
- properties from classification- Returns:
- string text or null
-
getDataStoreEncodingDescription
Extract the encoding description property from the supplied instance properties.- Parameters:
instanceProperties
- properties from classification- Returns:
- string text or null
-
getEncodingProperties
Extract the encoding properties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from classification- Returns:
- string map or null
-
removeDatabaseVersion
Extract and delete the database version property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeDatabaseInstance
Extract and delete the database instance property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeDatabaseImportedFrom
Extract and delete the database importedFrom property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeFileName
Extract and delete the fileName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeFileType
Extract and delete the fileType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeFileExtension
Extract and delete the fileExtension property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
getFormat
Extract and delete the format property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getEncryption
Extract and delete the encryption property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeDeployedImplementationType
Extract and delete the type property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeSupportedDeployedImplementationType
Extract and delete the type property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeCapabilityType
Extract and delete the type property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeCapabilityVersion
Extract and delete the capabilityVersion property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removePatchLevel
Extract and delete the patchLevel property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeIsDeprecated
Retrieve the isDeprecated flag from the properties from the supplied instance properties.- Parameters:
instanceProperties
- properties from the classification- Returns:
- boolean - default is false
-
removeIsDefaultValue
Retrieve the isDefaultValue flag from the properties from the supplied instance properties.- Parameters:
instanceProperties
- properties from the classification- Returns:
- boolean - default is false
-
removeDataType
Extract and delete the data type property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeDefaultValue
Extract and delete the defaultValue property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeFixedValue
Extract and delete the defaultValue property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getQuery
Extract the query property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getQueryId
Extract the queryId property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeVersionNumber
Extract and delete the version number property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeId
Extract and delete the id property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeCreatedTime
Extract and delete the createdTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeLastModifiedTime
Extract and delete the createdTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeLastModifier
Extract and delete the lastModifier property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeAuthor
Extract and delete the author property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeEncodingStandard
Extract and delete the encoding standing property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeNamespace
Extract and delete the namespace property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removePosition
Extract and delete the position property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer - default 0
-
getPosition
Extract the position property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer - default 0
-
removeMinCardinality
Extract and delete the minCardinality property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer - default 0
-
removeMaxCardinality
Extract and delete the maxCardinality property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer - default -1 which is unlimited
-
removeAllowsDuplicateValues
Retrieve the allowsDuplicateValues flag from the properties of the zone membership classification.- Parameters:
instanceProperties
- properties from the classification- Returns:
- boolean - default is true
-
removeOrderedValues
Retrieve the orderedValues flag from the properties of the zone membership classification.- Parameters:
instanceProperties
- properties from the classification- Returns:
- boolean - default is false
-
removeDefaultValueOverride
Extract and delete the defaultValueOverride property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeMinimumLength
Extract and delete the minimumLength property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer - default 0
-
removeLength
Extract and delete the length property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer - default 0
-
removeSignificantDigits
Extract and delete the significantDigits property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer - default 0
-
removePrecision
Extract and delete the precision property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer - default 0
-
removeIsNullable
Retrieve the isNullable flag from the properties from the supplied instance properties.- Parameters:
instanceProperties
- properties from the classification- Returns:
- boolean - default is false
-
removeRequired
Retrieve the required flag from the properties from the supplied instance properties.- Parameters:
instanceProperties
- properties from the classification- Returns:
- boolean - default is false
-
removeNativeClass
Extract and delete the native class property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string name or null
-
removeAliases
Extract and delete the "aliases" property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getGuard
Extract the guard property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getLabel
Extract the label property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getFormula
Extract the formula property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getFormulaType
Extract the formulaType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeFormula
Extract and delete the formula property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeFormulaType
Extract and delete the formulaType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeImplementationLanguage
Extract and remove the implementationLanguage property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeProcessStartTime
Extract and delete the processStartTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeProcessEndTime
Extract and delete the processStartTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeUsesBlockingCalls
Extract and remove the usesBlockingCalls property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeSource
Extract and delete the type property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getUsage
Extract and delete the usage property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeUsage
Extract and delete the usage property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeLanguage
Extract and delete the language property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getSummary
Extract the summary property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removeSummary
Extract and remove the summary property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removePublishVersionIdentifier
Extract and remove the publishVersionIdentifier property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
getAbbreviation
Extract the abbreviation property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removeAbbreviation
Extract and remove the abbreviation property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removeExamples
Extract and remove the "examples" property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removeTitle
Extract the title property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removeText
Extract the text property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removePriority
Extract the priority(importance) property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removeIntPriority
Extract the priority integer property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removeHeadCount
Extract the headcount integer property from the supplied instance properties.- Parameters:
instanceProperties
- properties from governance entities- Returns:
- string property or null
-
removeScope
Extract and delete the scope property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeCategory
Extract and delete the category property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeOutcomes
Extract and delete the "outcomes" property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string list or null
-
removeResults
Extract and delete the "results" property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string list or null
-
removeDetails
Extract and delete the "details" property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeCriteria
Extract and delete the criteria property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeDomainIdentifier
Extract and delete the domain identifier property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer = default is 0 which is ALL
-
removeMeasurement
Extract and delete the measurement property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeTarget
Extract and delete the target property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeProcessingEngineUserId
Extract and delete the processingEngineUserId property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeRequesterUserId
Extract and delete the requesterUserId property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeRequestType
Extract and delete the requestType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeRequestParameters
Extract and delete the requestParameters property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeExecutorEngineGUID
Extract and delete the executorEngineGUID property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeExecutorEngineName
Extract and delete the executorEngineName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeProcessName
Extract and delete the processName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeProcessStepGUID
Extract and delete the processStepGUID property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeProcessStepName
Extract and delete the processStepName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeGovernanceActionTypeGUID
Extract and delete the governanceActionTypeGUID property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeGovernanceActionTypeName
Extract and delete the governanceActionTypeName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeProducedGuards
Extract and delete the producedGuards property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- map of guards
-
removeGuard
Extract and delete the guard property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeMandatoryGuards
Extract and delete the mandatoryGuards property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- list of guards
-
removeMandatoryGuard
Extract and delete the mandatoryGuard property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- flag
-
removeIgnoreMultipleTriggers
Extract and delete the ignoreMultipleTriggers property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- flag
-
removeWaitTime
Extract and delete the waitTime property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- integer
-
removeReceivedGuards
Extract and delete the receivedGuards property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- list of guards
-
removeCompletionGuards
Extract and delete the completionGuards property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- list of guards
-
removeCompletionMessage
Extract and delete the completionMessage property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string
-
removeStartDate
Extract and delete the startDate property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- date
-
removeRequestedStartDate
Extract and delete the requestedStartDate property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- date
-
removePlannedEndDate
Extract and delete the plannedEndDate property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- date
-
removeCompletionDate
Extract and delete the completionDate property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- date
-
removeProjectStatus
Extract and delete the project status property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- String text or null
-
removeProjectPhase
Extract and delete the project phase property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- String text or null
-
removeProjectHealth
Extract and delete the project health property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- String text or null
-
removeRequestSourceName
Extract and delete the requestSourceName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- String text or null
-
removeActionTargetName
Extract and delete the actionTargetName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- String text or null
-
removeOriginGovernanceService
Extract the originGovernanceService property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- String text or null
-
removeOriginGovernanceEngine
Extract the originGovernanceEngine property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- String text or null
-
getCertificationGUID
Extract the certificationGUID property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- String text or null
-
getStart
Extract the start property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- Date/timestamp or null
-
getEnd
Extract the end property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- Date/timestamp or null
-
getConditions
Extract the "conditions" property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getCustodian
Extract the custodian property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getCertifiedBy
Extract the certifiedBy property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getRecipient
Extract the recipient property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getLicensedBy
Extract the licensedBy property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getLicensee
Extract the licensee property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removePreferredValue
Extract and delete the preferredValue property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeIsCaseSensitive
Extract the isCaseSensitive property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ValidValueDefinition relationship- Returns:
- boolean
-
getStrictRequirement
Extract the strictRequirement property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ValidValuesAssignment relationship- Returns:
- boolean
-
getConfidence
Extract the confidence property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ReferenceValueAssignment or ValidValuesMapping relationship- Returns:
- int
-
getSteward
Extract the steward property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ReferenceValueAssignment or ValidValuesMapping relationship- Returns:
- string text or null
-
getStewardTypeName
Extract the stewardTypeName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ReferenceValueAssignment or ValidValuesMapping relationship- Returns:
- string text or null
-
getStewardPropertyName
Extract the stewardTypeName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ReferenceValueAssignment or ValidValuesMapping relationship- Returns:
- string text or null
-
getNotes
Extract the "notes" property from the supplied instance properties.- Parameters:
instanceProperties
- properties from GovernanceRuleImplementation, GovernanceProcessImplementation, ReferenceValueAssignment or ValidValuesMapping relationship- Returns:
- string text or null
-
getAttributeName
Extract the "attributeName" property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ReferenceValueAssignment relationship- Returns:
- string text or null
-
getAssociationDescription
Extract the associationDescription property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ValidValuesMapping relationship- Returns:
- string text or null
-
getSymbolicName
Extract the symbolicName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ValidValuesImplementation relationship- Returns:
- string text or null
-
getImplementationValue
Extract the implementationValue property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ValidValuesImplementation relationship- Returns:
- string text or null
-
getAdditionalValues
Extract the additionalValues property from the supplied instance properties.- Parameters:
instanceProperties
- properties from ValidValuesImplementation relationship- Returns:
- map of name-value pairs
-
removeCommentText
Extract and delete the commentText property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
getIsPublic
Extract the isPublic property from the supplied instance properties.- Parameters:
instanceProperties
- properties from feedback relationships- Returns:
- boolean
-
removeIsPublic
Extract the isPublic property from the supplied instance properties.- Parameters:
instanceProperties
- properties from feedback relationships- Returns:
- boolean
-
removeReview
Extract the review property from the supplied instance properties.- Parameters:
instanceProperties
- properties from review/rating entities- Returns:
- string property or null
-
removeTagName
Extract the tagName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from informal tag entities- Returns:
- string property or null
-
removeTagDescription
Extract the tagDescription property from the supplied instance properties.- Parameters:
instanceProperties
- properties from informal tag entities- Returns:
- string property or null
-
removeExecutionDate
Extract the executionDate property from the supplied instance properties.- Parameters:
instanceProperties
- properties from discovery analysis report entities- Returns:
- string property or null
-
removeAnalysisParameters
Extract the analysis parameters property from the supplied instance properties.- Parameters:
instanceProperties
- properties from discovery analysis report entities- Returns:
- string property or null
-
removeAnalysisStep
Extract the analysis step property from the supplied instance properties.- Parameters:
instanceProperties
- properties from discovery analysis report entities- Returns:
- string property or null
-
removeAnnotationType
Extract the annotation type property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeConfidenceLevel
Extract the confidence level property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- integer or 0
-
removeConfidence
Extract the confidence property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- integer or 0
-
removeExpression
Extract the expression property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeExplanation
Extract the explanation property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeJsonProperties
Extract the jsonProperties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeReviewDate
Extract the reviewDate property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation review entities- Returns:
- date or null
-
removeSteward
Extract the steward property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation review entities- Returns:
- string property or null
-
removeComment
Extract the comment property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation review entities- Returns:
- string property or null
-
removeSchemaName
Extract the schemaName property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeSchemaType
Extract the schemaType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeCandidateClassifications
Extract the candidateClassifications property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name value pairs
-
removeCandidateDataClassGUIDs
Extract the candidateDataClassGUIDs property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- list of string guids
-
removeInferredDataType
Extract the inferredDataType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeInferredFormat
Extract the inferredFormat property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeInferredLength
Extract the inferredLength property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- int property or 0
-
removeInferredPrecision
Extract the inferredPrecision property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- int property or 0
-
removeInferredScale
Extract the inferredScale property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- int property or 0
-
removeProfileStartDate
Extract the profileStartDate property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- date
-
removeProfileEndDate
Extract the profileEndDate property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- date
-
removeProfileProperties
Extract the profileProperties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name value pairs
-
removeProfilePropertyNames
Extract the profilePropertyNames property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- list of names
-
removeProfileFlags
Extract the profileFlags property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name to boolean pairs
-
removeProfileDates
Extract the profileDates property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name to boolean pairs
-
removeProfileCounts
Extract the profileCounts property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name to long pairs
-
removeProfileDoubles
Extract the profileCounts property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name to long pairs
-
removeValueList
Extract the valueList property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- list of values
-
removeValueCount
Extract the valueCount property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name to integer pairs
-
removeValueRangeFrom
Extract and delete the valueRangeFrom property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeValueRangeTo
Extract and delete the valueRangeTo property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeAverageValue
Extract and delete the averageValue property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- string property or null
-
removeResourceProperties
Extract and delete the dataSourceProperties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name value pairs
-
removeSize
Extract and delete the size property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- int property or 0
-
removeEncoding
Extract and delete the encoding property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeParameterType
Extract and delete the parameterType property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeQualityDimension
Extract and delete the qualityDimension standing property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeQualityScore
Extract and delete the qualityScore property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- int property or 0
-
removeRelatedEntityGUID
Extract and delete the relatedEntityGUID standing property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeRelationshipTypeName
Extract and delete the relatedEntityGUID standing property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeRelationshipProperties
Extract the relationshipProperties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name-value pairs
-
removeSurveyActivity
Extract and delete the discoveryActivity standing property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeActionRequested
Extract and delete the actionRequested standing property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeActionProperties
Extract the actionProperties property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- map of name-value pairs
-
removeInformalTerm
Extract and delete the informalTerm standing property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeCandidateGlossaryTermGUIDs
Extract the candidateGlossaryTermGUIDs property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- list of guids
-
removeInformalTopic
Extract and delete the informalTopic standing property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-
removeCandidateGlossaryCategoryGUIDs
Extract the candidateGlossaryCategoryGUIDs property from the supplied instance properties.- Parameters:
instanceProperties
- properties from annotation entities- Returns:
- list of guids
-
removeDataFieldDescription
Extract and delete the dataFieldDescription standing property from the supplied instance properties.- Parameters:
instanceProperties
- properties from entity- Returns:
- string text or null
-