|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.PropertyEditorSupport atg.service.datacollection.SQLColumnMappingEditor
public class SQLColumnMappingEditor
PropertyEditor for SQLColumnMapping
SQLColumnMapping
Field Summary | |
---|---|
static java.lang.String |
ADD_COLUMN_TAG
tag that indicates sum columns for doing updates. |
static java.lang.String |
CLASS_VERSION
Class version string |
static char |
SEPARATOR_CHAR
separates the name from the column name |
static java.lang.String |
SET_COLUMN_TAG
tag that indicates set columns for doing updates. |
static char |
VARIABLE_INTRODUCER_CHAR
character that introduces variables |
Constructor Summary | |
---|---|
SQLColumnMappingEditor()
Construct an empty parser |
Method Summary | |
---|---|
java.lang.String |
getAsText()
Get the property value as a human editable String |
java.lang.Object |
parsePropertyValue(java.lang.String pString)
Parse the supplied string into a SQLColumnMapping |
void |
setAsText(java.lang.String pValue)
Set the value of the SQLColumnMapping Set the property value by parsing a given String. |
Methods inherited from class java.beans.PropertyEditorSupport |
---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final char SEPARATOR_CHAR
public static final char VARIABLE_INTRODUCER_CHAR
public static final java.lang.String ADD_COLUMN_TAG
public static final java.lang.String SET_COLUMN_TAG
Constructor Detail |
---|
public SQLColumnMappingEditor()
Method Detail |
---|
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String pValue) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
pValue
- the String value to set
java.lang.IllegalArgumentException
- if the String is badly
formattedpublic java.lang.Object parsePropertyValue(java.lang.String pString) throws atg.nucleus.PropertyValueParseException
A valid string is of the form:
propname:colname[:methodType]
where propname
refers to a named property
of the event or of the summary item, colname
is the
name of the SQL column to hold the property, and the optional
methodType
is either "add" or "set". The method
type only applies to SQLTableSummaryLoggers that are configured
to do UPDATE operations when flushed their data.
pString
- the string to parsepClass
- the desired class (not used)
atg.nucleus.PropertyValueParseException
SQLTableSummaryLoggers
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |