org.teiid.metadata
Class ForeignKey
java.lang.Object
org.teiid.metadata.AbstractMetadataRecord
org.teiid.metadata.ColumnSet<Table>
org.teiid.metadata.KeyRecord
org.teiid.metadata.ForeignKey
- All Implemented Interfaces:
- Serializable
public class ForeignKey
- extends KeyRecord
ForeignKeyRecordImpl
- See Also:
- Serialized Form
Methods inherited from class org.teiid.metadata.AbstractMetadataRecord |
equals, getAnnotation, getCanonicalName, getFullName, getName, getNameInSource, getProperties, getProperty, getUUID, hashCode, setAnnotation, setName, setNameInSource, setProperties, setProperty, setUUID, toString |
ForeignKey
public ForeignKey()
getUniqueKeyID
public String getUniqueKeyID()
setUniqueKeyID
public void setUniqueKeyID(String keyID)
- Parameters:
object
-
getPrimaryKey
public KeyRecord getPrimaryKey()
- Returns:
- the primary key or unique key referenced by this foreign key
setPrimaryKey
public void setPrimaryKey(KeyRecord primaryKey)
- Parameters:
primaryKey,
- the primary key or unique key referenced by this foreign key
Copyright © 2012. All Rights Reserved.