Esri Geoportal Server
1.2.9

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

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

public class TpInterval
extends Object

Represents the boundaries of a time period interval.

Boundaries are milliseconds since the epoch (January 1, 1970, 00:00:00 GMT).

Indeterminate: unknown now now.lower now.upper


Constructor Summary
TpInterval()
          Default constructor.
TpInterval(Long lower, Long upper)
          Construct with a lower and upper bound.
TpInterval(Long lower, Long upper, String indeterminate)
          Construct with a lower and upper bound.
 
Method Summary
 String getIndeterminate()
          Gets the predicate for an indeterminate interval.
 Long getLower()
          Gets the lower boundary.
 Long getUpper()
          Gets the upper boundary.
 void setIndeterminate(String indeterminate)
          Sets the predicate for an indeterminate interval.
 void setLower(Long lower)
          Sets the lower boundary.
 void setUpper(Long upper)
          Sets the upper boundary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TpInterval

public TpInterval()
Default constructor.


TpInterval

public TpInterval(Long lower,
                  Long upper)
Construct with a lower and upper bound.

Parameters:
lower - the lower boundary
upper - the upper boundary

TpInterval

public TpInterval(Long lower,
                  Long upper,
                  String indeterminate)
Construct with a lower and upper bound.

Parameters:
lower - the lower boundary
upper - the upper boundary
indeterminate - the indeterminate
Method Detail

getIndeterminate

public String getIndeterminate()
Gets the predicate for an indeterminate interval.
unknown now now.lower now.upper

Returns:
the indeterminate predicate (null if not set)

setIndeterminate

public void setIndeterminate(String indeterminate)
Sets the predicate for an indeterminate interval.
unknown now now.lower now.upper

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

getLower

public Long getLower()
Gets the lower boundary.

Returns:
the lower boundary

setLower

public void setLower(Long lower)
Sets the lower boundary.

Parameters:
lower - the lower boundary

getUpper

public Long getUpper()
Gets the upper boundary.

Returns:
the upper boundary

setUpper

public void setUpper(Long upper)
Sets the upper boundary.

Parameters:
upper - the upper boundary

Esri Geoportal Server
1.2.9

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