Class ProjectHierarchyConverter<B>
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.converters.OpenMetadataConverterBase<B>
org.odpi.openmetadata.frameworks.governanceaction.converters.ProjectConverter<B>
org.odpi.openmetadata.frameworks.governanceaction.converters.ProjectHierarchyConverter<B>
ProjectConverter generates a ProjectHierarchy from a Project entity and related elements
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.converters.OpenMetadataConverterBase
propertyHelper, serverName, serviceName
-
Constructor Summary
ConstructorsConstructorDescriptionProjectHierarchyConverter
(PropertyHelper propertyHelper, String serviceName, String serverName, List<ProjectHierarchy> children) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected List<RelatedMetadataElementSummary>
getDependentProjects
(Class<B> beanClass, List<RelatedMetadataElement> projectElements) Summarize the projects that are dependent on this project.protected List<RelatedMetadataElementSummary>
getDependsOnProjects
(Class<B> beanClass, List<RelatedMetadataElement> projectElements) Summarize the projects that are dependent on this project.getNewComplexBean
(Class<B> beanClass, OpenMetadataElement primaryElement, List<RelatedMetadataElement> relationships, String methodName) Using the supplied instances, return a new instance of the bean.getNewComplexBean
(Class<B> beanClass, RelatedMetadataElement primaryElement, List<RelatedMetadataElement> relationships, String methodName) Using the supplied instances, return a new instance of the bean.Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.converters.ProjectConverter
getProjectManagers, getProjectProperties, getProjectTeam, getResourceList
Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.converters.OpenMetadataConverterBase
getAbbreviation, getAdditionalValues, getAnchorGUID, getArguments, getAssetSummary, getAssociationDescription, getAttributeName, getCertificationGUID, getCertifiedBy, getClassificationProperties, getClassificationProperties, getConditions, getConfidence, getCustodian, getDataStoreEncoding, getDataStoreEncodingDescription, getDataStoreEncodingLanguage, getDescription, getDisplayName, getElementClassifications, getElementStub, getElementStub, getElementSummary, getEncodingProperties, getEncryption, getEnd, getFormat, getFormula, getFormulaType, getGroups, getGuard, getImplementationLanguage, getImplementationValue, getIsPublic, getLicensedBy, getLicensee, getLicenseGUID, getMetadataElementHeader, getMetadataElementHeader, getNewBean, getNewBean, getNewBean, getNewComplexBean, getNewComplexBean, getNewComplexBean, getNewRelatedMetadataElementsBean, getNewSchemaAttributeBean, getNotes, getOriginBusinessCapabilityGUID, getOriginOrganizationGUID, getOtherOriginValues, getOwner, getPointType, getPosition, getQualifiedName, getQuery, getQueryId, getRationale, getRecipient, getReferenceId, getRelatedElement, getRelatedElement, getRelatedElementSummary, getRelationshipElements, getRemainingExtendedProperties, getSecurityLabels, getSecurityProperties, getStart, getSteward, getStewardPropertyName, getStewardTypeName, getStrictRequirement, getSummary, getSymbolicName, getUsage, getZoneMembership, handleBadEntity, handleBadRelatedMetadataElements, handleInvalidBeanClass, handleMissingMetadataInstance, handleUnexpectedBeanClass, handleUnimplementedConverterMethod, removeAbbreviation, removeActionProperties, removeActionRequested, removeActionSourceName, removeActionTargetName, removeAdditionalProperties, removeAliases, removeAllowsDuplicateValues, removeAnalysisParameters, removeAnalysisStep, removeAnchorGUID, removeAnnotationType, removeAssetGUID, removeAssociationType, removeAttachmentGUID, removeAttributeName, removeAuthor, removeAverageValue, removeBusinessImperatives, removeCandidateClassifications, removeCandidateDataClassGUIDs, removeCandidateGlossaryCategoryGUIDs, removeCandidateGlossaryTermGUIDs, removeCapabilityType, removeCapabilityVersion, removeCategory, removeClassificationName, removeClassificationPropertyName, removeClearPassword, removeCollectionType, removeComment, removeCommentText, removeCompletionDate, removeCompletionGuards, removeCompletionMessage, removeCompletionTime, removeConfidence, removeConfidenceLevel, removeConfigurationProperties, removeConnectorFrameworkName, removeConnectorInterfaceLanguage, removeConnectorInterfaces, removeConnectorProviderClassName, removeContactMethodService, removeContactMethodValue, removeContactType, removeCoordinates, removeCreatedTime, removeCreationTime, removeCriteria, removeDatabaseImportedFrom, removeDatabaseInstance, removeDataFieldAliases, removeDataFieldDescription, removeDataFieldName, removeDataFieldType, removeDataType, removeDefaultValue, removeDefaultValueOverride, removeDeployedImplementationType, removeDescription, removeDesignStep, removeDetails, removeDisplayName, removeDistinguishedName, removeDomainIdentifier, removeDueTime, removeEmployeeNumber, removeEmployeeType, removeEncoding, removeEncodingStandard, removeEncryptedPassword, removeEncryptionMethod, removeEngineActionGUID, removeEstimatedVolumetrics, removeExamples, removeExecutorEngineGUID, removeExecutorEngineName, removeExpectedDataFormat, removeExplanation, removeExpression, removeExternalInstanceCreatedBy, removeExternalInstanceCreationTime, removeExternalInstanceLastUpdatedBy, removeExternalInstanceLastUpdateTime, removeExternalInstanceVersion, removeFileType, removeFixedValue, removeFormula, removeFormulaType, removeFullName, removeGivenNames, removeGuard, removeHeadCount, removeId, removeIdentifier, removeIgnoreMultipleTriggers, removeImplementationDescription, removeImplementationLanguage, removeImplications, removeImportance, removeInferredDataType, removeInferredFormat, removeInferredLength, removeInferredPrecision, removeInferredScale, removeInformalTerm, removeInformalTopic, removeInformationSupplyChainSegmentGUIDs, removeInitials, removeIntegrationStyle, removeIntPriority, removeIsCaseSensitive, removeIsDefaultValue, removeIsDeprecated, removeIsNullable, removeIsPublic, removeJobTitle, removeJsonProperties, removeJurisdiction, removeKarmaPoints, removeKeyword, removeLabel, removeLanguage, removeLastModifiedTime, removeLastModifier, removeLastReviewTime, removeLastSynchronized, removeLength, removeLevel, removeLevelIdentifier, removeMandatoryGuard, removeMappingProperties, removeMapProjection, removeMaxCardinality, removeMaximumInstances, removeMeasurement, removeMembershipRationale, removeMinCardinality, removeMinimumInstances, removeMinimumLength, removeMission, removeName, removeNamespace, removeNativeClass, removeNetworkAddress, removeNotes, removeOperatingSystem, removeOperatingSystemPatchLevel, removeOrderedValues, removeOrderPropertyName, removeOrganization, removeOriginGovernanceEngine, removeOriginGovernanceService, removeOutcomes, removeOwner, removeOwnerPropertyName, removeOwnerTypeName, removeOwningOrganization, removeParameterType, removePatchLevel, removePathName, removePlannedDeployedImplementationType, removePlannedEndDate, removePosition, removePostalAddress, removePrecision, removePreferredLanguage, removePreferredValue, removeProcessingEngineUserId, removeProcessName, removeProfileCounts, removeProfileDates, removeProfileDoubles, removeProfileEndDate, removeProfileFlags, removeProfileProperties, removeProfilePropertyNames, removeProfileStartDate, removeProjectHealth, removeProjectPhase, removeProjectStatus, removePronouns, removeProtocol, removePublishVersionIdentifier, removePurpose, removePurposes, removeQualifiedName, removeQualityDimension, removeQualityScore, removeReceivedGuards, removeRecognizedAdditionalProperties, removeRecognizedConfigurationProperties, removeRecognizedSecuredProperties, removeReferenceId, removeReferenceVersion, removeRelatedEntityGUID, removeRelationshipProperties, removeRelationshipTypeName, removeRequesterUserId, removeRequestParameters, removeRequestSourceName, removeRequestType, removeRequired, removeResourceCreateTime, removeResourceLastAccessedTime, removeResourceProperties, removeResourceUpdateTime, removeResults, removeReview, removeReviewDate, removeRole, removeRoleTypeName, removeSchemaName, removeSchemaType, removeScope, removeSecuredProperties, removeServiceRequestType, removeSize, removeSolutionComponentType, removeSolutionPortDirection, removeSource, removeStartDate, removeSteward, removeStewardPropertyName, removeStewardTypeName, removeStoreCreateTime, removeStoreUpdateTime, removeSubjectAreaName, removeSummary, removeSupportedAssetTypeName, removeSurname, removeTagDescription, removeTagName, removeTarget, removeTargetTechnologyInterfaces, removeTargetTechnologyName, removeTargetTechnologySource, removeTargetTechnologyVersions, removeTeamRole, removeText, removeTimeZone, removeTitle, removeToDoStatus, removeToDoType, removeTopicName, removeTopicType, removeTransformation, removeURL, removeUsage, removeUser, removeUserId, removeUsesBlockingCalls, removeValueCount, removeValueList, removeValueRangeFrom, removeValueRangeTo, removeVersionIdentifier, removeVersionNumber, removeWaitTime, removeZoneMembership, removeZoneName
-
Constructor Details
-
ProjectHierarchyConverter
public ProjectHierarchyConverter(PropertyHelper propertyHelper, String serviceName, String serverName, List<ProjectHierarchy> children) Constructor- Parameters:
propertyHelper
- helper object to parse entityserviceName
- name of this componentserverName
- local server name
-
-
Method Details
-
getNewComplexBean
public B getNewComplexBean(Class<B> beanClass, OpenMetadataElement primaryElement, List<RelatedMetadataElement> 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 To Do bean which combine knowledge from the element and its linked relationships.- Overrides:
getNewComplexBean
in classProjectConverter<B>
- Parameters:
beanClass
- name of the class to createprimaryElement
- element 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, RelatedMetadataElement primaryElement, List<RelatedMetadataElement> 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 To Do bean which combine knowledge from the element and its linked relationships.- Overrides:
getNewComplexBean
in classProjectConverter<B>
- Parameters:
beanClass
- name of the class to createprimaryElement
- element 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
-
getDependentProjects
protected List<RelatedMetadataElementSummary> getDependentProjects(Class<B> beanClass, List<RelatedMetadataElement> projectElements) throws PropertyServerException Summarize the projects that are dependent on this project.- Parameters:
beanClass
- bean classprojectElements
- elements to summarize- Returns:
- list or null
- Throws:
PropertyServerException
- problem in converter
-
getDependsOnProjects
protected List<RelatedMetadataElementSummary> getDependsOnProjects(Class<B> beanClass, List<RelatedMetadataElement> projectElements) throws PropertyServerException Summarize the projects that are dependent on this project.- Parameters:
beanClass
- bean classprojectElements
- elements to summarize- Returns:
- list or null
- Throws:
PropertyServerException
- problem in converter
-