|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbr.ufg.integrate.lookup.schema.jdbc.Column
public class Column
| Constructor Summary | |
|---|---|
Column()
|
|
| Method Summary | |
|---|---|
String |
getDataType()
Retorna o tipo de dados real do atributo |
String |
getName()
Retorna o nome do atributo. |
Ref |
getRef()
Referência à entidade e ao atributo estrangeiro. |
int |
getSize()
Retorna o tamanho do atributo (opcional). |
String |
getXMLSchemaType()
Retorna o tipo de dados XML Schema. |
boolean |
isId()
Especifica se este atributo identifica a entidade (se é chave). |
boolean |
isPermitsNull()
Se o atributo é obrigatório ou não. |
boolean |
isPrimaryKey()
|
boolean |
isRef()
Especifica se este atributo referencia outra entidade (se é chave estrangeira). |
void |
setDataType(String dataType)
|
void |
setId(boolean isId)
|
void |
setIsRef(boolean isRef)
Se este atributo referencia outra entidade ou não. |
void |
setName(String name)
|
void |
setPermitsNull(boolean permitsNull)
|
void |
setPrimaryKey(boolean isPk)
|
void |
setRef(boolean isRef)
|
void |
setRef(Ref ref)
Referência para objeto que representa a entidade e o atributo referenciados. |
void |
setSize(int size)
|
void |
setXMLSchemaType(String aType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Column()
| Method Detail |
|---|
public boolean isId()
Attribute
isId in interface Attributepublic boolean isRef()
Attribute
isRef in interface Attributepublic boolean isPermitsNull()
Attribute
isPermitsNull in interface Attributepublic boolean isPrimaryKey()
public String getDataType()
Attribute
getDataType in interface Attributepublic String getName()
Attribute
getName in interface Attributepublic Ref getRef()
Attribute
getRef in interface Attributepublic int getSize()
Attribute
getSize in interface Attributepublic String getXMLSchemaType()
getXMLSchemaType in interface Attributepublic void setDataType(String dataType)
dataType - The dataType to set.public void setId(boolean isId)
isId - The isId to set.public void setIsRef(boolean isRef)
Attribute
setIsRef in interface Attributepublic void setRef(boolean isRef)
isRef - The is Foreign Key to set.public void setRef(Ref ref)
Attribute
setRef in interface Attributepublic void setName(String name)
name - The name to set.public void setPermitsNull(boolean permitsNull)
permitsNull - The permitsNull to set.public void setPrimaryKey(boolean isPk)
isPk - The is Primary Key to set.public void setSize(int size)
size - The size to set.public void setXMLSchemaType(String aType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||