public abstract static class QueryBuilderUtil.Predicate extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected String |
id |
static String |
TAB |
Constructor and Description |
---|
QueryBuilderUtil.Predicate()
Constructor.
|
QueryBuilderUtil.Predicate(String id,
String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
QueryBuilderUtil.Predicate |
findPredicate(String id)
Find predicate with given id.
|
static QueryBuilderUtil.Predicate |
fromXML(String predicate)
Parse predicate from XML.
|
String |
getDescription() |
String |
getId() |
void |
setDescription(String description) |
void |
setId(String id) |
abstract String |
toSql(String indent,
org.openmdx.base.naming.Path accessPath,
String tableAlias)
Format predicate as SQL clause.
|
String |
toXML()
Render predicate as XML.
|
public static final String TAB
protected String id
protected String description
public String getId()
public void setId(String id)
id
- the id to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic QueryBuilderUtil.Predicate findPredicate(String id)
id
- public abstract String toSql(String indent, org.openmdx.base.naming.Path accessPath, String tableAlias) throws org.openmdx.base.exception.ServiceException
indent
- accessPath
- tableAlias
- databasePlugIns
- org.openmdx.base.exception.ServiceException
public String toXML() throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public static QueryBuilderUtil.Predicate fromXML(String predicate) throws org.openmdx.base.exception.ServiceException
predicate
- org.openmdx.base.exception.ServiceException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.