Class CatalogTypesArchiveBuilder
- java.lang.Object
-
- org.odpi.openmetadata.archiveutilities.catalogbuilder.CatalogTypesArchiveBuilder
-
public class CatalogTypesArchiveBuilder extends Object
CatalogTypesArchiveBuilder creates common objects for building archives.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringAPI_HEADER_TYPE_NAMEprotected static StringAPI_REQUEST_TYPE_NAMEprotected static StringAPI_RESPONSE_TYPE_NAMEprotected OMRSArchiveGUIDMapidToGUIDMap
-
Constructor Summary
Constructors Constructor Description CatalogTypesArchiveBuilder(String archiveGUID, String archiveName, String archiveDescription, OpenMetadataArchiveType archiveType, String archiveRootName, String originatorName, String originatorLicense, Date creationDate, long versionNumber, String versionName, List<OpenMetadataArchive> dependentArchives)Typical constructor passes parameters used to build the open metadata archive's property header.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringaddAPIOperation(String apiSchemaTypeGUID, String qualifiedName, String displayName, String description, String path, String command, Map<String,String> additionalProperties)Create the schema type for an API operation.protected StringaddAPIParameterList(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.protected StringaddAsset(String typeName, String qualifiedName, String displayName, String description, Map<String,String> additionalProperties)Create an asset entity.protected voidaddAttributeForSchemaType(String schemaTypeGUID, String schemaAttributeGUID)Create the relationship between a SchemaType element and a child SchemaAttribute element using the AttributeForSchema relationship.protected voidaddAttributeToBead(String beadId, String attributeId, int position, int minCardinality, int maxCardinality, boolean uniqueValues, boolean orderedValues)protected StringaddCategory(String glossaryId, String qualifiedName, String displayName, String description, String subjectArea)Add a glossary category to the archive and connect it to glossary.protected voidaddCategoryHierarchy(String childCategoryName, Set<String> parentNames)Add Category hierarchy relationshipprotected voidaddCategoryToCategory(String parentCategoryId, String childCategoryId)Link two categories together as part of the parent child hierarchy.protected StringaddConceptBead(String modelId, List<String> groupIds, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)Create an element that describes a concept bead.protected StringaddConceptBeadAttribute(String modelId, List<String> groupIds, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)Create a concept attribute.protected StringaddConceptBeadLink(String modelId, List<String> groupIds, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)Create a concept bead link.protected StringaddConceptModelElement(String typeName, String modelId, List<String> groupIds, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)Create an element of a concept model.protected StringaddConnection(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)Create a connection entity.protected StringaddConnectorCategory(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.protected StringaddConnectorType(String connectorCategoryGUID, String connectorTypeGUID, String qualifiedName, String displayName, String description, 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 StringaddConnectorType(String connectorCategoryGUID, String qualifiedName, String displayName, String description, 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 StringaddConnectorTypeDirectory(String qualifiedName, String displayName, String description, Map<String,String> additionalProperties)Create a connector category entity.protected voidaddDataContentForDataSet(String dataContentGUID, String dataSetGUID)Create the relationship between a SchemaTypeChoice element and a child element using the SchemaTypeOption relationship.protected StringaddDesignModel(String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)Create an element that represents a design model.protected StringaddDesignModelGroup(String modelId, String parentGroupId, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)Create an element for a model group and link it to a model and any parent model group.protected StringaddEndpoint(String qualifiedName, String displayName, String description, String networkAddress, String protocol, Map<String,String> additionalProperties)Create a endpoint entity.protected StringaddGlossary(String qualifiedName, String displayName, String description, String language, String usage, String externalLink, String scope)Create a glossary entity.protected voidaddHasARelationship(String conceptQName, String propertyQName)protected voidaddIsATypeOfRelationship(String specialTermQName, String generalizedTermQName)Add an is-a-type-of relationshipprotected voidaddLinkToBead(String beadId, String linkId, String attributeName, ConceptModelDecoration decoration, int position, int minCardinality, int maxCardinality, boolean uniqueValues, boolean orderedValues)protected voidaddMoreInformationLink(String describedElementId, String describerElementId)Create a navigation link from one referenceable to another to show they provide more information.protected voidaddNestedSchemaAttribute(String parentSchemaAttributeGUID, String childSchemaAttributeGUID)Create the relationship between a SchemaAttribute element and a child SchemaAttribute element using the NestedSchemaAttribute relationship.protected voidaddRelatedTermRelationship(String conceptQName, String propertyQName)protected StringaddSchemaAttribute(String typeName, String schemaTypeName, String qualifiedName, String displayName, String description, String dataType, int length, int position, Map<String,String> additionalProperties)Create the a schema attribute with a TypeEmbeddedAttribute classification.protected voidaddSchemaTypeOption(String schemaTypeChoiceGUID, String schemaTypeOptionGUID)Create the relationship between a SchemaTypeChoice element and a child element using the SchemaTypeOption relationship.protected StringaddTerm(String glossaryId, List<String> categoryIds, String qualifiedName, String displayName, String description)Add a term and link it to the glossary and an arbitrary number of categories.protected StringaddTerm(String glossaryId, List<String> categoryIds, String qualifiedName, String displayName, String description, String examples, boolean isSpineObject, boolean isSpineAttribute, boolean categoriesAsNames)Add a term and link it to the glossary and an arbitrary number of categories.protected StringaddTopLevelSchemaType(String assetGUID, String typeName, String qualifiedName, String displayName, String description, Map<String,String> additionalProperties)Create the top level schema type for an asset.protected OpenMetadataArchivegetOpenMetadataArchive()Returns the open metadata type archive containing all of the content loaded by the subclass.protected voidlinkTermToReferenceable(String termId, String referenceableId)Create a semantic assignment between a term and a Referenceable - for example a model element.protected voidlogBadArchiveContent(String methodName)Throws an exception if there is a problem building the archive.
-
-
-
Field Detail
-
API_HEADER_TYPE_NAME
protected static final String API_HEADER_TYPE_NAME
- See Also:
- Constant Field Values
-
API_REQUEST_TYPE_NAME
protected static final String API_REQUEST_TYPE_NAME
- See Also:
- Constant Field Values
-
API_RESPONSE_TYPE_NAME
protected static final String API_RESPONSE_TYPE_NAME
- See Also:
- Constant Field Values
-
idToGUIDMap
protected OMRSArchiveGUIDMap idToGUIDMap
-
-
Constructor Detail
-
CatalogTypesArchiveBuilder
public CatalogTypesArchiveBuilder(String archiveGUID, String archiveName, String archiveDescription, OpenMetadataArchiveType archiveType, String archiveRootName, String originatorName, String originatorLicense, Date creationDate, long versionNumber, String versionName, List<OpenMetadataArchive> dependentArchives)
Typical constructor passes parameters used to build the open metadata archive's property header.- Parameters:
archiveGUID- unique identifier for this open metadata archive.archiveName- name of the open metadata archive.archiveDescription- description of the open metadata archive.archiveType- enum describing the type of archive this is.archiveRootName- non-spaced root name of the open metadata archive elements.originatorName- name of the originator (person or organization) of the archive.originatorLicense- license for the content.creationDate- data that this archive was created.versionNumber- version number of the archive.versionName- version name for the archive.dependentArchives- previously created archives that are needed for reference.
-
-
Method Detail
-
getOpenMetadataArchive
protected OpenMetadataArchive getOpenMetadataArchive()
Returns the open metadata type archive containing all of the content loaded by the subclass.- Returns:
- populated open metadata archive object
-
logBadArchiveContent
protected void logBadArchiveContent(String methodName)
Throws an exception if there is a problem building the archive.- Parameters:
methodName- calling method
-
addAsset
protected String addAsset(String typeName, String qualifiedName, String displayName, String description, Map<String,String> additionalProperties)
Create an asset entity.- Parameters:
typeName- name of asset subtype to use - default is AssetqualifiedName- unique name for the assetdisplayName- display name for the assetdescription- description about the assetadditionalProperties- any other properties.- Returns:
- id for the asset
-
addDataContentForDataSet
protected void addDataContentForDataSet(String dataContentGUID, String dataSetGUID)
Create the relationship between a SchemaTypeChoice element and a child element using the SchemaTypeOption relationship.- Parameters:
dataContentGUID- unique identifier of the data storedataSetGUID- unique identifier of the consuming data set
-
addTopLevelSchemaType
protected String addTopLevelSchemaType(String assetGUID, 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 assettypeName- 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
-
addAPIOperation
protected 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
protected 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
-
addSchemaTypeOption
protected void addSchemaTypeOption(String schemaTypeChoiceGUID, String schemaTypeOptionGUID)
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
protected void addAttributeForSchemaType(String schemaTypeGUID, String schemaAttributeGUID)
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
protected 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
protected String addSchemaAttribute(String typeName, String schemaTypeName, String qualifiedName, String displayName, String description, String dataType, int length, int position, Map<String,String> additionalProperties)
Create the 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 leveladditionalProperties- any other properties.- Returns:
- id for the schema attribute
-
addConnection
protected 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)
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 asset- Returns:
- id for the connection
-
addConnectorType
protected String addConnectorType(String connectorCategoryGUID, String connectorTypeGUID, String qualifiedName, String displayName, String description, 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 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 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 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 typesupportedAssetTypeName- 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
protected 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 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
protected 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
-
addEndpoint
protected String addEndpoint(String qualifiedName, String displayName, String description, String networkAddress, String protocol, Map<String,String> additionalProperties)
Create a endpoint entity.- Parameters:
qualifiedName- 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
-
addGlossary
protected 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
-
addCategory
protected String addCategory(String glossaryId, String qualifiedName, String displayName, String description, String subjectArea)
Add a glossary category to the archive and connect it to glossary.- Parameters:
glossaryId- 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
-
addTerm
protected String addTerm(String glossaryId, List<String> categoryIds, String qualifiedName, String displayName, String description)
Add a term and link it to the glossary and an arbitrary number of categories.- Parameters:
glossaryId- unique identifier of the glossarycategoryIds- 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
protected String addTerm(String glossaryId, List<String> categoryIds, String qualifiedName, String displayName, String description, String examples, boolean isSpineObject, boolean isSpineAttribute, boolean categoriesAsNames)
Add a term and link it to the glossary and an arbitrary number of categories.- Parameters:
glossaryId- unique identifier of the glossarycategoryIds- unique identifiers of the categoriesqualifiedName- unique name of the termdisplayName- display name of the termdescription- description of the termexamples- examples of the termisSpineObject- term is a spine objectisSpineAttribute- term is a spine attributecategoriesAsNames- when true the categories are specified as qualified names, otherwise they are guids.- Returns:
- unique identifier of the term
-
addCategoryToCategory
protected void addCategoryToCategory(String parentCategoryId, String childCategoryId)
Link two categories together as part of the parent child hierarchy.- Parameters:
parentCategoryId- unique identifier for the parent categorychildCategoryId- unique identifier for the child category
-
addMoreInformationLink
protected void addMoreInformationLink(String describedElementId, String describerElementId)
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.
-
linkTermToReferenceable
protected void linkTermToReferenceable(String termId, String referenceableId)
Create a semantic assignment between a term and a Referenceable - for example a model element.- Parameters:
termId- identifier of termreferenceableId- identifier of referenceable
-
addDesignModel
protected String addDesignModel(String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)
Create an element that represents a design model.- Parameters:
qualifiedName- unique name for the modeldisplayName- display nametechnicalName- non-spaced namedescription- descriptionversionNumber- version descriptionauthor- author- Returns:
- guid of model
-
addDesignModelGroup
protected String addDesignModelGroup(String modelId, String parentGroupId, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)
Create an element for a model group and link it to a model and any parent model group.- Parameters:
modelId- unique identifier of model (or null)parentGroupId- unique identifier of parent (or null)qualifiedName- unique name for the modeldisplayName- display nametechnicalName- non-spaced namedescription- descriptionversionNumber- version descriptionauthor- author- Returns:
- guid of model group
-
addConceptModelElement
protected String addConceptModelElement(String typeName, String modelId, List<String> groupIds, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)
Create an element of a concept model.- Parameters:
typeName- unique name of the element's typemodelId- unique identifier of model (or null)groupIds- list of model groups to add this element toqualifiedName- unique name for the modeldisplayName- display nametechnicalName- non-spaced namedescription- descriptionversionNumber- version descriptionauthor- author- Returns:
- guid of element
-
addConceptBead
protected String addConceptBead(String modelId, List<String> groupIds, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)
Create an element that describes a concept bead.- Parameters:
modelId- unique identifier of model (or null)groupIds- list of model groups to add this element toqualifiedName- unique name for the modeldisplayName- display nametechnicalName- non-spaced namedescription- descriptionversionNumber- version descriptionauthor- author- Returns:
- guid of element
-
addConceptBeadLink
protected String addConceptBeadLink(String modelId, List<String> groupIds, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)
Create a concept bead link.- Parameters:
modelId- unique identifier of model (or null)groupIds- list of model groups to add this element toqualifiedName- unique name for the modeldisplayName- display nametechnicalName- non-spaced namedescription- descriptionversionNumber- version descriptionauthor- author- Returns:
- guid of element
-
addConceptBeadAttribute
protected String addConceptBeadAttribute(String modelId, List<String> groupIds, String qualifiedName, String displayName, String technicalName, String description, String versionNumber, String author)
Create a concept attribute.- Parameters:
modelId- unique identifier for the model elementgroupIds- list of model groups to add this element toqualifiedName- unique name for the modeldisplayName- display nametechnicalName- non-spaced namedescription- descriptionversionNumber- version descriptionauthor- author- Returns:
- guid of element
-
addAttributeToBead
protected void addAttributeToBead(String beadId, String attributeId, int position, int minCardinality, int maxCardinality, boolean uniqueValues, boolean orderedValues)
-
addLinkToBead
protected void addLinkToBead(String beadId, String linkId, String attributeName, ConceptModelDecoration decoration, int position, int minCardinality, int maxCardinality, boolean uniqueValues, boolean orderedValues)
-
addIsATypeOfRelationship
protected void addIsATypeOfRelationship(String specialTermQName, String generalizedTermQName)
Add an is-a-type-of relationship- Parameters:
specialTermQName- qualified name of the specialized termgeneralizedTermQName- qualified name of the generalized term
-
addRelatedTermRelationship
protected void addRelatedTermRelationship(String conceptQName, String propertyQName)
-
-