|
xmlBlaster 2.2.0 contributions API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.contrib.dbwriter.info.SqlRow
public class SqlRow
Field Summary | |
---|---|
static java.lang.String |
COL_TAG
|
static java.lang.String |
NUM_ATTR
|
static java.lang.String |
ROW_TAG
|
Constructor Summary | |
---|---|
SqlRow(I_Info info,
int position)
|
Method Summary | |
---|---|
void |
addAttributes(java.util.Map map)
It copies (stores) all entries found in the map into the attributes. |
protected java.lang.Object |
clone()
|
SqlRow |
cloneRow()
|
org.xmlBlaster.util.qos.ClientProperty |
getAttribute(java.lang.String key)
Returns the requested attribute. |
java.lang.String[] |
getAttributeNames()
|
java.lang.String |
getColsRawContent()
|
org.xmlBlaster.util.qos.ClientProperty |
getColumn(java.lang.String key)
|
java.lang.String[] |
getColumnNames()
|
boolean |
isCaseSensitive()
|
void |
renameColumn(java.lang.String oldName,
java.lang.String newName)
Renames the given column. |
void |
setAttribute(org.xmlBlaster.util.qos.ClientProperty value)
Stores the client property as a new value. |
void |
setAttribute(java.lang.String key,
java.lang.String value)
Stores the String as a new value. |
void |
setCaseSensitive(boolean caseSensitive)
|
void |
setColumn(org.xmlBlaster.util.qos.ClientProperty value)
Stores the client property as a new value. |
java.lang.String |
toXml(java.lang.String extraOffset)
|
java.lang.String |
toXml(java.lang.String extraOffset,
boolean withRowTag)
|
java.lang.String |
toXml(java.lang.String extraOffset,
boolean withRowTag,
boolean doTruncate,
boolean forceReadable)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ROW_TAG
public static final java.lang.String COL_TAG
public static final java.lang.String NUM_ATTR
Constructor Detail |
---|
public SqlRow(I_Info info, int position)
Method Detail |
---|
public SqlRow cloneRow()
protected java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String[] getAttributeNames()
public java.lang.String[] getColumnNames()
public org.xmlBlaster.util.qos.ClientProperty getAttribute(java.lang.String key)
key
- the key of the attribute
public void setAttribute(org.xmlBlaster.util.qos.ClientProperty value)
value
- the value to store as an attribute.public void setAttribute(java.lang.String key, java.lang.String value)
value
- the value to store as an attribute.public void addAttributes(java.util.Map map)
map
- public org.xmlBlaster.util.qos.ClientProperty getColumn(java.lang.String key)
public void setColumn(org.xmlBlaster.util.qos.ClientProperty value)
value
- the value to store as an attribute.
java.lang.IllegalArgumentException
- if the entry already existed, if the value is null or if the raw columns have already been set.public void renameColumn(java.lang.String oldName, java.lang.String newName) throws java.lang.Exception
oldName
- newName
-
java.lang.Exception
- if one of the names is nullpublic java.lang.String toXml(java.lang.String extraOffset)
public java.lang.String toXml(java.lang.String extraOffset, boolean withRowTag)
public final java.lang.String toXml(java.lang.String extraOffset, boolean withRowTag, boolean doTruncate, boolean forceReadable)
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
public java.lang.String getColsRawContent()
|
xmlBlaster 2.2.0 contributions API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |