br.ufg.integrate.lookup.schema.jdbc
Class RefImpl

java.lang.Object
  extended by br.ufg.integrate.lookup.schema.jdbc.RefImpl
All Implemented Interfaces:
Ref

public class RefImpl
extends Object
implements Ref

Version:
0.1 Mantém uma referência para a tabela e a coluna que faz referência a outra tabela.
Author:
Rogerio

Constructor Summary
RefImpl(Entity e, Attribute a)
           
 
Method Summary
 Attribute getAttribute()
           
 Entity getEntity()
           
 void setAttribute(Attribute a)
           
 void setEntity(Entity e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefImpl

public RefImpl(Entity e,
               Attribute a)
Method Detail

getAttribute

public Attribute getAttribute()
Specified by:
getAttribute in interface Ref
Returns:
Returns the attribute.

getEntity

public Entity getEntity()
Specified by:
getEntity in interface Ref
Returns:
Returns the entity.

setAttribute

public void setAttribute(Attribute a)
Parameters:
a - The attribute to set.

setEntity

public void setEntity(Entity e)
Parameters:
e - The entity to set.


Copyright © 2008 Rogério Arantes Gaioso. All Rights Reserved.