|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.search.basic.expression.ComparedProperty
represents a property, that is to be compared against a literal
Field Summary | |
protected boolean |
casesensitive
indicate, if compare should be casesensitive |
protected java.lang.String |
literal
the property's value |
protected java.lang.String |
property
the property name |
protected java.lang.String |
propNamespace
the property's namespace |
Constructor Summary | |
ComparedProperty()
allows to create a ComparedProperty without parameters. |
|
ComparedProperty(org.jdom.Element e)
Creates a compare expression according to Element e |
|
ComparedProperty(org.jdom.Element e,
boolean withLiteral)
Creates a compare expression according to Element e. |
|
ComparedProperty(java.lang.String property,
java.lang.String propNamespace)
Creates a ComparedProperty with the given propName
and propNamespace . |
Method Summary | |
boolean |
getCasesensitive()
|
java.lang.String |
getLiteral()
|
java.lang.String |
getProperty()
|
java.lang.String |
getPropNamespace()
|
boolean |
isNumeric()
Indicates, if this property shall be treated as numeric in compare |
void |
setLiteral(java.lang.String literal)
|
void |
setProperty(java.lang.String p)
|
void |
setPropNamespace(java.lang.String p)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String literal
protected java.lang.String property
protected java.lang.String propNamespace
protected boolean casesensitive
Constructor Detail |
public ComparedProperty()
public ComparedProperty(java.lang.String property, java.lang.String propNamespace)
propName
and propNamespace
.
property
- the property.propNamespace
- the property namespace.public ComparedProperty(org.jdom.Element e) throws InvalidQueryException
e
- jdom element, that describes the expressionpublic ComparedProperty(org.jdom.Element e, boolean withLiteral) throws InvalidQueryException
e
- jdom element, that describes the expressionwithLiteral
- indicates, if a literal is supplied or not (for example:
iscollectionhas no literal)Method Detail |
public void setLiteral(java.lang.String literal)
public java.lang.String getLiteral()
public void setProperty(java.lang.String p)
public java.lang.String getProperty()
public void setPropNamespace(java.lang.String p)
public java.lang.String getPropNamespace()
public boolean getCasesensitive()
public boolean isNumeric()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |