Class SimpleCatalogArchiveHelper
java.lang.Object
org.odpi.openmetadata.samples.archiveutilities.SimpleCatalogArchiveHelper
- Direct Known Subclasses:
GovernanceArchiveHelper
SimpleCatalogArchiveHelper creates elements used when creating a simple catalog. This includes assets, their schemas and connections, design models.
-
Field Summary
Modifier and TypeFieldDescriptionprotected OpenMetadataArchiveBuilder
protected OMRSArchiveHelper
protected String
protected static final String
protected OMRSArchiveGUIDMap
protected String
protected String
-
Constructor Summary
ConstructorDescriptionSimpleCatalogArchiveHelper
(OpenMetadataArchiveBuilder archiveBuilder, String archiveGUID, String archiveName, String archiveRootName, String originatorName, Date creationDate, long versionNumber, String versionName) Typical constructor passes parameters used to build the open metadata archive's property header.SimpleCatalogArchiveHelper
(OpenMetadataArchiveBuilder archiveBuilder, String archiveGUID, String archiveName, String archiveRootName, String originatorName, Date creationDate, long versionNumber, String versionName, InstanceProvenanceType instanceProvenanceType, String license) Typical constructor passes parameters used to build the open metadata archive's property header.SimpleCatalogArchiveHelper
(OpenMetadataArchiveBuilder archiveBuilder, String archiveGUID, String archiveName, String originatorName, Date creationDate, long versionNumber, String versionName, String guidMapFileName) Constructor passes parameters used to build the open metadata archive's property header.SimpleCatalogArchiveHelper
(OpenMetadataArchiveBuilder archiveBuilder, String archiveGUID, String archiveName, String originatorName, Date creationDate, long versionNumber, String versionName, InstanceProvenanceType instanceProvenanceType, String license, String guidMapFileName) Constructor passes parameters used to build the open metadata archive's property header. -
Method Summary
Modifier and TypeMethodDescriptionaddAnchoredAsset
(String typeName, String anchorGUID, String anchorTypeName, String anchorDomainName, String qualifiedName, String name, String versionIdentifier, String description, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create an asset entity with the supplied anchor.addAPIOperation
(String apiSchemaTypeGUID, String qualifiedName, String displayName, String description, String path, String command, Map<String, String> additionalProperties) Create the schema type for an API operation.addAPIParameter
(String typeName, String schemaTypeName, String qualifiedName, String displayName, String description, String dataType, int length, int position, String parameterType, Map<String, String> additionalProperties) Create a schema attribute with a TypeEmbeddedAttribute classification.addAPIParameterList
(String apiOperationGUID, String relationshipTypeName, String qualifiedName, String displayName, String description, boolean required, Map<String, String> additionalProperties) Create a parameter list schema type for an API operation.addAsset
(String typeName, String qualifiedName, String name, String versionIdentifier, String description, List<String> governanceZones, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create an asset entity.addAsset
(String typeName, String qualifiedName, String name, String versionIdentifier, String description, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create an asset entity that is anchored to itself.addAsset
(String typeName, String qualifiedName, String name, String description, List<String> governanceZones, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create an asset entity.addAsset
(String typeName, String qualifiedName, String name, String description, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create an asset entity.addAsset
(String typeName, String qualifiedName, String name, String description, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create an asset entity.void
addAssetLocationRelationship
(String locationQName, String assetQName) Link a location to an asset.void
addAssetZoneMembershipClassification
(String assetGUID, List<String> zones) Add the asset zone membership classification to the requested asset.void
addAssignmentScopeRelationship
(String actorQName, String scopeQName, String assignmentType, String description) Link an actor (profile/person role) to a scope.void
addAttributeForSchemaType
(String schemaTypeGUID, String schemaAttributeGUID) Create the relationship between a SchemaType element and a child SchemaAttribute element using the AttributeForSchema relationship.addBusinessArea
(String qualifiedName, String identifier, String displayName, String description, Map<String, String> additionalProperties) Create a business area entity.void
addCatalogTemplateRelationship
(String owningElementGUID, String templateElementGUID) Create a catalog template relationship.void
addCategoryToCategory
(String parentCategoryGUID, String childCategoryGUID) Link two categories together as part of the parent child hierarchy.void
addCertification
(String certifiedElementGUID, String certificationGUID, Date startDate, Date endDate, String conditions, String certifiedBy, String certifiedByTypeName, String certifiedByPropertyName, String custodian, String custodianTypeName, String custodianPropertyName, String recipient, String recipientTypeName, String recipientPropertyName, String notes, String certificationTypeGUID) Create a licence relationship.addCollection
(String suppliedTypeName, String anchorGUID, String anchorTypeName, String anchorDomainName, String classificationName, String qualifiedName, String displayName, String description, String collectionType, Map<String, String> additionalProperties, List<Classification> otherClassifications, Map<String, Object> extendedProperties) Create a collection entity.addCommunity
(String suppliedTypeName, String qualifiedName, String name, String description, String mission, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Add a new community.void
addCommunityMembershipRelationship
(String communityQName, String membershipRoleQName, int membershipType) Link a community to a person role.void
addConceptBeadAttributeLink
(String conceptBeadGUID, String conceptBeadAttributeGUID, int position, int minCardinality, int maxCardinality, boolean uniqueValues, boolean orderedValues) Create the relationship between a concept bead link and the concept bead at one of its ends.void
addConceptBeadRelationshipEnd
(String conceptBeadLinkGUID, String conceptBeadGUID, String attributeName, int conceptModelDecoration, int position, int minCardinality, int maxCardinality, boolean uniqueValues, boolean orderedValues, boolean navigable) Create the relationship between a concept bead link and the concept bead at one of its ends.addConnection
(String typeName, String qualifiedName, String displayName, String description, String userId, String clearPassword, String encryptedPassword, Map<String, String> securedProperties, Map<String, Object> configurationProperties, Map<String, String> additionalProperties, String connectorTypeGUID, String endpointGUID, String anchorGUID, String anchorTypeName, String anchorDomainName) Create a connection entity.addConnection
(String qualifiedName, String displayName, String description, String userId, String clearPassword, String encryptedPassword, Map<String, String> securedProperties, Map<String, Object> configurationProperties, Map<String, String> additionalProperties, String connectorTypeGUID, String endpointGUID, String anchorGUID, String anchorTypeName, String anchorDomainName) Create a connection entity.void
addConnectionForAsset
(String assetGUID, String assetSummary, String connectionGUID) Create the relationship between an asset and its connection.addConnectorCategory
(String connectorTypeDirectoryGUID, String qualifiedName, String displayName, String description, String targetTechnologySource, String targetTechnologyName, Map<String, Boolean> recognizedSecuredProperties, Map<String, Boolean> recognizedConfigurationProperties, Map<String, Boolean> recognizedAdditionalProperties, Map<String, String> additionalProperties) Create a connector category entity.addConnectorType
(String connectorCategoryGUID, String connectorTypeGUID, String qualifiedName, String displayName, String description, String deployedImplementationType, String supportedAssetTypeName, String expectedDataFormat, String connectorProviderClassName, String connectorFrameworkName, String connectorInterfaceLanguage, List<String> connectorInterfaces, String targetTechnologySource, String targetTechnologyName, List<String> targetTechnologyInterfaces, List<String> targetTechnologyVersions, List<String> recognizedSecuredProperties, List<String> recognizedConfigurationProperties, List<String> recognizedAdditionalProperties, Map<String, String> additionalProperties) Create a connector type entity.protected String
addConnectorType
(String connectorCategoryGUID, String qualifiedName, String displayName, String description, String deployedImplementationType, String supportedAssetTypeName, String expectedDataFormat, String connectorProviderClassName, String connectorFrameworkName, String connectorInterfaceLanguage, List<String> connectorInterfaces, String targetTechnologySource, String targetTechnologyName, List<String> targetTechnologyInterfaces, List<String> targetTechnologyVersions, List<String> recognizedSecuredProperties, List<String> recognizedConfigurationProperties, List<String> recognizedAdditionalProperties, Map<String, String> additionalProperties) Create a connector type entity.addConnectorType
(String connectorCategoryGUID, ConnectorProvider connectorProvider) Create a connector type entity.addConnectorType
(String connectorCategoryGUID, ConnectorType connectorType) Create a connector type entity.addConnectorType
(String connectorCategoryGUID, IntegrationConnectorProvider connectorProvider) Create a connector type entity.addConnectorTypeDirectory
(String qualifiedName, String displayName, String description, Map<String, String> additionalProperties) Create a connector category entity.void
addConsistentValidValueRelationship
(String validValue1QName, String validValue2QName) Link a valid value as a member of a valid value set.void
addContactDetails
(String profileGUID, String profileTypeName, String name, String contactType, int contactMethodType, String contactMethodService, String contactMethodValue) Add a contact method to a profile.addCyberLocation
(String qualifiedName, String identifier, String displayName, String description, String networkAddress, Map<String, String> additionalProperties) Add a location entity with the CyberLocation classification to the archive.void
addDataContentForDataSet
(String dataContentGUID, String dataSetGUID) Create the relationship between a data set and an asset that is providing all or part of its content.void
addDataContentForDataSet
(String dataContentGUID, String dataSetGUID, String queryId, String query) Create the relationship between a data set and an asset that is providing all or part of its content.void
addDeployedOnRelationship
(String deployedElementQName, String deployedOnQName, Date deploymentTime, String deployerTypeName, String deployerPropertyName, String deployer, int deploymentStatus) Add the DeployedOn relationship to the archive.addDesignModel
(String typeName, String classificationName, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create a design model entity.addDesignModelElement
(String designModelGUID, String designModelTypeName, String typeName, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create a design model element entity.void
addDesignModelGroupMembership
(String groupGUID, String memberGUID) Create the relationship between a design model group and one of its members.void
addEmbeddedConnection
(String parentConnectionGUID, int position, String displayName, Map<String, String> arguments, String childConnectionGUID) Add an EmbeddedConnection relationship.addEndpoint
(String anchorGUID, String anchorTypeName, String anchorDomainName, String qualifiedName, String displayName, String description, String networkAddress, String protocol, Map<String, String> additionalProperties) Create a endpoint entity.addEndpoint
(String anchorGUID, String anchorTypeName, String anchorDomainName, String qualifiedName, String displayName, String description, String networkAddress, String protocol, Map<String, String> additionalProperties, Classification additionalClassification) Create a endpoint entity.addExternalReference
(String typeName, String anchorGUID, String anchorTypeName, String anchorDomainName, String qualifiedName, String displayName, String referenceTitle, String referenceAbstract, String description, List<String> authors, int numberOfPages, String pageRange, String authorOrganization, String publicationSeries, String publicationSeriesVolume, String edition, String versionNumber, String referenceURL, String publisher, Date firstPublicationDate, Date publicationDate, String publicationCity, String publicationYear, List<String> publicationNumbers, String license, String copyright, String attribution, List<String> searchKeywords, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create an external reference entity.void
addExternalReferenceLink
(String referenceableGUID, String externalReferenceGUID, String referenceId, String description, String pages) Create the relationship between a referenceable and an external reference.addFixedLocation
(String qualifiedName, String identifier, String displayName, String description, String coordinates, String mapProjection, String postalAddress, String timeZone, Map<String, String> additionalProperties) Add a location with a FixedLocation classification.addGlossary
(String qualifiedName, String displayName, String description, String language, String usage, String externalLink, String scope) Create a glossary entity.addGlossary
(String qualifiedName, String displayName, String description, String language, String usage, String externalLink, String scope, Map<String, String> additionalProperties) Create a glossary entity.addGlossaryCategory
(String glossaryGUID, boolean isRootCategory, String qualifiedName, String displayName, String description, String subjectArea, Map<String, String> additionalProperties) Add a glossary category to the archive and connect it to its glossary.addGlossaryCategory
(String glossaryGUID, String qualifiedName, String displayName, String description, String subjectArea) Add a glossary category to the archive and connect it to its glossary.addGlossaryCategory
(String glossaryGUID, String qualifiedName, String displayName, String description, String subjectArea, Map<String, String> additionalProperties) Add a glossary category to the archive and connect it to its glossary.addGovernanceDefinition
(String suppliedTypeName, String qualifiedName, String title, String summary, String description, String scope, int domainIdentifier, String priority, List<String> implications, List<String> outcomes, List<String> results, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create a governance definition entity.void
addGovernanceDefinitionDelegationRelationship
(String relationshipTypeName, String governanceDefinition1QName, String governanceDefinition2QName, String rationale) Link two governance definitions at the same level.void
addGovernanceDefinitionPeerRelationship
(String relationshipTypeName, String governanceDefinition1QName, String governanceDefinition2QName, String description) Link two governance definitions at the same level.void
addGovernanceDefinitionScopeRelationship
(String referenceableQName, String governanceDefinitionQName) Link a referenceable to a governance definition to define the scope there it applies.addGovernanceDomainDescription
(String governanceDomainSetGUID, String qualifiedName, int domainIdentifier, String displayName, String description, Map<String, String> additionalProperties) Create a governance domain description entity.addGovernanceRole
(String suppliedTypeName, String qualifiedName, int domainIdentifier, String identifier, String name, String description, String scope, boolean setHeadCount, int headCount, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Add a new person role.addGovernanceZone
(String qualifiedName, String zoneName, String displayName, String description, String criteria, String scope, int domainIdentifier, Map<String, String> additionalProperties) Create a governance zone entity.void
addGovernedByRelationship
(String referenceableQName, String governanceDefinitionQName) Link a referenceable to a governance definition to indicate that it is governed by the governance definition.void
addHasARelationship
(String conceptQName, String propertyQName) Add a HasA relationshipvoid
addIsATypeOfRelationship
(String specialTermQName, String generalizedTermQName) Add an is-a-type-of relationshipaddITProfileToAsset
(String assetGUID, String qualifiedName, String name, String description, Map<String, String> additionalProperties) Add a new IT profile.void
addLibraryCategoryReference
(String categoryGUID, String externalGlossaryLinkGUID, String identifier, String description, String steward, Date lastVerified) Link a category to an external glossary link with information on which category in the external glossary it corresponds to.void
addLibraryTermReference
(String termGUID, String externalGlossaryLinkGUID, String identifier, String description, String steward, Date lastVerified) Link a glossary term to an external glossary link with information on which term in the external glossary it corresponds to.void
addLicense
(String licensedElementGUID, String licenseGUID, Date startDate, Date endDate, String conditions, String licensedBy, String licensedByTypeName, String licensedByPropertyName, String custodian, String custodianTypeName, String custodianPropertyName, String licensee, String licenseeTypeName, String licenseePropertyName, Map<String, String> entitlements, Map<String, String> restrictions, Map<String, String> obligations, String notes, String licenseTypeGUID) Create a licence relationship.void
addLineageRelationship
(String sourceGUID, String destinationGUID, String relationshipType, String label) Create a lineage relationship between the two elementsaddLocation
(String qualifiedName, String identifier, String displayName, String description, Map<String, String> additionalProperties) Add a location entity to the archive.void
addLocationHierarchy
(String broaderLocationGUID, String nestedLocationGUID) Create the relationship between a locations and one of the locations nested within it.addMediaReference
(String typeName, String qualifiedName, String displayName, String description, List<String> authors, String authorOrganization, String versionNumber, String referenceURL, String license, String copyright, String attribution, int mediaType, String mediaTypeOtherId, int defaultMediaUsage, String defaultMediaUsageOtherId, List<String> searchKeywords, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create a media reference entity.void
addMediaReferenceLink
(String referenceableGUID, String mediaReferenceGUID, String mediaId, String description, int mediaUsage, String mediaUsageOtherId) Create the relationship between a referenceable and an external reference.void
addMemberToCollection
(String collectionGUID, String memberGUID, String membershipRationale) Add a member to a collection.void
addMobileAssetClassification
(String assetGUID) Add the MobileAsset classification to the requested asset.void
addMoreInformationLink
(String describedElementId, String describerElementId) Create a navigation link from one referenceable to another to show they provide more information.void
addNestedSchemaAttribute
(String parentSchemaAttributeGUID, String childSchemaAttributeGUID) Create the relationship between a SchemaAttribute element and a child SchemaAttribute element using the NestedSchemaAttribute relationship.void
addOrganizationalCapabilityRelationship
(String businessCapabilityQName, String teamQName, String scope) Add an OrganizationalCapability relationship.void
addPeerLocations
(String location1GUID, String location2GUID) Link two locations as peers using the AdjacentLocation relationship.void
addPeerRelationship
(String person1QName, String person2QName) Link a person profile to another person as a peer.addPerson
(String qualifiedName, String name, String pronouns, String description, String initials, String title, String givenNames, String surname, String fullName, String jobTitle, String employeeNumber, String employeeType, String preferredLanguage, boolean isPublic, Map<String, String> additionalProperties) Add a new person profile.addPersonRole
(String suppliedTypeName, String qualifiedName, String identifier, String name, String description, String scope, boolean setHeadCount, int headCount, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Add a new person role.void
addPersonRoleAppointmentRelationship
(String personQName, String personRoleQName, boolean isPublic) Link a person profile to a person role.addProcess
(String typeName, String qualifiedName, String name, String versionIdentifier, String description, String formula, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create a process entity.addProcess
(String typeName, String qualifiedName, String name, String description, String formula, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create a process entity.void
addProfileIdentity
(String profileGUID, String userIdentityGUID, String roleTypeName, String roleGUID, String description) Create the relationship between a profile and one of its userIds.void
addProfileLocationRelationship
(String profileQName, String locationQName, String associationType) Link a location to a profile.addProject
(String suppliedTypeName, String qualifiedName, String identifier, String name, String description, Date startDate, Date plannedEndDate, String projectPhase, String projectHealth, String projectStatus, boolean setCampaignClassification, boolean setTaskClassification, String projectTypeClassification, List<Classification> otherClassifications, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Add a new project.void
addProjectDependencyRelationship
(String projectQName, String dependsOnProjectQName, String dependencySummary) Link a project to another project that it depends on.void
addProjectHierarchyRelationship
(String projectQName, String subprojectQName) Link a project to a subproject.void
addProjectManagementRelationship
(String projectQName, String projectManagerRoleQName) Link a project to a person role that represents the project manager(s).void
addProjectTeamRelationship
(String personQName, String personRoleQName, String teamRole) Link a project to a team.void
addPropertyFacet
(String referenceableGUID, String referenceableTypeName, String referenceableDomainName, String referenceableQualifiedName, String source, String schemaVersion, String description, Map<String, String> facetProperties) Adds a property facet entity and links it to the referenceable via the ReferenceableFacet relationship.void
addReferenceDataClassification
(String assetGUID) Add the ReferenceData classification to the requested element.void
addReferenceValueAssignmentRelationship
(String referenceableQName, String validValueQName, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String notes) Link a referenceable element to a valid value that is acting as a tag.void
addReferenceValueAssignmentRelationship
(String referenceableGUID, String validValueGUID, String attributeName, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String notes) Link a referenceable element to a valid value that is acting as a tag.void
addRelatedTermRelationship
(String conceptQName, String propertyQName) Add related term relationship.void
addResourceListRelationship
(String parentQName, String resourceQName, String resourceUse, String resourceUseDescription) Add the ResourceList relationship to the archive.void
addResourceListRelationship
(String referenceableQName, String resourceQName, String resourceUse, String resourceUseDescription, Map<String, String> resourceUseProperties, boolean watchResource) Link a referenceable to another referenceable to indicate that the second referenceable is providing resources in support of the first.void
addResourceListRelationshipByGUID
(String parentGUID, String resourceGUID, String resourceUse, String resourceUseDescription) Add the ResourceList relationship to the archive.void
addResourceListRelationshipByGUID
(String parentGUID, String resourceGUID, String resourceUse, String resourceUseDescription, Map<String, String> resourceUseProperties, boolean watchResource) Add the ResourceList relationship to the archive.addSchemaAttribute
(String assetGUID, String assetTypeName, String typeName, String schemaTypeName, String qualifiedName, String displayName, String description, String dataType, int length, int position, String encodingStandard, Map<String, String> additionalProperties) Create a schema attribute with a TypeEmbeddedAttribute classification.addSchemaType
(String assetGUID, String assetTypeName, String typeName, String qualifiedName, String displayName, String description, Map<String, String> additionalProperties) Create the schema type by do not link it it a parent.void
addSchemaTypeOption
(String schemaTypeChoiceGUID, String schemaTypeOptionGUID) Create the relationship between a SchemaTypeChoice element and a child element using the SchemaTypeOption relationship.addSecureLocation
(String qualifiedName, String identifier, String displayName, String description, String level, String securityDescription, Map<String, String> additionalProperties) Add a location with a SecureLocation classification.void
addSecurityTagsClassification
(String assetGUID, List<String> securityLabels, Map<String, Object> securityProperties, Map<String, List<String>> accessGroups) Add a SecurityTags classification to the requested element.void
addSemanticAssignment
(String dataGUID, String glossaryTermGUID) Link a data element to a glossary term.void
addServerEndpointRelationship
(String itInfrastructureGUID, String endpointGUID) Create a server endpoint relationship.void
addServerPurposeClassification
(String elementGUID, String classificationName, String deployedImplementationType) Add a ServerPurpose classification to an IT Infrastructure element.addSoftwareCapability
(String typeName, String qualifiedName, String name, String description, String deployedImplementationType, String capabilityVersion, String patchLevel, String source, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> suppliedClassifications, String anchorGUID, String anchorTypeName, String anchorDomainName) Create a software capability entity.addSoftwareCapability
(String typeName, String qualifiedName, String name, String description, String deployedImplementationType, String capabilityVersion, String patchLevel, String source, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, Classification classification, String anchorGUID, String anchorTypeName, String anchorDomainName) Create a software capability entity.void
addSourcedFromRelationship
(String resultingElementGUID, long sourceVersionNumber, String templateElementGUID, String methodName) Create a sourced from relationship.void
addSpecificationPropertyAssignmentRelationship
(String referenceableGUID, String validValueGUID, String propertyType) Link a referenceable element to a valid value that is acting as a tag.void
addStakeHolderRelationship
(String referenceableQName, String actorQName) Link a referenceable to its stakeholders.void
addSubjectAreaClassification
(String referenceableGUID, String subjectAreaQualifiedName) Add the subject area classification to the requested element.addSubjectAreaDefinition
(String qualifiedName, String subjectAreaName, String displayName, String description, String scope, String usage, int domainIdentifier, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create a subject area definition entity.void
addSubjectAreaHierarchy
(String broaderSubjectAreaGUID, String nestedSubjectAreaGUID) Create the relationship between a subject area and one of its nested subject areas.void
addSupportedSoftwareCapabilityRelationship
(String deployedElementQName, String deployedOnQName, Date deploymentTime, String deployerTypeName, String deployerPropertyName, String deployer, int serverCapabilityStatus) Add the DeployedOn relationship to the archive.addTeam
(String suppliedTypeName, String qualifiedName, String name, String description, String teamType, String identifier, Map<String, String> additionalProperties) Add a new team profile.void
addTeamLeadershipRelationship
(String personRoleQName, String teamQName, String position) Link a person role as a team's leader.void
addTeamMembershipRelationship
(String personRoleQName, String teamQName, String position) Link a person role as a team's member.void
addTeamStructureRelationship
(String superTeamQName, String subTeamQName, boolean delegationEscalationAuthority) Link a person role as a team's member.addTerm
(String glossaryGUID, List<String> categoryIds, boolean categoriesAsNames, String qualifiedName, String displayName, String summary, String description, String examples, String abbreviation, String usage, boolean isSpineObject, boolean isSpineAttribute, boolean isContext, String contextDescription, String contextScope, Map<String, String> additionalProperties, List<Classification> additionalClassifications) Add a term and link it to the glossary and an arbitrary number of categories.addTerm
(String glossaryGUID, List<String> categoryGUIDs, String qualifiedName, String displayName, String description) Add a term and link it to the glossary and an arbitrary number of categories.void
addTermToCategory
(String categoryGUID, String termGUID) Link two categories together as part of the parent child hierarchy.void
addTermToCategory
(String categoryGUID, String termGUID, int status, String description) Link two categories together as part of the parent child hierarchy.void
addTermToContext
(String contextGUID, String termGUID, int status, String description) Link a term to a context referenceable to show that the term is valid in the context of the other.void
addTermToSynonym
(String synonymGUID, String termGUID, int status, String description, String expression, String steward, String source) Link two terms together to show that one is valid in the context of the other.addTopLevelSchemaType
(String assetGUID, String assetTypeName, String typeName, String qualifiedName, String displayName, String description, Map<String, String> additionalProperties) Create the top level schema type for an asset.addUserIdentity
(String qualifiedName, String userId, String distinguishedName, Map<String, String> additionalProperties) Add a user identity entity to the archive.addValidValue
(String typeName, String qualifiedName, String name, String description, String usage, String scope, String preferredValue, boolean isDeprecated, Map<String, String> additionalProperties) Add a valid value definition/set.addValidValue
(String suppliedValidValueGUID, String setGUID, String anchorGUID, String anchorTypeName, String anchorDomainName, String typeName, String qualifiedName, String name, String description, String category, String usage, String dataType, String scope, String preferredValue, boolean isDeprecated, boolean isCaseSensitive, Map<String, String> additionalProperties) Add a valid value definition/set.void
addValidValueMembershipRelationship
(String setQName, String memberQName, boolean isDefaultValue) Link a valid value as a member of a valid value set.void
addValidValueMembershipRelationshipByGUID
(String setId, String memberId, boolean isDefaultValue) Link a valid value as a member of a valid value set.void
addValidValuesAssignmentRelationship
(String dataFieldQName, String validValueQName, boolean strictRequirement) Link an element that represents a data field (either directly or indirectly) to a valid value (typically a valid value set).void
addValidValuesImplementationRelationship
(String validValueQName, String assetQName, String symbolicName, String implementationValue, Map<String, String> additionalValues) Link a valid value definition to the asset where it is implemented.void
addValidValuesMappingRelationship
(String matchingValue1QName, String matchingValue2QName, String associationDescription, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String notes) Add a mapping between two valid values.void
addZoneHierarchy
(String broaderGovernanceZoneGUID, String nestedGovernanceZoneGUID) Create the relationship between a governance zone and one of its nested governance zones.getAssetOriginClassification
(String organization, String organizationPropertyName, String businessCapability, String businessCapabilityPropertyName, Map<String, String> otherOriginValues) Return the asset origin classification.Return the asset zone membership classification.getConfidentialityClassification
(int statusIdentifier, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String source, String notes, int levelIdentifier) Return the confidentiality classification.getDataAssetEncodingClassification
(String encoding, String language, String description, Map<String, String> properties) Create a DataStoreEncoding classification containing the supplied properties.getEngineClassification
(String classificationName) Create a classification for an Engine software server capability.getFileSystemClassification
(String format, String encryption, String methodName) Create a Template classification to add to an entity as it is created.Return the guid of an element based on its qualified name.getServerPurposeClassification
(String classificationName, String deployedImplementationType) Create a ServerPurpose classification.getTemplateClassification
(String templateName, String templateDescription, String versionIdentifier, Map<String, String> additionalProperties, String methodName) Create a Template classification to add to an entity as it is created.Return the TemplateSubstitute classification.void
linkApprovedPurpose
(String referenceableGUID, String dataProcessingPurposeGUID) Create an approved purpose between a Referenceable and a data processing purpose.void
linkTermToReferenceable
(String termId, String referenceableId) Create a semantic assignment between a term and a Referenceable - for example a model element.Return the guid of an element based on its qualified name.void
Save the GUIDs so that the GUIDs of the elements inside the archive are consistent each time the archive runs.void
Save the GUIDs so that the GUIDs of the elements inside the archive are consistent each time the archive runs.void
Return the guid of an element based on its qualified name.
-
Field Details
-
guidMapFileNamePostFix
- See Also:
-
archiveBuilder
-
archiveHelper
-
idToGUIDMap
-
archiveRootName
-
originatorName
-
versionName
-
-
Constructor Details
-
SimpleCatalogArchiveHelper
public SimpleCatalogArchiveHelper(OpenMetadataArchiveBuilder archiveBuilder, String archiveGUID, String archiveName, String archiveRootName, String originatorName, Date creationDate, long versionNumber, String versionName) Typical constructor passes parameters used to build the open metadata archive's property header.- Parameters:
archiveBuilder
- builder where content is cachedarchiveGUID
- unique identifier for this open metadata archive.archiveName
- name of the open metadata archive metadata collection.archiveRootName
- non-spaced root name of the open metadata GUID map.originatorName
- name of the originator (person or organization) of the archive.creationDate
- data that this archive was created.versionNumber
- version number of the archive.versionName
- version name for the archive.
-
SimpleCatalogArchiveHelper
public SimpleCatalogArchiveHelper(OpenMetadataArchiveBuilder archiveBuilder, String archiveGUID, String archiveName, String archiveRootName, String originatorName, Date creationDate, long versionNumber, String versionName, InstanceProvenanceType instanceProvenanceType, String license) Typical constructor passes parameters used to build the open metadata archive's property header.- Parameters:
archiveBuilder
- builder where content is cachedarchiveGUID
- unique identifier for this open metadata archive.archiveName
- name of the open metadata archive metadata collection.archiveRootName
- non-spaced root name of the open metadata GUID map.originatorName
- name of the originator (person or organization) of the archive.creationDate
- data that this archive was created.versionNumber
- version number of the archive.versionName
- version name for the archive.instanceProvenanceType
- type of archive.license
- license for the archive contents.
-
SimpleCatalogArchiveHelper
public SimpleCatalogArchiveHelper(OpenMetadataArchiveBuilder archiveBuilder, String archiveGUID, String archiveName, String originatorName, Date creationDate, long versionNumber, String versionName, String guidMapFileName) Constructor passes parameters used to build the open metadata archive's property header. This version is used for multiple dependant archives, and they need to share the guid map.- Parameters:
archiveBuilder
- builder where content is cachedarchiveGUID
- unique identifier for this open metadata archive.archiveName
- name of the open metadata archive metadata collection.originatorName
- name of the originator (person or organization) of the archive.creationDate
- data that this archive was created.versionNumber
- version number of the archive.versionName
- version name for the archive.guidMapFileName
- name of the guid map file.
-
SimpleCatalogArchiveHelper
public SimpleCatalogArchiveHelper(OpenMetadataArchiveBuilder archiveBuilder, String archiveGUID, String archiveName, String originatorName, Date creationDate, long versionNumber, String versionName, InstanceProvenanceType instanceProvenanceType, String license, String guidMapFileName) Constructor passes parameters used to build the open metadata archive's property header. This version is used for multiple dependant archives, and they need to share the guid map.- Parameters:
archiveBuilder
- builder where content is cachedarchiveGUID
- unique identifier for this open metadata archive.archiveName
- name of the open metadata archive metadata collection.originatorName
- name of the originator (person or organization) of the archive.creationDate
- data that this archive was created.versionNumber
- version number of the archive.versionName
- version name for the archive.instanceProvenanceType
- type of archive.license
- license for the archive contents.guidMapFileName
- name of the guid map file.
-
-
Method Details
-
getGUID
Return the guid of an element based on its qualified name. This is a lookup in the GUID map not the archive. This means if the qualified name is not known, a new GUID is generated.- Parameters:
qualifiedName
- qualified name ot look up- Returns:
- guid.
-
setGUID
Return the guid of an element based on its qualified name. This is a lookup in the GUID map not the archive. This means if the qualified name is not known, a new GUID is generated.- Parameters:
qualifiedName
- qualified name ot look upguid
- fixed unique identifier
-
queryGUID
Return the guid of an element based on its qualified name. This is a query in the GUID map not the archive. This means if the qualified name is not known, null is returned.- Parameters:
qualifiedName
- qualified name ot look up- Returns:
- guid or null
-
saveGUIDs
public void saveGUIDs()Save the GUIDs so that the GUIDs of the elements inside the archive are consistent each time the archive runs. -
saveUsedGUIDs
public void saveUsedGUIDs()Save the GUIDs so that the GUIDs of the elements inside the archive are consistent each time the archive runs. -
addExternalReference
public String addExternalReference(String typeName, String anchorGUID, String anchorTypeName, String anchorDomainName, String qualifiedName, String displayName, String referenceTitle, String referenceAbstract, String description, List<String> authors, int numberOfPages, String pageRange, String authorOrganization, String publicationSeries, String publicationSeriesVolume, String edition, String versionNumber, String referenceURL, String publisher, Date firstPublicationDate, Date publicationDate, String publicationCity, String publicationYear, List<String> publicationNumbers, String license, String copyright, String attribution, List<String> searchKeywords, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create an external reference entity. This typically describes a publication, webpage book or reference source of information that is from an external organization.- Parameters:
typeName
- name of element subtype to use - default is ExternalReferenceanchorGUID
- unique identifier if its anchor (or null)anchorTypeName
- type name of the anchor entityanchorDomainName
- type name of the anchor entity's domainqualifiedName
- unique name for the elementdisplayName
- display name for the elementreferenceTitle
- full title from the publicationreferenceAbstract
- full abstract from the publicationdescription
- description about the elementauthors
- authors of the elementnumberOfPages
- number of pages in the external sourcepageRange
- range of pages that is significantauthorOrganization
- organization that the information is frompublicationSeries
- publication series or journal that the external source is from.publicationSeriesVolume
- volume of the publication series where the external source is foundedition
- edition where the external source is fromversionNumber
- version number for the elementreferenceURL
- link to the external sourcepublisher
- publisher of the external sourcefirstPublicationDate
- date this material was first published (ie first version's publication date)publicationDate
- date that this version was publishedpublicationCity
- city that the publisher operates frompublicationYear
- year that this version was publishedpublicationNumbers
- list of ISBNs for this external sourcelicense
- name of the license associated with this external sourcecopyright
- copyright statement associated with this external sourceattribution
- attribution statement to use when consuming this external sourcesearchKeywords
- list of keywordsadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtype- Returns:
- unique identifier for new external reference (externalReferenceGUID)
-
addExternalReferenceLink
public void addExternalReferenceLink(String referenceableGUID, String externalReferenceGUID, String referenceId, String description, String pages) Create the relationship between a referenceable and an external reference.- Parameters:
referenceableGUID
- unique identifier of the element making the referenceexternalReferenceGUID
- unique identifier of the external referencereferenceId
- unique reference id for this referenceabledescription
- description of the relevance of the external referencepages
- relevant pages in the external reference
-
addMediaReference
public String addMediaReference(String typeName, String qualifiedName, String displayName, String description, List<String> authors, String authorOrganization, String versionNumber, String referenceURL, String license, String copyright, String attribution, int mediaType, String mediaTypeOtherId, int defaultMediaUsage, String defaultMediaUsageOtherId, List<String> searchKeywords, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create a media reference entity. This typically describes an image, audio clip or video clip.- Parameters:
typeName
- name of element subtype to use - default is RelatedMediaqualifiedName
- unique name for the elementdisplayName
- display name for the elementdescription
- description about the elementauthors
- authors of the elementauthorOrganization
- organization that the information is fromversionNumber
- version number for the elementreferenceURL
- link to the external sourcelicense
- name of the license associated with this external sourcecopyright
- copyright statement associated with this external sourceattribution
- attribution statement to use when consuming this external sourcemediaType
- type of mediamediaTypeOtherId
- if media type is "other" add type heredefaultMediaUsage
- usage of media if not supplied on media reference link relationshipdefaultMediaUsageOtherId
- if default media usage is "other" add usage type heresearchKeywords
- list of keywordsadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtype- Returns:
- unique identifier for new media reference (mediaReferenceGUID)
-
addMediaReferenceLink
public void addMediaReferenceLink(String referenceableGUID, String mediaReferenceGUID, String mediaId, String description, int mediaUsage, String mediaUsageOtherId) Create the relationship between a referenceable and an external reference.- Parameters:
referenceableGUID
- unique identifier of the element making the referencemediaReferenceGUID
- unique identifier of the media referencemediaId
- unique reference id for this media elementdescription
- description of the relevance of the media referencemediaUsage
- type of usagemediaUsageOtherId
- other type of media usage (for example if using a valid value set).
-
addDeployedOnRelationship
public void addDeployedOnRelationship(String deployedElementQName, String deployedOnQName, Date deploymentTime, String deployerTypeName, String deployerPropertyName, String deployer, int deploymentStatus) Add the DeployedOn relationship to the archive.- Parameters:
deployedElementQName
- qualified name of element being deployeddeployedOnQName
- qualified name of targetdeploymentTime
- time of the deploymentdeployerTypeName
- type name of the element representing the deployerdeployerPropertyName
- property name used to identify the deployerdeployer
- identifier of the deployerdeploymentStatus
- status of the deployment
-
addResourceListRelationship
public void addResourceListRelationship(String parentQName, String resourceQName, String resourceUse, String resourceUseDescription) Add the ResourceList relationship to the archive.- Parameters:
parentQName
- qualified name of resource consumerresourceQName
- qualified name of resourceresourceUse
- use descriptorresourceUseDescription
- description of use
-
addResourceListRelationshipByGUID
public void addResourceListRelationshipByGUID(String parentGUID, String resourceGUID, String resourceUse, String resourceUseDescription) Add the ResourceList relationship to the archive.- Parameters:
parentGUID
- unique identifier of resource consumerresourceGUID
- unique identifier of resourceresourceUse
- use descriptorresourceUseDescription
- description of use
-
addResourceListRelationshipByGUID
public void addResourceListRelationshipByGUID(String parentGUID, String resourceGUID, String resourceUse, String resourceUseDescription, Map<String, String> resourceUseProperties, boolean watchResource) Add the ResourceList relationship to the archive.- Parameters:
parentGUID
- unique identifier of resource consumerresourceGUID
- unique identifier of resourceresourceUse
- description of useresourceUseProperties
- propertiesresourceUseDescription
- descriptionwatchResource
- should watch?
-
addResourceListRelationship
public void addResourceListRelationship(String referenceableQName, String resourceQName, String resourceUse, String resourceUseDescription, Map<String, String> resourceUseProperties, boolean watchResource) Link a referenceable to another referenceable to indicate that the second referenceable is providing resources in support of the first.- Parameters:
referenceableQName
- qualified name of the referenceableresourceQName
- qualified name of the second referenceableresourceUse
- string description (use ResourceUse enum from GAF)resourceUseDescription
- description of how the resource is usedresourceUseProperties
- additional properties associated with the resourcewatchResource
- should the resource be watched (boolean)
-
addLocation
public String addLocation(String qualifiedName, String identifier, String displayName, String description, Map<String, String> additionalProperties) Add a location entity to the archive.- Parameters:
qualifiedName
- unique name of the locationidentifier
- code value or symbol used to identify the location - typically uniquedisplayName
- display name of the locationdescription
- description of the locationadditionalProperties
- any additional properties- Returns:
- unique identifier of the location
-
addFixedLocation
public String addFixedLocation(String qualifiedName, String identifier, String displayName, String description, String coordinates, String mapProjection, String postalAddress, String timeZone, Map<String, String> additionalProperties) Add a location with a FixedLocation classification.- Parameters:
qualifiedName
- unique name of the locationidentifier
- code value or symbol used to identify the location - typically uniquedisplayName
- display name of the locationdescription
- description of the locationcoordinates
- location coordinatesmapProjection
- type of location coordinatespostalAddress
- full postal addresstimeZone
- timezone of locationadditionalProperties
- any additional properties- Returns:
- unique identifier of the new location
-
addSecureLocation
public String addSecureLocation(String qualifiedName, String identifier, String displayName, String description, String level, String securityDescription, Map<String, String> additionalProperties) Add a location with a SecureLocation classification.- Parameters:
qualifiedName
- unique name of the locationidentifier
- code value or symbol used to identify the location - typically uniquedisplayName
- display name of the locationdescription
- description of the locationlevel
- level of securitysecurityDescription
- description of security provisionadditionalProperties
- additional properties for the location- Returns:
- unique identifier of the new location
-
addCyberLocation
public String addCyberLocation(String qualifiedName, String identifier, String displayName, String description, String networkAddress, Map<String, String> additionalProperties) Add a location entity with the CyberLocation classification to the archive.- Parameters:
qualifiedName
- unique name of the locationidentifier
- code value or symbol used to identify the location - typically uniquedisplayName
- display name of the locationdescription
- description of the locationnetworkAddress
- address of the cyber locationadditionalProperties
- any additional properties- Returns:
- unique identifier of the location
-
addMobileAssetClassification
Add the MobileAsset classification to the requested asset.- Parameters:
assetGUID
- unique identifier of the element to classify
-
addLocationHierarchy
Create the relationship between a locations and one of the locations nested within it.- Parameters:
broaderLocationGUID
- unique identifier of the broader locationnestedLocationGUID
- unique identifier of the nested location
-
addPeerLocations
Link two locations as peers using the AdjacentLocation relationship.- Parameters:
location1GUID
- unique identifier of the broader locationlocation2GUID
- unique identifier of the nested location
-
addAssetLocationRelationship
Link a location to an asset.- Parameters:
locationQName
- qualified name of the locationassetQName
- qualified name of the asset
-
addUserIdentity
public String addUserIdentity(String qualifiedName, String userId, String distinguishedName, Map<String, String> additionalProperties) Add a user identity entity to the archive.- Parameters:
qualifiedName
- unique name of the user identityuserId
- name of the user accountdistinguishedName
- LDAP name for the useradditionalProperties
- any additional properties- Returns:
- unique identifier of the user identity
-
addProfileLocationRelationship
public void addProfileLocationRelationship(String profileQName, String locationQName, String associationType) Link a location to a profile.- Parameters:
profileQName
- qualified name of the profilelocationQName
- qualified name of the locationassociationType
- identifier that describes the purpose of the association.
-
addProfileIdentity
public void addProfileIdentity(String profileGUID, String userIdentityGUID, String roleTypeName, String roleGUID, String description) Create the relationship between a profile and one of its userIds.- Parameters:
profileGUID
- unique identifier of the actor profileuserIdentityGUID
- unique identifier of the user identityroleTypeName
- type of role that uses this userIdroleGUID
- unique identifier of role that uses this userIddescription
- description of why role uses this userId
-
addContactDetails
public void addContactDetails(String profileGUID, String profileTypeName, String name, String contactType, int contactMethodType, String contactMethodService, String contactMethodValue) Add a contact method to a profile.- Parameters:
profileGUID
- unique identifier for a profilename
- name of the contact methodcontactType
- type of contact - eg home address, work mobile, emergency contact ...contactMethodType
- type of contact addresscontactMethodService
- service used in the contact methodcontactMethodValue
- name/account/url used to contact the individual
-
addPersonRole
public String addPersonRole(String suppliedTypeName, String qualifiedName, String identifier, String name, String description, String scope, boolean setHeadCount, int headCount, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Add a new person role.- Parameters:
suppliedTypeName
- type name to use for the person rolequalifiedName
- qualified name of roleidentifier
- unique codename
- display namedescription
- description (eg job description)scope
- scope of role's responsibilitiessetHeadCount
- should the headcount field be set?headCount
- number of people that may be appointed to the role (default = 1)additionalProperties
- are there any additional properties to addextendedProperties
- any additional properties associated with a subtype- Returns:
- unique identifier of the new profile
-
addGovernanceRole
public String addGovernanceRole(String suppliedTypeName, String qualifiedName, int domainIdentifier, String identifier, String name, String description, String scope, boolean setHeadCount, int headCount, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Add a new person role.- Parameters:
suppliedTypeName
- type name to use for the person rolequalifiedName
- qualified name of roledomainIdentifier
- identifier of governance domainidentifier
- unique codename
- display namedescription
- description (eg job description)scope
- scope of role's responsibilitiessetHeadCount
- should the headcount field be set?headCount
- number of people that may be appointed to the role (default = 1)additionalProperties
- are there any additional properties to addextendedProperties
- any additional properties associated with a subtype- Returns:
- unique identifier of the new profile
-
addPersonRoleAppointmentRelationship
public void addPersonRoleAppointmentRelationship(String personQName, String personRoleQName, boolean isPublic) Link a person profile to a person role.- Parameters:
personQName
- qualified name of the person profilepersonRoleQName
- qualified name of the person roleisPublic
- is this appointment public?
-
addPeerRelationship
Link a person profile to another person as a peer.- Parameters:
person1QName
- qualified name of the first person profileperson2QName
- qualified name of the second person profile
-
addPerson
public String addPerson(String qualifiedName, String name, String pronouns, String description, String initials, String title, String givenNames, String surname, String fullName, String jobTitle, String employeeNumber, String employeeType, String preferredLanguage, boolean isPublic, Map<String, String> additionalProperties) Add a new person profile.- Parameters:
qualifiedName
- qualified name of profilename
- display name (preferred name of individual)pronouns
- preferred pronounsdescription
- description (eg job description)title
- courtesy titleinitials
- given names initialsgivenNames
- list of given namessurname
- family namefullName
- full legal namejobTitle
- job titleemployeeNumber
- unique employee contract numberemployeeType
- type of employeepreferredLanguage
- preferred language to communicate withisPublic
- is this profile publicadditionalProperties
- are there any additional properties to add- Returns:
- unique identifier of the new profile
-
addTeam
public String addTeam(String suppliedTypeName, String qualifiedName, String name, String description, String teamType, String identifier, Map<String, String> additionalProperties) Add a new team profile.- Parameters:
suppliedTypeName
- type name for the teamqualifiedName
- qualified name of profilename
- display name (preferred name of individual)description
- description (eg job description)teamType
- type of teamidentifier
- code value identifier for the teamadditionalProperties
- are there any additional properties to add- Returns:
- unique identifier of the new profile
-
addTeamLeadershipRelationship
public void addTeamLeadershipRelationship(String personRoleQName, String teamQName, String position) Link a person role as a team's leader.- Parameters:
personRoleQName
- qualified name of the person roleteamQName
- qualified name of the team profileposition
- position of the role
-
addTeamMembershipRelationship
public void addTeamMembershipRelationship(String personRoleQName, String teamQName, String position) Link a person role as a team's member.- Parameters:
personRoleQName
- qualified name of the person roleteamQName
- qualified name of the team profileposition
- position of the role
-
addTeamStructureRelationship
public void addTeamStructureRelationship(String superTeamQName, String subTeamQName, boolean delegationEscalationAuthority) Link a person role as a team's member.- Parameters:
superTeamQName
- qualified name of the super team profilesubTeamQName
- qualified name of the subteam profiledelegationEscalationAuthority
- delegationEscalationAuthority of the role
-
addITProfileToAsset
public String addITProfileToAsset(String assetGUID, String qualifiedName, String name, String description, Map<String, String> additionalProperties) Add a new IT profile.- Parameters:
assetGUID
- unique identifier of asset to connect the profile to.qualifiedName
- qualified name of profilename
- display name (preferred name of individual)description
- description (eg job description)additionalProperties
- are there any additional properties to add- Returns:
- unique identifier of the new profile
-
addAssignmentScopeRelationship
public void addAssignmentScopeRelationship(String actorQName, String scopeQName, String assignmentType, String description) Link an actor (profile/person role) to a scope.- Parameters:
actorQName
- qualified name of the actorscopeQName
- qualified name of the scopeassignmentType
- type of the assignmentdescription
- description of the assignment
-
addProject
public String addProject(String suppliedTypeName, String qualifiedName, String identifier, String name, String description, Date startDate, Date plannedEndDate, String projectPhase, String projectHealth, String projectStatus, boolean setCampaignClassification, boolean setTaskClassification, String projectTypeClassification, List<Classification> otherClassifications, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Add a new project.- Parameters:
suppliedTypeName
- subtype informationqualifiedName
- qualified name of projectidentifier
- unique identifier of project - typically allocated externallyname
- display namedescription
- descriptionstartDate
- date the project startedplannedEndDate
- date the project is expected to endprojectPhase
- lifecycle phase of the projectprojectHealth
- health of the project's executionprojectStatus
- status of the projectsetCampaignClassification
- should the Campaign classification be set?setTaskClassification
- should the Task classification be set?projectTypeClassification
- add special classification that defines the type of project - eg GlossaryProject or GovernanceProjectotherClassifications
- any other classifications, such as TemplateadditionalProperties
- are there any additional properties to addextendedProperties
- any additional properties associated with a subtype- Returns:
- unique identifier of the new profile
-
addProjectHierarchyRelationship
Link a project to a subproject.- Parameters:
projectQName
- qualified name of the parent projectsubprojectQName
- qualified name of the subproject
-
addStakeHolderRelationship
Link a referenceable to its stakeholders.- Parameters:
referenceableQName
- qualified name of the parent projectactorQName
- qualified name of the subproject
-
addProjectDependencyRelationship
public void addProjectDependencyRelationship(String projectQName, String dependsOnProjectQName, String dependencySummary) Link a project to another project that it depends on.- Parameters:
projectQName
- qualified name of the projectdependsOnProjectQName
- qualified name of the project that it depends ondependencySummary
- description of what makes them dependent
-
addProjectTeamRelationship
Link a project to a team. A project may have multiple teams.- Parameters:
personQName
- qualified name of the person profilepersonRoleQName
- qualified name of the person roleteamRole
- role of this team in the project
-
addProjectManagementRelationship
Link a project to a person role that represents the project manager(s).- Parameters:
projectQName
- qualified name of the projectprojectManagerRoleQName
- qualified name of the person role
-
addCommunity
public String addCommunity(String suppliedTypeName, String qualifiedName, String name, String description, String mission, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Add a new community.- Parameters:
suppliedTypeName
- subtype informationqualifiedName
- qualified name of communityname
- display namedescription
- descriptionmission
- why is the community formed?additionalProperties
- are there any additional properties to addextendedProperties
- any additional properties associated with a subtype- Returns:
- unique identifier of the new profile
-
addCommunityMembershipRelationship
public void addCommunityMembershipRelationship(String communityQName, String membershipRoleQName, int membershipType) Link a community to a person role.- Parameters:
communityQName
- qualified name of the communitymembershipRoleQName
- qualified name of the membership rolemembershipType
- ordinal of enum
-
addCollection
public String addCollection(String suppliedTypeName, String anchorGUID, String anchorTypeName, String anchorDomainName, String classificationName, String qualifiedName, String displayName, String description, String collectionType, Map<String, String> additionalProperties, List<Classification> otherClassifications, Map<String, Object> extendedProperties) Create a collection entity.- Parameters:
suppliedTypeName
- type of collectionanchorGUID
- unique identifier of the anchor for the collection - if null then own anchoranchorTypeName
- unique type name of the anchor for the collectionanchorDomainName
- unique type name of the anchor's domainclassificationName
- name of classification to attachqualifiedName
- unique name for the collection entitydisplayName
- display name for the collectiondescription
- description about the collectioncollectionType
- type of collectionadditionalProperties
- any other propertiesotherClassifications
- additional classifications for the collection (eg Template)extendedProperties
- additional properties defined in the subtype- Returns:
- unique identifier for subject area (collectionGUID)
-
addMemberToCollection
public void addMemberToCollection(String collectionGUID, String memberGUID, String membershipRationale) Add a member to a collection.- Parameters:
collectionGUID
- unique identifier of the collectionmemberGUID
- unique identifier of the membermembershipRationale
- why is this member in this collection
-
addGovernanceDomainDescription
public String addGovernanceDomainDescription(String governanceDomainSetGUID, String qualifiedName, int domainIdentifier, String displayName, String description, Map<String, String> additionalProperties) Create a governance domain description entity.- Parameters:
qualifiedName
- unique name for the governance domain entitydomainIdentifier
- unique identifier of the governance domaindisplayName
- display name for the governance domaindescription
- description about the governance domainadditionalProperties
- any other propertiesgovernanceDomainSetGUID
- unique identifier of the collection for the domain definitions- Returns:
- unique identifier for the governance domain (governanceDomainGUID)
-
addGovernanceDefinition
public String addGovernanceDefinition(String suppliedTypeName, String qualifiedName, String title, String summary, String description, String scope, int domainIdentifier, String priority, List<String> implications, List<String> outcomes, List<String> results, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create a governance definition entity.- Parameters:
suppliedTypeName
- type of governance definition to addqualifiedName
- unique name for the governance definition entitytitle
- title for the governance definitionsummary
- short description for the governance definitiondescription
- description about the governance definitionscope
- scope where the governance definition is usedpriority
- how important is the governance definitiondomainIdentifier
- unique identifier of the governance domainimplications
- expected impact of adopting this definitionoutcomes
- expected outcomes from adopting this definitionresults
- results from adopting this definitionadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtype- Returns:
- unique identifier for governance definition (governanceDefinitionGUID)
-
addGovernanceDefinitionScopeRelationship
public void addGovernanceDefinitionScopeRelationship(String referenceableQName, String governanceDefinitionQName) Link a referenceable to a governance definition to define the scope there it applies.- Parameters:
referenceableQName
- qualified name of the referenceablegovernanceDefinitionQName
- qualified name of the governance definition
-
addGovernedByRelationship
Link a referenceable to a governance definition to indicate that it is governed by the governance definition.- Parameters:
referenceableQName
- qualified name of the referenceablegovernanceDefinitionQName
- qualified name of the governance definition
-
addGovernanceDefinitionPeerRelationship
public void addGovernanceDefinitionPeerRelationship(String relationshipTypeName, String governanceDefinition1QName, String governanceDefinition2QName, String description) Link two governance definitions at the same level.- Parameters:
relationshipTypeName
- type of relationshipgovernanceDefinition1QName
- qualified name of the referenceablegovernanceDefinition2QName
- qualified name of the governance definitiondescription
- description of the peer relationship
-
addGovernanceDefinitionDelegationRelationship
public void addGovernanceDefinitionDelegationRelationship(String relationshipTypeName, String governanceDefinition1QName, String governanceDefinition2QName, String rationale) Link two governance definitions at the same level.- Parameters:
relationshipTypeName
- type of relationshipgovernanceDefinition1QName
- qualified name of the referenceablegovernanceDefinition2QName
- qualified name of the governance definitionrationale
- description of the delegation relationship
-
addGovernanceZone
public String addGovernanceZone(String qualifiedName, String zoneName, String displayName, String description, String criteria, String scope, int domainIdentifier, Map<String, String> additionalProperties) Create a governance zone entity.- Parameters:
qualifiedName
- unique name for the zone entityzoneName
- unique name for the zonedisplayName
- display name for the zonedescription
- description about the zonescope
- scope where the zone is usedcriteria
- what is the common characteristic of assets in this zone?domainIdentifier
- unique identifier of the governance domain (0 means all/any)additionalProperties
- any other properties- Returns:
- unique identifier for governance zone (governanceZoneGUID)
-
addZoneHierarchy
Create the relationship between a governance zone and one of its nested governance zones.- Parameters:
broaderGovernanceZoneGUID
- unique identifier of the broader zonenestedGovernanceZoneGUID
- unique identifier of the nested (narrower) zone
-
getAssetZoneMembershipClassification
Return the asset zone membership classification.- Parameters:
zones
- list of zones that the asset is a member of.
-
addAssetZoneMembershipClassification
Add the asset zone membership classification to the requested asset.- Parameters:
assetGUID
- unique identifier of the asset to classifyzones
- list of zones that the asset is a member of.
-
getAssetOriginClassification
public Classification getAssetOriginClassification(String organization, String organizationPropertyName, String businessCapability, String businessCapabilityPropertyName, Map<String, String> otherOriginValues) Return the asset origin classification.- Parameters:
organization
- organization GUID/nameorganizationPropertyName
- property name used to id the organizationbusinessCapability
- business capability GUID/namebusinessCapabilityPropertyName
- property name used to id the business capabilityotherOriginValues
- map of other values- Returns:
- classification
-
getConfidentialityClassification
public Classification getConfidentialityClassification(int statusIdentifier, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String source, String notes, int levelIdentifier) Return the confidentiality classification.- Parameters:
statusIdentifier
- status of this classificationconfidence
- how confident that it is correct 0-100steward
- who agreed to the settingstewardTypeName
- that type of element is describing the stewardstewardPropertyName
- which property name was used to identify the stewardsource
- what is the source of this classificationnotes
- additional notes from the stewardlevelIdentifier
- what is the level of the classification- Returns:
- classification
-
addSubjectAreaDefinition
public String addSubjectAreaDefinition(String qualifiedName, String subjectAreaName, String displayName, String description, String scope, String usage, int domainIdentifier, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create a subject area definition entity.- Parameters:
qualifiedName
- unique name for the subject area entitysubjectAreaName
- unique name for the subject areadisplayName
- display name for the subject areadescription
- description about the subject areascope
- scope where the subject area is usedusage
- how is the subject area useddomainIdentifier
- unique identifier of the governance domainadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtype- Returns:
- unique identifier for subject area (subjectAreaGUID)
-
addSubjectAreaHierarchy
Create the relationship between a subject area and one of its nested subject areas.- Parameters:
broaderSubjectAreaGUID
- unique identifier of the broader subject areanestedSubjectAreaGUID
- unique identifier of the nested (narrower) subject area
-
addSubjectAreaClassification
Add the subject area classification to the requested element.- Parameters:
referenceableGUID
- unique identifier of the element to classifysubjectAreaQualifiedName
- name of the subject area. The suggestion is that the name used is the qualified name.
-
addBusinessArea
public String addBusinessArea(String qualifiedName, String identifier, String displayName, String description, Map<String, String> additionalProperties) Create a business area entity.- Parameters:
qualifiedName
- unique name for the business area entityidentifier
- unique name for the business areadisplayName
- display name for the business areadescription
- description about the business areaadditionalProperties
- any other properties- Returns:
- unique identifier for business area (businessAreaGUID)
-
addOrganizationalCapabilityRelationship
public void addOrganizationalCapabilityRelationship(String businessCapabilityQName, String teamQName, String scope) Add an OrganizationalCapability relationship.- Parameters:
businessCapabilityQName
- qualified name of the specialized termteamQName
- qualified name of the generalized termscope
- scope of the team's ability to support the business capability
-
addDesignModel
public String addDesignModel(String typeName, String classificationName, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create a design model entity.- Parameters:
typeName
- name of element subtype to use - default is DesignModelclassificationName
- name of classification the identifies the type of design modelqualifiedName
- unique name for the elementdisplayName
- display name for the elementtechnicalName
- technical name for the elementdescription
- description about the elementversionNumber
- version number for the elementauthor
- author of the elementadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtype- Returns:
- unique identifier for new design model (designModelGUID)
-
addDesignModelElement
public String addDesignModelElement(String designModelGUID, String designModelTypeName, String typeName, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create a design model element entity. This may be a group or an element in the model.- Parameters:
designModelGUID
- unique identifier of model that owns this elementdesignModelTypeName
- unique type name of model that owns this elementtypeName
- name of element subtype to use - default is DesignModelElementqualifiedName
- unique name for the elementdisplayName
- display name for the elementtechnicalName
- technical name for the elementdescription
- description about the elementversionNumber
- version number for the elementauthor
- author of the elementadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtypeclassifications
- list of classifications (if any)- Returns:
- unique identifier for the new model element
-
addDesignModelGroupMembership
Create the relationship between a design model group and one of its members.- Parameters:
groupGUID
- unique identifier of the design model groupmemberGUID
- unique identifier of the member
-
addConceptBeadRelationshipEnd
public void addConceptBeadRelationshipEnd(String conceptBeadLinkGUID, String conceptBeadGUID, String attributeName, int conceptModelDecoration, int position, int minCardinality, int maxCardinality, boolean uniqueValues, boolean orderedValues, boolean navigable) Create the relationship between a concept bead link and the concept bead at one of its ends.- Parameters:
conceptBeadLinkGUID
- unique identifier of the concept bead link entityconceptBeadGUID
- unique identifier of the concept beadattributeName
- name of the attribute for this endconceptModelDecoration
- what type of relationship endposition
- in the attributes for the beadminCardinality
- minimum number of the relationshipsmaxCardinality
- maximum number of the relationshipsuniqueValues
- are the relationship values uniqueorderedValues
- are the relationship values in any order (using position)navigable
- is it possible to navigate to the concept bead
-
addConceptBeadAttributeLink
public void addConceptBeadAttributeLink(String conceptBeadGUID, String conceptBeadAttributeGUID, int position, int minCardinality, int maxCardinality, boolean uniqueValues, boolean orderedValues) Create the relationship between a concept bead link and the concept bead at one of its ends.- Parameters:
conceptBeadGUID
- unique identifier of the concept bead entityconceptBeadAttributeGUID
- unique identifier of the concept bead attribute entityposition
- in the attributes for the beadminCardinality
- minimum number of the relationshipsmaxCardinality
- maximum number of the relationshipsuniqueValues
- are the relationship values uniqueorderedValues
- are the relationship values in any order (using position)
-
addPropertyFacet
public void addPropertyFacet(String referenceableGUID, String referenceableTypeName, String referenceableDomainName, String referenceableQualifiedName, String source, String schemaVersion, String description, Map<String, String> facetProperties) Adds a property facet entity and links it to the referenceable via the ReferenceableFacet relationship. The PropertyFacet is anchored to the referenceable.- Parameters:
referenceableGUID
- referenceable being describedreferenceableTypeName
- type name of referenceablereferenceableDomainName
- domain name of referenceable's typereferenceableQualifiedName
- qualified name of the referenceablesource
- source of the extra informationschemaVersion
- version of the schema for the propertiesdescription
- description of the properties (typically vendorProperties)facetProperties
- properties for the facet
-
addAsset
public String addAsset(String typeName, String qualifiedName, String name, String description, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create an asset entity.- Parameters:
typeName
- name of asset subtype to use - default is AssetqualifiedName
- unique name for the assetname
- display name for the assetdescription
- description about the assetadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtypeclassifications
- list of classifications (if any)- Returns:
- id for the asset
-
addAnchoredAsset
public String addAnchoredAsset(String typeName, String anchorGUID, String anchorTypeName, String anchorDomainName, String qualifiedName, String name, String versionIdentifier, String description, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create an asset entity with the supplied anchor.- Parameters:
typeName
- name of asset subtype to use - default is AssetanchorGUID
- unique identifier of the anchoranchorTypeName
- type name of the anchoranchorDomainName
- domain name of the anchorqualifiedName
- unique name for the assetname
- display name for the assetversionIdentifier
- version for the assetdescription
- description about the assetadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtypeclassifications
- list of classifications (if any)- Returns:
- id for the asset
-
addAsset
public String addAsset(String typeName, String qualifiedName, String name, String versionIdentifier, String description, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create an asset entity that is anchored to itself.- Parameters:
typeName
- name of asset subtype to use - default is AssetqualifiedName
- unique name for the assetname
- display name for the assetversionIdentifier
- version for the assetdescription
- description about the assetadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtypeclassifications
- list of classifications (if any)- Returns:
- id for the asset
-
addAsset
public String addAsset(String typeName, String qualifiedName, String name, String description, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create an asset entity.- Parameters:
typeName
- name of asset subtype to use - default is AssetqualifiedName
- unique name for the assetname
- display name for the assetdescription
- description about the assetadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtype- Returns:
- id for the asset
-
addAsset
public String addAsset(String typeName, String qualifiedName, String name, String description, List<String> governanceZones, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create an asset entity.- Parameters:
typeName
- name of asset subtype to use - default is AssetqualifiedName
- unique name for the assetname
- display name for the assetdescription
- description about the assetgovernanceZones
- list of zones to add to the assetadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtype- Returns:
- id for the asset
-
addAsset
public String addAsset(String typeName, String qualifiedName, String name, String versionIdentifier, String description, List<String> governanceZones, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Create an asset entity.- Parameters:
typeName
- name of asset subtype to use - default is AssetqualifiedName
- unique name for the assetname
- display name for the assetversionIdentifier
- version of the assetdescription
- description about the assetgovernanceZones
- list of zones to add to the assetadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtype- Returns:
- id for the asset
-
addProcess
public String addProcess(String typeName, String qualifiedName, String name, String description, String formula, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create a process entity.- Parameters:
typeName
- name of asset subtype to use - default is AssetqualifiedName
- unique name for the assetname
- display name for the assetdescription
- description about the assetformula
- description of the logic that this process performsadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtypeclassifications
- list of classifications (if any)- Returns:
- id for the asset
-
addProcess
public String addProcess(String typeName, String qualifiedName, String name, String versionIdentifier, String description, String formula, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> classifications) Create a process entity.- Parameters:
typeName
- name of asset subtype to use - default is AssetqualifiedName
- unique name for the assetname
- display name for the assetversionIdentifier
- version of the assetdescription
- description about the assetformula
- description of the logic that this process performsadditionalProperties
- any other propertiesextendedProperties
- additional properties defined in the subtypeclassifications
- list of classifications (if any)- Returns:
- id for the asset
-
addSoftwareCapability
public String addSoftwareCapability(String typeName, String qualifiedName, String name, String description, String deployedImplementationType, String capabilityVersion, String patchLevel, String source, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, Classification classification, String anchorGUID, String anchorTypeName, String anchorDomainName) Create a software capability entity. It the anchor GUID/typeName is supplied, the new capability is anchored to that entity; otherwise it is its own anchor.- Parameters:
typeName
- name of software capability subtype to use - default is SoftwareCapabilityqualifiedName
- unique name for the capabilityname
- display name for the capabilitydescription
- description about the capabilitydeployedImplementationType
- typecapabilityVersion
- versionpatchLevel
- patch levelsource
- sourceadditionalProperties
- any other propertiesextendedProperties
- properties for subtypeanchorGUID
- optional unique identifier for the anchoranchorTypeName
- optional type name for the anchor.- Returns:
- id for the capability
-
addSoftwareCapability
public String addSoftwareCapability(String typeName, String qualifiedName, String name, String description, String deployedImplementationType, String capabilityVersion, String patchLevel, String source, Map<String, String> additionalProperties, Map<String, Object> extendedProperties, List<Classification> suppliedClassifications, String anchorGUID, String anchorTypeName, String anchorDomainName) Create a software capability entity. It the anchor GUID/typeName is supplied, the new capability is anchored to that entity; otherwise it is its own anchor.- Parameters:
typeName
- name of software capability subtype to use - default is SoftwareCapabilityqualifiedName
- unique name for the capabilityname
- display name for the capabilitydescription
- description about the capabilitydeployedImplementationType
- typecapabilityVersion
- versionpatchLevel
- patch levelsource
- sourceadditionalProperties
- any other propertiesextendedProperties
- properties for subtypesuppliedClassifications
- classifications from the calleranchorGUID
- optional unique identifier for the anchoranchorTypeName
- optional type name for the anchor.anchorDomainName
- domain name of the anchor- Returns:
- id for the capability
-
addConnectionForAsset
Create the relationship between an asset and its connection.- Parameters:
assetGUID
- unique identifier of the assetassetSummary
- summary of the asset from the connection perspectiveconnectionGUID
- unique identifier of the connection to its content
-
addDataContentForDataSet
Create the relationship between a data set and an asset that is providing all or part of its content.- Parameters:
dataContentGUID
- unique identifier of the data storedataSetGUID
- unique identifier of the consuming data set
-
addDataContentForDataSet
public void addDataContentForDataSet(String dataContentGUID, String dataSetGUID, String queryId, String query) Create the relationship between a data set and an asset that is providing all or part of its content.- Parameters:
dataContentGUID
- unique identifier of the data storedataSetGUID
- unique identifier of the consuming data setqueryId
- identifier of the query used to combine results in a broader formula of the data setquery
- query to issue against this data content
-
addLineageRelationship
public void addLineageRelationship(String sourceGUID, String destinationGUID, String relationshipType, String label) Create a lineage relationship between the two elements- Parameters:
sourceGUID
- unique identifier of the element at end 1destinationGUID
- unique identifier of the element at end 2relationshipType
- type name of lineage relationshiplabel
- label of the relationship
-
getDataAssetEncodingClassification
public Classification getDataAssetEncodingClassification(String encoding, String language, String description, Map<String, String> properties) Create a DataStoreEncoding classification containing the supplied properties.- Parameters:
encoding
- encoding formatlanguage
- encoding languagedescription
- encoding descriptionproperties
- additional properties- Returns:
- classification
-
addTopLevelSchemaType
public String addTopLevelSchemaType(String assetGUID, String assetTypeName, String typeName, String qualifiedName, String displayName, String description, Map<String, String> additionalProperties) Create the top level schema type for an asset.- Parameters:
assetGUID
- unique identifier of assetassetTypeName
- typename of the anchortypeName
- name of asset subtype to use - default is SchemaTypequalifiedName
- unique name for the schema typedisplayName
- display name for the schema typedescription
- description about the schema typeadditionalProperties
- any other properties- Returns:
- id for the schemaType
-
addSchemaType
public String addSchemaType(String assetGUID, String assetTypeName, String typeName, String qualifiedName, String displayName, String description, Map<String, String> additionalProperties) Create the schema type by do not link it it a parent.- Parameters:
assetGUID
- anchor guidassetTypeName
- anchor type nametypeName
- type name of schema typequalifiedName
- qualified namedisplayName
- display namedescription
- descriptionadditionalProperties
- any additional properties- Returns:
- guid of the schema type
-
addAPIOperation
public String addAPIOperation(String apiSchemaTypeGUID, String qualifiedName, String displayName, String description, String path, String command, Map<String, String> additionalProperties) Create the schema type for an API operation.- Parameters:
apiSchemaTypeGUID
- unique identifier of top level schemaTypequalifiedName
- unique name for the schema typedisplayName
- display name for the schema typedescription
- description about the schema typepath
- the path name for the operationcommand
- the command to issue eg GET, POSTadditionalProperties
- any other properties- Returns:
- id for the schemaType
-
addAPIParameterList
public String addAPIParameterList(String apiOperationGUID, String relationshipTypeName, String qualifiedName, String displayName, String description, boolean required, Map<String, String> additionalProperties) Create a parameter list schema type for an API operation.- Parameters:
apiOperationGUID
- unique identifier of top level schemaTyperelationshipTypeName
- name of relationship type - default is APIRequestqualifiedName
- unique name for the schema typedisplayName
- display name for the schema typedescription
- description about the schema typerequired
- is this parameter list requiredadditionalProperties
- any other properties- Returns:
- id for the schemaType
-
addAPIParameter
public String addAPIParameter(String typeName, String schemaTypeName, String qualifiedName, String displayName, String description, String dataType, int length, int position, String parameterType, Map<String, String> additionalProperties) Create a schema attribute with a TypeEmbeddedAttribute classification.- Parameters:
typeName
- name of schema attribute subtype to use - default is SchemaAttributeschemaTypeName
- name of schema type subtype to use - default is PrimitiveSchemaTypequalifiedName
- unique name for the schema attributedisplayName
- display name for the schema attributedescription
- description about the schema attributedataType
- data type for the schema attributelength
- length of the storage used by the schema attributeposition
- position in the schema at this levelparameterType
- type of parameteradditionalProperties
- any other properties.- Returns:
- id for the schema attribute
-
addSchemaTypeOption
Create the relationship between a SchemaTypeChoice element and a child element using the SchemaTypeOption relationship.- Parameters:
schemaTypeChoiceGUID
- unique identifier of the parent elementschemaTypeOptionGUID
- unique identifier of the child element
-
addAttributeForSchemaType
Create the relationship between a SchemaType element and a child SchemaAttribute element using the AttributeForSchema relationship.- Parameters:
schemaTypeGUID
- unique identifier of the parent elementschemaAttributeGUID
- unique identifier of the child element
-
addNestedSchemaAttribute
public void addNestedSchemaAttribute(String parentSchemaAttributeGUID, String childSchemaAttributeGUID) Create the relationship between a SchemaAttribute element and a child SchemaAttribute element using the NestedSchemaAttribute relationship.- Parameters:
parentSchemaAttributeGUID
- unique identifier of the parent elementchildSchemaAttributeGUID
- unique identifier of the child element
-
addSchemaAttribute
public String addSchemaAttribute(String assetGUID, String assetTypeName, String typeName, String schemaTypeName, String qualifiedName, String displayName, String description, String dataType, int length, int position, String encodingStandard, Map<String, String> additionalProperties) Create a schema attribute with a TypeEmbeddedAttribute classification.- Parameters:
assetGUID
- anchor GUID (optional)assetTypeName
- anchorTypeName (needed if assetGUID is set)typeName
- name of schema attribute subtype to use - default is SchemaAttributeschemaTypeName
- name of schema type subtype to use - default is PrimitiveSchemaTypequalifiedName
- unique name for the schema attributedisplayName
- display name for the schema attributedescription
- description about the schema attributedataType
- data type for the schema attributelength
- length of the storage used by the schema attributeposition
- position in the schema at this levelencodingStandard
- encoding standardadditionalProperties
- any other properties.- Returns:
- id for the schema attribute
-
addConnection
public String addConnection(String qualifiedName, String displayName, String description, String userId, String clearPassword, String encryptedPassword, Map<String, String> securedProperties, Map<String, Object> configurationProperties, Map<String, String> additionalProperties, String connectorTypeGUID, String endpointGUID, String anchorGUID, String anchorTypeName, String anchorDomainName) Create a connection entity.- Parameters:
qualifiedName
- unique name for the connectiondisplayName
- display name for the connectiondescription
- description about the connectionuserId
- userId that the connector should use to connect to the platform that hosts the asset.clearPassword
- possible password for the connectorencryptedPassword
- possible password for the connectorsecuredProperties
- properties hidden from the clientconfigurationProperties
- properties used to configure the connectoradditionalProperties
- any other properties.connectorTypeGUID
- unique identifier for the connector typeendpointGUID
- unique identifier for the endpoint of the assetanchorGUID
- unique identifier for the anchor - can be nullanchorTypeName
- unique type name of the anchor - set if anchorGUID set.anchorDomainName
- unique type name of the anchor's domain - set if anchorGUID set.- Returns:
- id for the connection
-
addConnection
public String addConnection(String typeName, String qualifiedName, String displayName, String description, String userId, String clearPassword, String encryptedPassword, Map<String, String> securedProperties, Map<String, Object> configurationProperties, Map<String, String> additionalProperties, String connectorTypeGUID, String endpointGUID, String anchorGUID, String anchorTypeName, String anchorDomainName) Create a connection entity.- Parameters:
qualifiedName
- unique name for the connectiondisplayName
- display name for the connectiondescription
- description about the connectionuserId
- userId that the connector should use to connect to the platform that hosts the asset.clearPassword
- possible password for the connectorencryptedPassword
- possible password for the connectorsecuredProperties
- properties hidden from the clientconfigurationProperties
- properties used to configure the connectoradditionalProperties
- any other properties.connectorTypeGUID
- unique identifier for the connector typeendpointGUID
- unique identifier for the endpoint of the assetanchorGUID
- unique identifier for the anchor - can be nullanchorTypeName
- unique type name of the anchor - set if anchorGUID set.anchorDomainName
- unique type name of the anchor's domain - set if anchorGUID set.- Returns:
- id for the connection
-
addEmbeddedConnection
public void addEmbeddedConnection(String parentConnectionGUID, int position, String displayName, Map<String, String> arguments, String childConnectionGUID) Add an EmbeddedConnection relationship.- Parameters:
parentConnectionGUID
- virtual connectionposition
- position of child connectordisplayName
- name of embedded/child connectorarguments
- additional propertieschildConnectionGUID
- embedded connection
-
addConnectorType
Create a connector type entity. It is lined to a connector category if supplied.- Parameters:
connectorCategoryGUID
- unique identifier of connector category - or null is not categorizedconnectorProvider
- OCF Connector Provider- Returns:
- id for the connector type
-
addConnectorType
public String addConnectorType(String connectorCategoryGUID, IntegrationConnectorProvider connectorProvider) Create a connector type entity. It is lined to a connector category if supplied.- Parameters:
connectorCategoryGUID
- unique identifier of connector category - or null is not categorizedconnectorProvider
- OCF Connector Provider- Returns:
- id for the connector type
-
addConnectorType
Create a connector type entity. It is lined to a connector category if supplied.- Parameters:
connectorCategoryGUID
- unique identifier of connector category - or null is not categorizedconnectorType
- OCF connector type - comes from the Connector Provider- Returns:
- id for the connector type
-
addConnectorType
public String addConnectorType(String connectorCategoryGUID, String connectorTypeGUID, String qualifiedName, String displayName, String description, String deployedImplementationType, String supportedAssetTypeName, String expectedDataFormat, String connectorProviderClassName, String connectorFrameworkName, String connectorInterfaceLanguage, List<String> connectorInterfaces, String targetTechnologySource, String targetTechnologyName, List<String> targetTechnologyInterfaces, List<String> targetTechnologyVersions, List<String> recognizedSecuredProperties, List<String> recognizedConfigurationProperties, List<String> recognizedAdditionalProperties, Map<String, String> additionalProperties) Create a connector type entity. It is lined to a connector category if supplied.- Parameters:
connectorCategoryGUID
- unique identifier of connector category - or null is not categorizedconnectorTypeGUID
- fixed unique identifier for connector type - comes from the Connector ProviderqualifiedName
- unique name for the connector typedisplayName
- display name for the connector typedescription
- description about the connector typesupportedAssetTypeName
- type of asset supported by this connectordeployedImplementationType
- specific deployed implementation type for assets supported by this connectorexpectedDataFormat
- format of the data stored in the resourceconnectorProviderClassName
- code for this type of connectorconnectorFrameworkName
- name of the framework that the connector implements - default "Open Connector Framework (OCF)"connectorInterfaceLanguage
- programming language of the connector's interfaceconnectorInterfaces
- the interfaces that the connector implementstargetTechnologySource
- organization implementing the target technologytargetTechnologyName
- name of the target technologytargetTechnologyInterfaces
- called interfaces the target technologytargetTechnologyVersions
- supported versions of the target technologyrecognizedSecuredProperties
- names of supported properties hidden from the client - for connection object.recognizedConfigurationProperties
- names of supported properties used to configure the connector - for connection object.recognizedAdditionalProperties
- names of any other properties for connection object.additionalProperties
- any other properties.- Returns:
- id for the connector type
-
addConnectorType
protected String addConnectorType(String connectorCategoryGUID, String qualifiedName, String displayName, String description, String deployedImplementationType, String supportedAssetTypeName, String expectedDataFormat, String connectorProviderClassName, String connectorFrameworkName, String connectorInterfaceLanguage, List<String> connectorInterfaces, String targetTechnologySource, String targetTechnologyName, List<String> targetTechnologyInterfaces, List<String> targetTechnologyVersions, List<String> recognizedSecuredProperties, List<String> recognizedConfigurationProperties, List<String> recognizedAdditionalProperties, Map<String, String> additionalProperties) Create a connector type entity.- Parameters:
connectorCategoryGUID
- unique identifier of connector category - or null is not categorizedqualifiedName
- unique name for the connector typedisplayName
- display name for the connector typedescription
- description about the connector typedeployedImplementationType
- specific deployed implementation type for assets supported by this connectorsupportedAssetTypeName
- type of asset supported by this connectorexpectedDataFormat
- format of the data stored in the resourceconnectorProviderClassName
- code for this type of connectorconnectorFrameworkName
- name of the framework that the connector implements - default "Open Connector Framework (OCF)"connectorInterfaceLanguage
- programming language of the connector's interfaceconnectorInterfaces
- the interfaces that the connector implementstargetTechnologySource
- organization implementing the target technologytargetTechnologyName
- name of the target technologytargetTechnologyInterfaces
- called interfaces the target technologytargetTechnologyVersions
- supported versions of the target technologyrecognizedSecuredProperties
- names of supported properties hidden from the client - for connection object.recognizedConfigurationProperties
- names of supported properties used to configure the connector - for connection object.recognizedAdditionalProperties
- names of any other properties for connection object.additionalProperties
- any other properties.- Returns:
- id for the connector type
-
addConnectorCategory
public String addConnectorCategory(String connectorTypeDirectoryGUID, String qualifiedName, String displayName, String description, String targetTechnologySource, String targetTechnologyName, Map<String, Boolean> recognizedSecuredProperties, Map<String, Boolean> recognizedConfigurationProperties, Map<String, Boolean> recognizedAdditionalProperties, Map<String, String> additionalProperties) Create a connector category entity.- Parameters:
connectorTypeDirectoryGUID
- unique identifier of connector type directory that this connector belongs to - or null for an independent connector categoryqualifiedName
- unique name for the connector categorydisplayName
- display name for the connector categorydescription
- description about the connector categorytargetTechnologySource
- organization implementing the target technologytargetTechnologyName
- name of the target technologyrecognizedSecuredProperties
- names of supported properties hidden from the client - for connection object.recognizedConfigurationProperties
- names of supported properties used to configure the connector - for connection object.recognizedAdditionalProperties
- names of any other properties for connection object.additionalProperties
- any other properties.- Returns:
- id for the connector type
-
addConnectorTypeDirectory
public String addConnectorTypeDirectory(String qualifiedName, String displayName, String description, Map<String, String> additionalProperties) Create a connector category entity.- Parameters:
qualifiedName
- unique name for the connector type directorydisplayName
- display name for the connector type directorydescription
- description about the connector type directoryadditionalProperties
- any other properties.- Returns:
- id for the connector type
-
getFileSystemClassification
public Classification getFileSystemClassification(String format, String encryption, String methodName) Create a Template classification to add to an entity as it is created.- Parameters:
format
- format of the file systemencryption
- type of encryption = * @param methodName calling method- Returns:
- classification object
-
getTemplateClassification
public Classification getTemplateClassification(String templateName, String templateDescription, String versionIdentifier, Map<String, String> additionalProperties, String methodName) Create a Template classification to add to an entity as it is created.- Parameters:
templateName
- name of templatetemplateDescription
- description of templateversionIdentifier
- identifier of the templateadditionalProperties
- additional propertiesmethodName
- calling method- Returns:
- classification object
-
getTemplateSubstituteClassification
Return the TemplateSubstitute classification.- Returns:
- classification
-
addSourcedFromRelationship
public void addSourcedFromRelationship(String resultingElementGUID, long sourceVersionNumber, String templateElementGUID, String methodName) Create a sourced from relationship.- Parameters:
resultingElementGUID
- the element createdsourceVersionNumber
- the version of the template used for the creationtemplateElementGUID
- the template usedmethodName
- calling method
-
addCatalogTemplateRelationship
Create a catalog template relationship.- Parameters:
owningElementGUID
- the element to catalogtemplateElementGUID
- the template to use
-
addEndpoint
public String addEndpoint(String anchorGUID, String anchorTypeName, String anchorDomainName, String qualifiedName, String displayName, String description, String networkAddress, String protocol, Map<String, String> additionalProperties) Create a endpoint entity.- Parameters:
anchorGUID
- unique identifier of the anchoranchorTypeName
- type of anchoranchorDomainName
- domain of anchorqualifiedName
- unique name for the endpointdisplayName
- display name for the endpointdescription
- description about the endpointnetworkAddress
- location of the assetprotocol
- protocol to use to connect to the assetadditionalProperties
- any other properties.- Returns:
- id for the endpoint
-
addEndpoint
public String addEndpoint(String anchorGUID, String anchorTypeName, String anchorDomainName, String qualifiedName, String displayName, String description, String networkAddress, String protocol, Map<String, String> additionalProperties, Classification additionalClassification) Create a endpoint entity.- Parameters:
anchorGUID
- unique identifier of the anchoranchorTypeName
- type of anchoranchorDomainName
- domain of anchorqualifiedName
- unique name for the endpointdisplayName
- display name for the endpointdescription
- description about the endpointnetworkAddress
- location of the assetprotocol
- protocol to use to connect to the assetadditionalProperties
- any other properties.- Returns:
- id for the endpoint
-
addServerEndpointRelationship
Create a server endpoint relationship.- Parameters:
itInfrastructureGUID
- the element to linkendpointGUID
- the endpoint to use
-
addGlossary
public String addGlossary(String qualifiedName, String displayName, String description, String language, String usage, String externalLink, String scope) Create a glossary entity. If the external link is specified, the glossary entity is linked to an ExternalGlossaryLink entity. If the scope is specified, the glossary entity is classified as a CanonicalGlossary.- Parameters:
qualifiedName
- unique name for the glossarydisplayName
- display name for the glossarydescription
- description about the glossarylanguage
- language that the glossary is written inusage
- how the glossary should be usedexternalLink
- link to materialscope
- scope of the content.- Returns:
- id for the glossary
-
addGlossary
public String addGlossary(String qualifiedName, String displayName, String description, String language, String usage, String externalLink, String scope, Map<String, String> additionalProperties) Create a glossary entity. If the external link is specified, the glossary entity is linked to an ExternalGlossaryLink entity. If the scope is specified, the glossary entity is classified as a CanonicalGlossary.- Parameters:
qualifiedName
- unique name for the glossarydisplayName
- display name for the glossarydescription
- description about the glossarylanguage
- language that the glossary is written inusage
- how the glossary should be usedexternalLink
- link to materialscope
- scope of the content.additionalProperties
- any other properties.- Returns:
- id for the glossary
-
addGlossaryCategory
public String addGlossaryCategory(String glossaryGUID, String qualifiedName, String displayName, String description, String subjectArea) Add a glossary category to the archive and connect it to its glossary.- Parameters:
glossaryGUID
- identifier of the glossary.qualifiedName
- unique name for the category.displayName
- display name for the category.description
- description of the category.subjectArea
- name of the subject area if this category contains terms for the subject area.- Returns:
- identifier of the category
-
addGlossaryCategory
public String addGlossaryCategory(String glossaryGUID, String qualifiedName, String displayName, String description, String subjectArea, Map<String, String> additionalProperties) Add a glossary category to the archive and connect it to its glossary.- Parameters:
glossaryGUID
- identifier of the glossary.qualifiedName
- unique name for the category.displayName
- display name for the category.description
- description of the category.subjectArea
- name of the subject area if this category contains terms for the subject area.additionalProperties
- any other properties.- Returns:
- identifier of the category
-
addGlossaryCategory
public String addGlossaryCategory(String glossaryGUID, boolean isRootCategory, String qualifiedName, String displayName, String description, String subjectArea, Map<String, String> additionalProperties) Add a glossary category to the archive and connect it to its glossary.- Parameters:
glossaryGUID
- identifier of the glossary.isRootCategory
- is this the top-level category for the glossaryqualifiedName
- unique name for the category.displayName
- display name for the category.description
- description of the category.subjectArea
- name of the subject area if this category contains terms for the subject area.additionalProperties
- any other properties.- Returns:
- identifier of the category
-
addTerm
public String addTerm(String glossaryGUID, List<String> categoryGUIDs, String qualifiedName, String displayName, String description) Add a term and link it to the glossary and an arbitrary number of categories.- Parameters:
glossaryGUID
- unique identifier of the glossarycategoryGUIDs
- unique identifiers of the categoriesqualifiedName
- unique name of the termdisplayName
- display name of the termdescription
- description of the term- Returns:
- unique identifier of the term
-
addTerm
public String addTerm(String glossaryGUID, List<String> categoryIds, boolean categoriesAsNames, String qualifiedName, String displayName, String summary, String description, String examples, String abbreviation, String usage, boolean isSpineObject, boolean isSpineAttribute, boolean isContext, String contextDescription, String contextScope, Map<String, String> additionalProperties, List<Classification> additionalClassifications) Add a term and link it to the glossary and an arbitrary number of categories. Add requested classifications- Parameters:
glossaryGUID
- unique identifier of the glossarycategoryIds
- unique identifiers of the categoriescategoriesAsNames
- when true the categories are specified as qualified names, otherwise they are guids.qualifiedName
- unique name of the termdisplayName
- display name of the termsummary
- short description of the termdescription
- description of the termexamples
- examples of the termabbreviation
- abbreviationusage
- how is the term usedisSpineObject
- term is a spine objectisSpineAttribute
- term is a spine attributeisContext
- is this term a context definition?contextDescription
- description to add to the ContextDefinition classificationcontextScope
- scope to add to the context classificationadditionalProperties
- any other properties.additionalClassifications
- classifications provided by the caller- Returns:
- unique identifier of the term
-
addCategoryToCategory
Link two categories together as part of the parent child hierarchy.- Parameters:
parentCategoryGUID
- unique identifier for the parent categorychildCategoryGUID
- unique identifier for the child category
-
addSemanticAssignment
Link a data element to a glossary term.- Parameters:
dataGUID
- unique identifier for the element linked to the semantic assignmentglossaryTermGUID
- unique identifier for the term
-
addTermToContext
Link a term to a context referenceable to show that the term is valid in the context of the other.- Parameters:
contextGUID
- unique identifier for the contexttermGUID
- unique identifier for the termstatus
- ordinal for the relationship statusdescription
- description of the relationship between the term and the category.
-
addTermToSynonym
public void addTermToSynonym(String synonymGUID, String termGUID, int status, String description, String expression, String steward, String source) Link two terms together to show that one is valid in the context of the other.- Parameters:
synonymGUID
- unique identifier for the contexttermGUID
- unique identifier for the termstatus
- ordinal for the relationship statusdescription
- description of the relationship between the term and the category.expression
- the expression that indicates how close a synonym this issteward
- the identifier of the steward that created this relationshipsource
- source of the information that indicates this is a synonym
-
addTermToCategory
Link two categories together as part of the parent child hierarchy.- Parameters:
categoryGUID
- unique identifier for the parent categorytermGUID
- unique identifier for the term
-
addTermToCategory
Link two categories together as part of the parent child hierarchy.- Parameters:
categoryGUID
- unique identifier for the parent categorytermGUID
- unique identifier for the termstatus
- ordinal for the relationship statusdescription
- description of the relationship between the term and the category.
-
addLibraryCategoryReference
public void addLibraryCategoryReference(String categoryGUID, String externalGlossaryLinkGUID, String identifier, String description, String steward, Date lastVerified) Link a category to an external glossary link with information on which category in the external glossary it corresponds to.- Parameters:
categoryGUID
- unique identifier for the categoryexternalGlossaryLinkGUID
- unique identifier for the description of the external glossary (a type of external reference)identifier
- identifier of the category in the external glossarydescription
- description of the linksteward
- steward who created linklastVerified
- last time this was verified
-
addLibraryTermReference
public void addLibraryTermReference(String termGUID, String externalGlossaryLinkGUID, String identifier, String description, String steward, Date lastVerified) Link a glossary term to an external glossary link with information on which term in the external glossary it corresponds to.- Parameters:
termGUID
- unique identifier for the termexternalGlossaryLinkGUID
- unique identifier for the description of the external glossary (a type of external reference)identifier
- identifier of the term in the external glossarydescription
- description of the linksteward
- steward who created linklastVerified
- last time this was verified
-
addMoreInformationLink
Create a navigation link from one referenceable to another to show they provide more information.- Parameters:
describedElementId
- unique identifier for the element that is referencing the other.describerElementId
- unique identifier for the element being pointed to.
-
addLicense
public void addLicense(String licensedElementGUID, String licenseGUID, Date startDate, Date endDate, String conditions, String licensedBy, String licensedByTypeName, String licensedByPropertyName, String custodian, String custodianTypeName, String custodianPropertyName, String licensee, String licenseeTypeName, String licenseePropertyName, Map<String, String> entitlements, Map<String, String> restrictions, Map<String, String> obligations, String notes, String licenseTypeGUID) Create a licence relationship.- Parameters:
licensedElementGUID
- unique identifier for the element that is licensed.licenseGUID
- - unique identifier of the licensestartDate
- start date for the licenseendDate
- end date for the licenseconditions
- conditionslicensedBy
- identity of sourcelicensedByTypeName
- type of identity of sourcelicensedByPropertyName
- property name use to identify sourcecustodian
- identity of person responsible for overseeing usecustodianTypeName
- type name of custodiancustodianPropertyName
- property name used to identify custodianlicensee
- identity of person receivinglicenseeTypeName
- type of person elementlicenseePropertyName
- property name use to identify licenseeentitlements
- entitlementsrestrictions
- restrictionsobligations
- obligationsnotes
- noteslicenseTypeGUID
- unique identifier for the license type.
-
addCertification
public void addCertification(String certifiedElementGUID, String certificationGUID, Date startDate, Date endDate, String conditions, String certifiedBy, String certifiedByTypeName, String certifiedByPropertyName, String custodian, String custodianTypeName, String custodianPropertyName, String recipient, String recipientTypeName, String recipientPropertyName, String notes, String certificationTypeGUID) Create a licence relationship.- Parameters:
certifiedElementGUID
- unique identifier for the element that is certified.certificationGUID
- - unique identifier of the certificationstartDate
- start date for the certificationendDate
- end date for the certificationconditions
- conditionscertifiedBy
- identity of sourcecertifiedByTypeName
- type of identity of sourcecertifiedByPropertyName
- property name use to identify sourcecustodian
- identity of person responsible for overseeing usecustodianTypeName
- type name of custodiancustodianPropertyName
- property name used to identify custodianrecipient
- identity of person receivingrecipientTypeName
- type of person elementrecipientPropertyName
- property name use to identify recipientnotes
- notescertificationTypeGUID
- unique identifier for the license type.
-
linkApprovedPurpose
Create an approved purpose between a Referenceable and a data processing purpose.- Parameters:
referenceableGUID
- identifier of termdataProcessingPurposeGUID
- identifier of the purpose
-
linkTermToReferenceable
Create a semantic assignment between a term and a Referenceable - for example a model element.- Parameters:
termId
- identifier of termreferenceableId
- identifier of referenceable
-
addIsATypeOfRelationship
Add an is-a-type-of relationship- Parameters:
specialTermQName
- qualified name of the specialized termgeneralizedTermQName
- qualified name of the generalized term
-
addHasARelationship
Add a HasA relationship- Parameters:
conceptQName
- concept qualified namepropertyQName
- property qualified name
-
addRelatedTermRelationship
Add related term relationship.- Parameters:
conceptQName
- concept qualified namepropertyQName
- property qualified name
-
addValidValue
public String addValidValue(String typeName, String qualifiedName, String name, String description, String usage, String scope, String preferredValue, boolean isDeprecated, Map<String, String> additionalProperties) Add a valid value definition/set.- Parameters:
typeName
- unique name of the valid value - ie a definition or a setqualifiedName
- unique name of the valid valuename
- display name of the valid valuescope
- short description of the valid valuedescription
- description of the valid valuepreferredValue
- preferredValue of the valid valueusage
- how is the valid value usedisDeprecated
- is value activeadditionalProperties
- any other properties.- Returns:
- unique identifier of the valid value
-
addValidValue
public String addValidValue(String suppliedValidValueGUID, String setGUID, String anchorGUID, String anchorTypeName, String anchorDomainName, String typeName, String qualifiedName, String name, String description, String category, String usage, String dataType, String scope, String preferredValue, boolean isDeprecated, boolean isCaseSensitive, Map<String, String> additionalProperties) Add a valid value definition/set.- Parameters:
suppliedValidValueGUID
- optional unique identifier for the valid value instancesetGUID
- unique identifier of parent setanchorGUID
- unique identifier of the anchor (or null)anchorTypeName
- unique name of type of anchor (or null)anchorDomainName
- unique name of type of anchor's domain (or null)typeName
- unique name of the valid value - ie a definition or a setqualifiedName
- unique name of the valid valuename
- display name of the valid valuecategory
- category of the valid valuescope
- short description of the valid valuedataType
- type for preferred valuedescription
- description of the valid valuepreferredValue
- preferredValue of the valid valueusage
- how is the valid value usedisDeprecated
- is value activeisCaseSensitive
- is value case sensitiveadditionalProperties
- any other properties.- Returns:
- unique identifier of the valid value
-
addValidValueMembershipRelationship
public void addValidValueMembershipRelationship(String setQName, String memberQName, boolean isDefaultValue) Link a valid value as a member of a valid value set.- Parameters:
setQName
- qualified name of the set to add tomemberQName
- qualified name of the member to addisDefaultValue
- is this the default value (only set to true for one member).
-
addValidValueMembershipRelationshipByGUID
public void addValidValueMembershipRelationshipByGUID(String setId, String memberId, boolean isDefaultValue) Link a valid value as a member of a valid value set.- Parameters:
setId
- unique identifier of the set to add tomemberId
- unique identifier of the member to addisDefaultValue
- is this the default value (only set to true for one member).
-
addConsistentValidValueRelationship
Link a valid value as a member of a valid value set.- Parameters:
validValue1QName
- qualified name of first valid valuevalidValue2QName
- qualified name of second valid value
-
addValidValuesAssignmentRelationship
public void addValidValuesAssignmentRelationship(String dataFieldQName, String validValueQName, boolean strictRequirement) Link an element that represents a data field (either directly or indirectly) to a valid value (typically a valid value set).- Parameters:
dataFieldQName
- qualified name of element that represents the data fieldvalidValueQName
- qualified name of the valid value set/definitionstrictRequirement
- do the valid values mandate the values stored in the data field?
-
addValidValuesMappingRelationship
public void addValidValuesMappingRelationship(String matchingValue1QName, String matchingValue2QName, String associationDescription, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String notes) Add a mapping between two valid values. Typically they are in different valid value sets.- Parameters:
matchingValue1QName
- qualified name of one of the valid values.matchingValue2QName
- qualified name of the other valid value.associationDescription
- a description of the meaning of the associationconfidence
- how likely is the relationship correct - 0=unlikely; 100=certaintysteward
- who was the steward that made the linkstewardTypeName
- what is the type of the element used to represent the steward?stewardPropertyName
- what is the name of the property used to represent the steward?notes
- any notes on the relationship.
-
addReferenceValueAssignmentRelationship
public void addReferenceValueAssignmentRelationship(String referenceableQName, String validValueQName, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String notes) Link a referenceable element to a valid value that is acting as a tag.- Parameters:
referenceableQName
- qualified name of referenceablevalidValueQName
- qualified name of valid valueconfidence
- how likely is the relationship correct - 0=unlikely; 100=certaintysteward
- who was the steward that made the linkstewardTypeName
- what is the type of the element used to represent the steward?stewardPropertyName
- what is the name of the property used to represent the steward?notes
- any notes on the relationship.
-
addReferenceValueAssignmentRelationship
public void addReferenceValueAssignmentRelationship(String referenceableGUID, String validValueGUID, String attributeName, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String notes) Link a referenceable element to a valid value that is acting as a tag.- Parameters:
referenceableGUID
- unique identifier of referenceablevalidValueGUID
- unique identifier of valid valueattributeName
- name of associated attributeconfidence
- how likely is the relationship correct - 0=unlikely; 100=certaintysteward
- who was the steward that made the linkstewardTypeName
- what is the type of the element used to represent the steward?stewardPropertyName
- what is the name of the property used to represent the steward?notes
- any notes on the relationship.
-
addSpecificationPropertyAssignmentRelationship
public void addSpecificationPropertyAssignmentRelationship(String referenceableGUID, String validValueGUID, String propertyType) Link a referenceable element to a valid value that is acting as a tag.- Parameters:
referenceableGUID
- unique identifier of referenceablevalidValueGUID
- unique identifier of valid valuepropertyType
- name of associated attribute
-
addValidValuesImplementationRelationship
public void addValidValuesImplementationRelationship(String validValueQName, String assetQName, String symbolicName, String implementationValue, Map<String, String> additionalValues) Link a valid value definition to the asset where it is implemented.- Parameters:
validValueQName
- qualified name of the valid valueassetQName
- qualified name of the assetsymbolicName
- property name used in the asset to represent the valid valueimplementationValue
- value used in the asset to represent the valid valueadditionalValues
- additional mapping values
-
addReferenceDataClassification
Add the ReferenceData classification to the requested element.- Parameters:
assetGUID
- unique identifier of the element to classify
-
addSecurityTagsClassification
public void addSecurityTagsClassification(String assetGUID, List<String> securityLabels, Map<String, Object> securityProperties, Map<String, List<String>> accessGroups) Add a SecurityTags classification to the requested element.- Parameters:
assetGUID
- unique identifier for the element to classifysecurityLabels
- list of security labelssecurityProperties
- map of security propertiesaccessGroups
- access group assignments
-
addSupportedSoftwareCapabilityRelationship
public void addSupportedSoftwareCapabilityRelationship(String deployedElementQName, String deployedOnQName, Date deploymentTime, String deployerTypeName, String deployerPropertyName, String deployer, int serverCapabilityStatus) Add the DeployedOn relationship to the archive.- Parameters:
deployedElementQName
- qualified name of element being deployeddeployedOnQName
- qualified name of targetdeploymentTime
- time of the deploymentdeployerTypeName
- type name of the element representing the deployerdeployerPropertyName
- property name used to identify the deployerdeployer
- identifier of the deployerserverCapabilityStatus
- status of the deployment
-
getServerPurposeClassification
public Classification getServerPurposeClassification(String classificationName, String deployedImplementationType) Create a ServerPurpose classification.- Parameters:
classificationName
- name of the classificationdeployedImplementationType
- deployed implementation type property- Returns:
- classification
-
getEngineClassification
Create a classification for an Engine software server capability.- Parameters:
classificationName
- name of the classification- Returns:
- classification
-
addServerPurposeClassification
public void addServerPurposeClassification(String elementGUID, String classificationName, String deployedImplementationType) Add a ServerPurpose classification to an IT Infrastructure element.- Parameters:
elementGUID
- element to attach the classificationclassificationName
- name of the classificationdeployedImplementationType
- deployed implementation type property
-