Class ProjectConverter<B>
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.converters.OpenMetadataConverterBase<B>
org.odpi.openmetadata.frameworks.governanceaction.converters.ProjectConverter<B>
- Direct Known Subclasses:
ProjectHierarchyConverter
ProjectConverter generates a ProjectElement from a Project entity
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.converters.OpenMetadataConverterBase
propertyHelper, serverName, serviceName
-
Constructor Summary
ConstructorsConstructorDescriptionProjectConverter
(PropertyHelper propertyHelper, String serviceName, String serverName) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetNewComplexBean
(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.protected List<RelatedMetadataElementSummary>
getProjectManagers
(Class<B> beanClass, List<RelatedMetadataElement> projectManagerElements) Summarize the elements linked off of the project in the project management list.protected ProjectProperties
getProjectProperties
(OpenMetadataElement primaryElement) Retrieve the project properties from the retrieved element.protected List<RelatedMetadataElementSummary>
getProjectTeam
(Class<B> beanClass, List<RelatedMetadataElement> projectTeamElements) Summarize the elements linked off of the project in the project team list.protected List<RelatedMetadataElementSummary>
getResourceList
(Class<B> beanClass, List<RelatedMetadataElement> resourceListElements) Summarize the elements linked off of the project in the resource list.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
-
ProjectConverter
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 classOpenMetadataConverterBase<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
-
getProjectProperties
Retrieve the project properties from the retrieved element.- Parameters:
primaryElement
- element- Returns:
- project properties
-
getResourceList
protected List<RelatedMetadataElementSummary> getResourceList(Class<B> beanClass, List<RelatedMetadataElement> resourceListElements) throws PropertyServerException Summarize the elements linked off of the project in the resource list.- Parameters:
beanClass
- bean classresourceListElements
- elements to summarize- Returns:
- list or null
- Throws:
PropertyServerException
- problem in converter
-
getProjectManagers
protected List<RelatedMetadataElementSummary> getProjectManagers(Class<B> beanClass, List<RelatedMetadataElement> projectManagerElements) throws PropertyServerException Summarize the elements linked off of the project in the project management list.- Parameters:
beanClass
- bean classprojectManagerElements
- elements to summarize- Returns:
- list or null
- Throws:
PropertyServerException
- problem in converter
-
getProjectTeam
protected List<RelatedMetadataElementSummary> getProjectTeam(Class<B> beanClass, List<RelatedMetadataElement> projectTeamElements) throws PropertyServerException Summarize the elements linked off of the project in the project team list.- Parameters:
beanClass
- bean classprojectTeamElements
- elements to summarize- Returns:
- list or null
- Throws:
PropertyServerException
- problem in converter
-
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 classOpenMetadataConverterBase<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
-