FileDocCategorySizeDatePackage
ReferenceKeyDesc.javaAPI DocGlassfish v2 API2800Fri May 04 22:35:06 BST 2007com.sun.jdo.spi.persistence.support.sqlstore.model

ReferenceKeyDesc

public class ReferenceKeyDesc extends Object
This class encapsulate the association of two KeyDescs. It can be used to represent the inheritance key or the reference key between primary and secondary tables.

Fields Summary
private KeyDesc
referencingKey
private KeyDesc
referencedKey
private TableDesc
table
Constructors Summary
public ReferenceKeyDesc(TableDesc table, KeyDesc referencingKey, KeyDesc referencedKey)

		this.referencingKey = referencingKey;
		this.referencedKey = referencedKey;
		this.table = table;
	
Methods Summary
public KeyDescgetReferencedKey()

		return referencedKey;
	
public KeyDescgetReferencingKey()

		return referencingKey;
	
public TableDescgetTableDesc()

		return table;