## Uses of Class
com.mapinfo.midev.feature.PrimaryKeyMetadata

Packages that use PrimaryKeyMetadata
com.mapinfo.midev.data: Contains the interfaces and some classes used to read data from any of several data sources.
com.mapinfo.midev.feature: The Feature package consists of a series of interfaces, classes and enumerations that allow users to work with features at their geometry and attribute data levels.
com.mapinfo.midev.feature.impl: Contains default implementations of the Feature Model.

### Uses of PrimaryKeyMetadata in com.mapinfo.midev.data

Methods in com.mapinfo.midev.data with parameters of type PrimaryKeyMetadata
`void` ICreatableDataSource.`createTable(AttributeDefinitionCollection attributeDefinitions, PrimaryKeyMetadata primaryKeyMetadata, ITableDefinition tableDefinition)` create a table using the information related to column, primary key and destination data formats.

### Uses of PrimaryKeyMetadata in com.mapinfo.midev.feature

Fields in com.mapinfo.midev.feature declared as PrimaryKeyMetadata
`static PrimaryKeyMetadata` PrimaryKeyMetadata.`NONE` Constant for indicating that the data has no primary key.

Methods in com.mapinfo.midev.feature that return PrimaryKeyMetadata
`static PrimaryKeyMetadata` PrimaryKeyMetadata.`create(KeyType keyType, IAttributeDefinition attribute)` Returns a `PrimaryKeyMetadata` that is of the specified type composed of the specified attributes (columns).
`static PrimaryKeyMetadata` PrimaryKeyMetadata.`create(KeyType keyType, List attributes)` Returns a `PrimaryKeyMetadata` that is of the specified type composed of the specified attributes (columns).
`PrimaryKeyMetadata` IFeatureMetadata.`getPrimaryKeyMetadata()` Returns the description of the primary key.

### Uses of PrimaryKeyMetadata in com.mapinfo.midev.feature.impl

Methods in com.mapinfo.midev.feature.impl that return PrimaryKeyMetadata
`PrimaryKeyMetadata` FeatureMetadata.`getPrimaryKeyMetadata()`

Constructors in com.mapinfo.midev.feature.impl with parameters of type PrimaryKeyMetadata
Constructor and Description
`FeatureMetadata(AttributeDefinitionCollection attributeDefinitions, PrimaryKeyMetadata primaryKeyMetadata)` Constructs a feature metadata instance using the supplied attribute definitions and key information.
`FeatureMetadata(List attributeDefinitionList, PrimaryKeyMetadata primaryKeyMetadata)`