public class DBQueryColumn
extends java.lang.Object
Constructor and Description |
---|
DBQueryColumn(Path path,
java.lang.String displayFormat)
Constructs a DBQueryColumn.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayFormat()
Returns the display format used for displaying target field value
|
Path |
getPath()
Returns the associated Path
|
java.lang.String |
getString(DBObject base)
Retrieves the String value from the supplied base object in the
correct display format
|
DBField |
getTargetField()
The target field of the Path
|
public DBQueryColumn(Path path, java.lang.String displayFormat)
path
- The path to the field to be retrieveddisplayFormat
- (Optional)The format that the field value should be retrieve inpublic Path getPath()
public DBField getTargetField()
public java.lang.String getDisplayFormat()
public java.lang.String getString(DBObject base) throws java.lang.Exception
base
- The base object to retrieve the value fromjava.lang.Exception
- - The value could not be retrievedstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.