Esri Geoportal Server
1.0

com.esri.gpt.catalog.discovery
Class PropertyClause

java.lang.Object
  extended by com.esri.gpt.catalog.discovery.DiscoveryComponent
      extended by com.esri.gpt.catalog.discovery.DiscoveryClause
          extended by com.esri.gpt.catalog.discovery.PropertyClause
Direct Known Subclasses:
PropertyClause.PropertyIsBetween, PropertyClause.PropertyIsEqualTo, PropertyClause.PropertyIsGreaterThan, PropertyClause.PropertyIsGreaterThanOrEqualTo, PropertyClause.PropertyIsLessThan, PropertyClause.PropertyIsLessThanOrEqualTo, PropertyClause.PropertyIsLike, PropertyClause.PropertyIsNotEqualTo, PropertyClause.PropertyIsNull

public class PropertyClause
extends DiscoveryClause

A clause that compares a stored property to a supplied literal.


Nested Class Summary
static class PropertyClause.PropertyIsBetween
          A property comparison between two literals.
static class PropertyClause.PropertyIsEqualTo
          A property is equal to a literal comparison.
static class PropertyClause.PropertyIsGreaterThan
          A property is greater than a literal comparison.
static class PropertyClause.PropertyIsGreaterThanOrEqualTo
          A property is greater than or equal to a literal comparison.
static class PropertyClause.PropertyIsLessThan
          A property is less than a literal comparison.
static class PropertyClause.PropertyIsLessThanOrEqualTo
          A property is less than or equal to a literal comparison.
static class PropertyClause.PropertyIsLike
          A property is like a literal comparison.
static class PropertyClause.PropertyIsNotEqualTo
          A property is not equal to a literal comparison.
static class PropertyClause.PropertyIsNull
          A property is null comparison
 
Method Summary
 void echo(StringBuffer sb, int depth)
          Appends property information for the component to a buffer.
 String getLiteral()
          Gets the literal value that constrains the clause.
 Discoverable getTarget()
          Gets the discoverable property targeted by the clause.
 void setLiteral(String literal)
          Sets the literal value that constrains the clause.
 void setTarget(Discoverable target)
          Sets the discoverable property targeted by the clause.
 
Methods inherited from class com.esri.gpt.catalog.discovery.DiscoveryClause
echo
 
Methods inherited from class com.esri.gpt.catalog.discovery.DiscoveryComponent
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLiteral

public String getLiteral()
Gets the literal value that constrains the clause.

Returns:
the literal value

setLiteral

public void setLiteral(String literal)
Sets the literal value that constrains the clause.

Parameters:
literal - the literal value

getTarget

public Discoverable getTarget()
Gets the discoverable property targeted by the clause.

Returns:
the target

setTarget

public void setTarget(Discoverable target)
Sets the discoverable property targeted by the clause.

Parameters:
target - the target

echo

public void echo(StringBuffer sb,
                 int depth)
Appends property information for the component to a buffer.

Overrides:
echo in class DiscoveryClause
Parameters:
sb - the buffer to use when appending information
depth - the depth of the clause

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.