Class PrimaryKey
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.PrimaryKey
-
- All Implemented Interfaces:
Serializable,OmasObject
public class PrimaryKey extends Classification
A uniquely identifying relational column.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification
classificationName, serialVersionUID
-
-
Constructor Summary
Constructors Constructor Description PrimaryKey()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAdditionalProperties()Get the extra attributes - ones that are in addition to the standard types.KeyPatterngetKeyPattern()Type of primary key.StringgetName()Display name for the primary key.voidsetAdditionalProperties(Map<String,String> additionalProperties)voidsetKeyPattern(KeyPattern keyPattern)voidsetName(String name)-
Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification
getClassificationName, getEffectiveFromTime, getEffectiveToTime, getSystemAttributes, setEffectiveFromTime, setEffectiveToTime, setSystemAttributes
-
-
-
-
Method Detail
-
getKeyPattern
public KeyPattern getKeyPattern()
Type of primary key.- Returns:
- Key Pattern
-
setKeyPattern
public void setKeyPattern(KeyPattern keyPattern)
-
getName
public String getName()
Display name for the primary key.- Returns:
- Display name for the primary key.
-
setName
public void setName(String name)
-
getAdditionalProperties
public Map<String,String> getAdditionalProperties()
Get the extra attributes - ones that are in addition to the standard types.- Overrides:
getAdditionalPropertiesin classClassification- Returns:
- extra attributes
-
setAdditionalProperties
public void setAdditionalProperties(Map<String,String> additionalProperties)
- Overrides:
setAdditionalPropertiesin classClassification
-
-