Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.schema.indexable.tp
Class TpPosition

java.lang.Object
  extended by com.esri.gpt.catalog.schema.indexable.tp.TpPosition

public class TpPosition
extends Object

Represents a declared time position.

Time positions are used by the parser while analyzing the time periods for a source document.


Constructor Summary
TpPosition()
          Default constructor.
 
Method Summary
 void echo(StringBuilder sb, int depth)
          Prints a string representation of the object to a buffer.
 String getDateDescriptor()
          Gets the date part of the descriptor.
 String getDescriptor()
          Gets the full descriptor.
 String getIndeterminate()
          Gets the predicate for an indeterminate boundary.
 TpInterval getInterval()
          Gets the time period interval.
 boolean getIsValid()
          True if the position is valid.
 String getPositionDescriptor()
          Gets the position part of the descriptor.
 String getTag()
          Gets the tag.
 String getType()
          Gets the type.
 String getWarning()
          Gets the warning message associated with an invalid declaration.
 void setDateDescriptor(String dateDescriptor)
          Sets the date part of the descriptor.
 void setDescriptor(String descriptor)
          Sets the full descriptor.
 void setIndeterminate(String indeterminate)
          Sets the predicate for an indeterminate boundary.
 void setInterval(TpInterval interval)
          Sets the time period interval.
 void setIsValid(boolean isValid)
          True if the position is valid.
 void setPositionDescriptor(String positionDescriptor)
          Sets the position part of the descriptor.
 void setTag(String tag)
          Sets the tag.
 void setType(String type)
          Sets the type.
 void setWarning(String warning)
          Sets the warning message associated with an invalid declaration.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TpPosition

public TpPosition()
Default constructor.

Method Detail

getDateDescriptor

public String getDateDescriptor()
Gets the date part of the descriptor.

Returns:
the date part of the descriptor

setDateDescriptor

public void setDateDescriptor(String dateDescriptor)
Sets the date part of the descriptor.

Parameters:
dateDescriptor - the date part of the descriptor

getDescriptor

public String getDescriptor()
Gets the full descriptor.

Returns:
the the full descriptor

setDescriptor

public void setDescriptor(String descriptor)
Sets the full descriptor.

Parameters:
descriptor - the full descriptor

getIndeterminate

public String getIndeterminate()
Gets the predicate for an indeterminate boundary.
after before now present unknown

Returns:
the indeterminate predicate (null if not set)

setIndeterminate

public void setIndeterminate(String indeterminate)
Sets the predicate for an indeterminate boundary.
after before now present unknown

Parameters:
indeterminate - the indeterminate predicate (null if not set)

getInterval

public TpInterval getInterval()
Gets the time period interval.

Returns:
the time period interval

setInterval

public void setInterval(TpInterval interval)
Sets the time period interval.

Parameters:
interval - the time period interval

getIsValid

public boolean getIsValid()
True if the position is valid.

Returns:
true if valid

setIsValid

public void setIsValid(boolean isValid)
True if the position is valid.

Parameters:
isValid - true if valid

getPositionDescriptor

public String getPositionDescriptor()
Gets the position part of the descriptor.

Returns:
the position part of the descriptor

setPositionDescriptor

public void setPositionDescriptor(String positionDescriptor)
Sets the position part of the descriptor.

Parameters:
positionDescriptor - the position part of the descriptor

getTag

public String getTag()
Gets the tag.

Returns:
the tag

setTag

public void setTag(String tag)
Sets the tag.

Parameters:
tag - the tag

getType

public String getType()
Gets the type.
position beginPosition endPosition

Returns:
the type

setType

public void setType(String type)
Sets the type.
position beginPosition endPosition

Parameters:
type - the type

getWarning

public String getWarning()
Gets the warning message associated with an invalid declaration.

Returns:
the warning message

setWarning

public void setWarning(String warning)
Sets the warning message associated with an invalid declaration.

Parameters:
warning - the warning message

echo

public void echo(StringBuilder sb,
                 int depth)
Prints a string representation of the object to a buffer.

Parameters:
sb - the buffer
depth - the indentation depth

toString

public String toString()
Overrides:
toString in class Object

Esri Geoportal Server
1.2.9

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