public class DataFilterField extends java.lang.Object implements DataFilterElement
DataFilterElement representing a field.
Copyright 2008 Partner Software, Inc.
| Modifier and Type | Class and Description |
|---|---|
static class |
DataFilterField.FieldType
Types of field
|
| Constructor and Description |
|---|
DataFilterField(Cog cog)
Creates a new DataFilterField from the passed cog.
|
DataFilterField(java.lang.Object field,
DataFilterField.FieldType type)
Creates a new DataFilterField object with the passed value of
the passed type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
DataFilterField.FieldType |
getType()
Returns the
DataFilterField.FieldType |
java.lang.Object |
getValue()
Returns the value
|
int |
hashCode() |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
public DataFilterField(java.lang.Object field,
DataFilterField.FieldType type)
field - - Value for this field. ie, field name or constant.type - - DataFilterField.FieldType of thispublic java.lang.Object getValue()
public DataFilterField.FieldType getType()
DataFilterField.FieldTypeDataFilterField.FieldTypepublic Cog toCog()
CoggableCog.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object