public final class PrimaryKeyMetadata extends Object implements Serializable
IDataSourceTable or IFeature.| Modifier and Type | Field and Description |
|---|---|
static PrimaryKeyMetadata |
NONE
Constant for indicating that the data has no primary key.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimaryKeyMetadata |
create(KeyType keyType,
IAttributeDefinition attribute)
Returns a
PrimaryKeyMetadata that is of the specified type composed of the specified attributes (columns). |
static PrimaryKeyMetadata |
create(KeyType keyType,
List attributes)
Returns a
PrimaryKeyMetadata that is of the specified type composed of the specified attributes (columns). |
boolean |
equals(Object o) |
List |
getAttributes()
Returns the attributes that compose the key.
|
KeyType |
getKeyType()
Returns the type of key.
|
int |
hashCode() |
public static final PrimaryKeyMetadata NONE
public static PrimaryKeyMetadata create(KeyType keyType, IAttributeDefinition attribute)
PrimaryKeyMetadata that is of the specified type composed of the specified attributes (columns).keyType - the type of key.attribute - the attributes that compose the key.PrimaryKeyMetadata that is of the specified type composed of the specified attributes (columns).public static PrimaryKeyMetadata create(KeyType keyType, List attributes)
PrimaryKeyMetadata that is of the specified type composed of the specified attributes (columns).keyType - the type of key.attributes - the attributes that compose the key.PrimaryKeyMetadata that is of the specified type composed of the specified attributes (columns).public KeyType getKeyType()
public List getAttributes()
© 2007, 2022 Precisely. All rights reserved.