Esri Geoportal Server
1.0

com.esri.gpt.catalog.discovery
Class PropertyMeaning

java.lang.Object
  extended by com.esri.gpt.catalog.discovery.DiscoveryComponent
      extended by com.esri.gpt.catalog.discovery.PropertyMeaning
Direct Known Subclasses:
PropertyMeaning.AnyText, PropertyMeaning.Geometry

public class PropertyMeaning
extends DiscoveryComponent

Represents the meaning associated with a discoverable property.


Nested Class Summary
static class PropertyMeaning.AnyText
          Any text meaning (for queries executed against multiple fields).
static class PropertyMeaning.Geometry
          Geometry property (Envelope based).
 
Constructor Summary
PropertyMeaning(String name, PropertyMeaningType meaningType, PropertyValueType valueType, PropertyComparisonType comparisonType)
          Constructs a property meaning.
 
Method Summary
 void echo(StringBuffer sb)
          Appends property information for the component to a buffer.
 void echo(StringBuffer sb, int depth)
          Appends property information for the component to a buffer.
 boolean getAllowLeadingWildcard()
          Gets the status indicating whether or not "LIKE" expressions can begin with a wildcard for this property.
 PropertyComparisonType getComparisonType()
          Gets the comparison type for the property.
 DcElement getDcElement()
          Gets the Dublin Core element associated with this property.
 PropertyMeaningType getMeaningType()
          Gets the meaning type for the property.
 String getName()
          Gets the name of the meaning.
 PropertyValueType getValueType()
          Gets the value type for the property.
 void setAllowLeadingWildcard(boolean allow)
          Sets the status indicating whether or not "LIKE" expressions can begin with a wildcard for this property.
 void setComparisonType(PropertyComparisonType comparisonType)
          Sets the comparison type for the property.
 void setDcElement(DcElement element)
          Sets the Dublin Core element associated with this property.
 void setMeaningType(PropertyMeaningType meaningType)
          Sets the meaning type for the property.
 void setName(String name)
          Sets the name of the meaning.
 void setValueType(PropertyValueType valueType)
          Sets the value type for the property.
 
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
 

Constructor Detail

PropertyMeaning

public PropertyMeaning(String name,
                       PropertyMeaningType meaningType,
                       PropertyValueType valueType,
                       PropertyComparisonType comparisonType)
Constructs a property meaning.

Parameters:
name - the property name
meaningType - the property meaning type
valueType - the property value type
comparisonType - the property comparison type
Method Detail

getAllowLeadingWildcard

public boolean getAllowLeadingWildcard()
Gets the status indicating whether or not "LIKE" expressions can begin with a wildcard for this property.

Returns:
true if "LIKE" expressions can begin with a wildcard

setAllowLeadingWildcard

public void setAllowLeadingWildcard(boolean allow)
Sets the status indicating whether or not "LIKE" expressions can begin with a wildcard for this property.

Parameters:
allow - true if "LIKE" expressions can begin with a wildcard

getComparisonType

public PropertyComparisonType getComparisonType()
Gets the comparison type for the property.

Returns:
the property comparison type

setComparisonType

public void setComparisonType(PropertyComparisonType comparisonType)
Sets the comparison type for the property.

Parameters:
comparisonType - the property comparison type

getDcElement

public DcElement getDcElement()
Gets the Dublin Core element associated with this property.

Returns:
the Dublin Core element

setDcElement

public void setDcElement(DcElement element)
Sets the Dublin Core element associated with this property.

Parameters:
element - the Dublin Core element

getMeaningType

public PropertyMeaningType getMeaningType()
Gets the meaning type for the property.

Returns:
the property meaning type

setMeaningType

public void setMeaningType(PropertyMeaningType meaningType)
Sets the meaning type for the property.

Parameters:
meaningType - the property meaning type

getName

public String getName()
Gets the name of the meaning.

Returns:
the associated name for the meaning

setName

public void setName(String name)
Sets the name of the meaning.

Parameters:
name - the associated name for the meaning

getValueType

public PropertyValueType getValueType()
Gets the value type for the property.

Returns:
the property value type

setValueType

public void setValueType(PropertyValueType valueType)
Sets the value type for the property.

Parameters:
valueType - the property value type

echo

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

Overrides:
echo in class DiscoveryComponent
Parameters:
sb - the buffer to use when appending information

echo

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

Parameters:
sb - the buffer to use when appending information
depth - the depth of the parent clause

Esri Geoportal Server
1.0

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