public class QbeFilter.AttributeExpressions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DB2DB |
static int |
ORACLEDB |
static int |
SQLSERVERDB |
Constructor and Description |
---|
AttributeExpressions(java.lang.String attrStrg)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute()
Returns the name of the attribute.
|
java.lang.String |
getGuiFieldName()
returns the Bongo Field name if the field is of type BoundMXTextField.
|
java.lang.String |
getMboName()
Deprecated.
|
java.lang.String |
getPrepend()
Returns the value of the prepend.
|
java.lang.String |
getQbeKey()
Returns the key for this expression.
|
java.lang.String |
getValue()
Returns the raw value that was typed in.
|
java.lang.String |
getWhereSnippet(java.lang.String alias)
Returns a where clause for the attribute using the operators & values
|
boolean |
isWildCardPresent(java.lang.String expr) |
boolean |
isWildCardPresentAtFirst(java.lang.String expr) |
boolean |
isWildCardPresentAtLast(java.lang.String expr) |
boolean |
satisfy(MboRemote mbo) |
void |
setUnparsedValue(java.lang.String val)
Needed for setWhereQbe
|
void |
setValue(java.lang.String val)
Sets the value for this attribute expression.
|
void |
setWhereQbe(boolean isWhereWbe)
sets the flag for where Qbe
|
java.lang.String |
toString() |
public static final int ORACLEDB
public static final int SQLSERVERDB
public static final int DB2DB
public AttributeExpressions(java.lang.String attrStrg) throws MXException
attrStrg
- The attribute/field specifier. See format above.MXException
- If the attribute isn't found or the value isn't valid for the
attribute's data type.public boolean satisfy(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setValue(java.lang.String val) throws MXException
MXException
public boolean isWildCardPresentAtFirst(java.lang.String expr)
public boolean isWildCardPresentAtLast(java.lang.String expr)
public boolean isWildCardPresent(java.lang.String expr)
public java.lang.String getGuiFieldName()
public java.lang.String getMboName()
public java.lang.String getAttribute()
public java.lang.String getPrepend()
public java.lang.String getQbeKey()
public java.lang.String getValue()
public void setUnparsedValue(java.lang.String val)
val
- public void setWhereQbe(boolean isWhereWbe)
public java.lang.String getWhereSnippet(java.lang.String alias) throws MXException
alias
- The table alias prefix.MXException
public java.lang.String toString()
toString
in class java.lang.Object