Class ProjectBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
org.odpi.openmetadata.commonservices.generichandlers.ProjectBuilder
ProjectBuilder creates the parts for an entity that represents a Project.
-
Constructor Summary
ConstructorsConstructorDescriptionProjectBuilder(String qualifiedName, String identifier, String name, String description, Date startDate, Date plannedEndDate, String projectPhase, String projectHealth, String projectStatus, int priority, Map<String, String> additionalProperties, String typeGUID, String typeName, Map<String, Object> extendedProperties, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Create constructorProjectBuilder(String qualifiedName, String identifier, String name, String description, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Create constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstancePropertiesgetInstanceProperties(String methodName) Return the supplied bean properties in an InstanceProperties object.voidsetCampaignClassification(String userId, String methodName) Set up the Campaign classification for this project.voidsetProjectTypeClassification(String userId, String classificationName, String methodName) Set up the Task classification for this project.voidsetTaskClassification(String userId, String methodName) Set up the Task classification for this project.Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
getMementoProperties, getQualifiedName, setMemento, setSecurityTags, setTemplateMethods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassifications, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, isClassificationSet, setAnchors, setAnchors, setClassification, setEffectivityDates, setTemplateClassifications, setTemplateSubstitute
-
Constructor Details
-
ProjectBuilder
public ProjectBuilder(String qualifiedName, String identifier, String name, String description, Date startDate, Date plannedEndDate, String projectPhase, String projectHealth, String projectStatus, int priority, Map<String, String> additionalProperties, String typeGUID, String typeName, Map<String, Object> extendedProperties, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Create constructor- Parameters:
qualifiedName- unique name for the Projectidentifier- unique identifier for the Project - typically allocated by an external systemname- name for the projectdescription- description of the glossarystartDate- start date of the projectplannedEndDate- planned end Date for the projectprojectPhase- lifecycle phase of projectprojectHealth- how well is the project tracking to planprojectStatus- status of the projectpriority- priorityadditionalProperties- additional properties for a ProjecttypeGUID- unique identifier of this element's typetypeName- unique name of this element's typeextendedProperties- properties for a Project subtyperepositoryHelper- helper methodsserviceName- name of this OMASserverName- name of local server
-
ProjectBuilder
public ProjectBuilder(String qualifiedName, String identifier, String name, String description, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Create constructor- Parameters:
qualifiedName- unique name for the Projectidentifier- unique identifier for the Project - typically allocated by an external systemname- name for the projectdescription- description of the glossaryrepositoryHelper- helper methodsserviceName- name of this OMASserverName- name of local server
-
-
Method Details
-
setCampaignClassification
public void setCampaignClassification(String userId, String methodName) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException Set up the Campaign classification for this project.- Parameters:
userId- calling usermethodName- calling method- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- classification is not supported in the local repository, or any repository connected by an open metadata repository cohort
-
setTaskClassification
public void setTaskClassification(String userId, String methodName) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException Set up the Task classification for this project.- Parameters:
userId- calling usermethodName- calling method- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- classification is not supported in the local repository, or any repository connected by an open metadata repository cohort
-
setProjectTypeClassification
public void setProjectTypeClassification(String userId, String classificationName, String methodName) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException Set up the Task classification for this project.- Parameters:
userId- calling userclassificationName- name of the classification to addmethodName- calling method- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- classification is not supported in the local repository, or any repository connected by an open metadata repository cohort
-
getInstanceProperties
public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getInstanceProperties(String methodName) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException Return the supplied bean properties in an InstanceProperties object.- Overrides:
getInstancePropertiesin classReferenceableBuilder- Parameters:
methodName- name of the calling method- Returns:
- InstanceProperties object
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- there is a problem with the properties
-