|
|||||||||
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 Attribute
public boolean isRef()
Attribute
isRef
in interface Attribute
public boolean isPermitsNull()
Attribute
isPermitsNull
in interface Attribute
public boolean isPrimaryKey()
public String getDataType()
Attribute
getDataType
in interface Attribute
public String getName()
Attribute
getName
in interface Attribute
public Ref getRef()
Attribute
getRef
in interface Attribute
public int getSize()
Attribute
getSize
in interface Attribute
public String getXMLSchemaType()
getXMLSchemaType
in interface Attribute
public 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 Attribute
public void setRef(boolean isRef)
isRef
- The is Foreign Key to set.public void setRef(Ref ref)
Attribute
setRef
in interface Attribute
public 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 |