|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.core.interfaces.ResultSpecification
public class ResultSpecification
An instance of this class is used to specify the result form of a column, if more than one form is possible. If no form is specified, then a default form will be used.
| Nested Class Summary | |
|---|---|
protected static class |
ResultSpecification.ColumnSpecification
|
| Field Summary | |
|---|---|
protected java.util.HashMap |
columnSpecifications
This map has a column name as a key, and a ColumnSpecification object as a value |
static int |
FORM_DEFAULT
|
static int |
FORM_STREAM
|
static int |
FORM_STRING
|
| Constructor Summary | |
|---|---|
ResultSpecification()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Check equals |
int |
getForm(java.lang.String columnName)
Get the specified form of a column |
int |
hashCode()
Calculate a hash value |
void |
setForm(java.lang.String columnName,
int formValue)
Specify that a column is to be read as a file stream, if possible |
java.lang.String |
toString()
Convert to a unique string |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FORM_DEFAULT
public static final int FORM_STRING
public static final int FORM_STREAM
protected java.util.HashMap columnSpecifications
| Constructor Detail |
|---|
public ResultSpecification()
| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public void setForm(java.lang.String columnName,
int formValue)
public int getForm(java.lang.String columnName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||