|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.persist.jdbc.Name
public class Name
A ServerColumnMetaData is a description of the data type and other
attributes of a table storage column. (persists on server)
It also includes the server relevant infos, in addition to the ColumnMetaData just for the client.
IDataType,
ColumnMetaData| Constructor Summary | |
|---|---|
Name()
Constructs a Name object. |
|
Name(java.lang.String pRealName,
java.lang.String pQuotedName)
Constructs a Name with a specific real name. |
|
Name(java.lang.String pName,
java.lang.String pRealName,
java.lang.String pQuotedName)
Constructs a Name with a specific real name. |
|
| Method Summary | |
|---|---|
Name |
clone()
|
boolean |
equals(java.lang.Object pObject)
|
java.lang.String |
getName()
Returns the name to use in the application. default is toUpperCase(). |
java.lang.String |
getQuotedName()
Returns the quoted name to use in the database. |
java.lang.String |
getRealName()
Returns the real name. |
int |
hashCode()
|
boolean |
isQuoted()
Returns true if the quoted name should be used. |
void |
setName(java.lang.String pName)
Sets the name use in the application. |
void |
setQuotedName(java.lang.String pQuotedName)
Sets the quoted name to use in the database. |
void |
setRealName(java.lang.String pRealName)
Sets the real name. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Name()
Name object.
public Name(java.lang.String pRealName,
java.lang.String pQuotedName)
Name with a specific real name.
pRealName - the real name to use.pQuotedName - the quoted name to use for the database.
public Name(java.lang.String pName,
java.lang.String pRealName,
java.lang.String pQuotedName)
Name with a specific real name.
pName - the name.pRealName - the real name to use.pQuotedName - the quoted name to use for the database.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic Name clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void setRealName(java.lang.String pRealName)
pRealName - the real name to use.public java.lang.String getRealName()
public void setName(java.lang.String pName)
pName - the name to us in the applicationpublic java.lang.String getName()
public void setQuotedName(java.lang.String pQuotedName)
pQuotedName - the quoted name to use in the databasepublic java.lang.String getQuotedName()
public boolean isQuoted()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||