|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbr.ufg.integrate.lookup.schema.jdbc.Table
public class Table
Constructor Summary | |
---|---|
Table(String name)
|
Method Summary | |
---|---|
void |
addAttribute(Column c)
Insere a coluna na coleção. |
void |
addAttributeRef(AttributeRef fk)
Insere uma referência para outra tabela. |
Attribute |
getAttribute(String attributeName)
Retorna a coluna pelo nome. |
List<AttributeRef> |
getAttributeRefs()
Coleção de atributos desta entidade que referenciam outras entidades. |
List<Attribute> |
getAttributes()
Coleção de atributos desta entidade. |
String |
getName()
Nome desta entidade. |
void |
setAttributes(List<Attribute> attr)
|
void |
setAttributesRefs(List<AttributeRef> fks)
|
void |
setName(String aName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Table(String name)
Method Detail |
---|
public void addAttribute(Column c) throws WrapperException
c
-
WrapperException
- Caso inserida uma coluna sem nome.public void addAttributeRef(AttributeRef fk) throws WrapperException
fk
-
WrapperException
public Attribute getAttribute(String attributeName)
attributeName
-
public List<Attribute> getAttributes()
Entity
getAttributes
in interface Entity
public List<AttributeRef> getAttributeRefs()
Entity
getAttributeRefs
in interface Entity
public String getName()
Entity
getName
in interface Entity
public void setAttributes(List<Attribute> attr)
setAttributes
in interface Entity
public void setName(String aName)
public void setAttributesRefs(List<AttributeRef> fks)
setAttributesRefs
in interface Entity
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |