org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.filter.property
Class TimeInMillisecondsPropertyValueBetweenCondition

java.lang.Object
  extended by org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.filter.property.TimeInMillisecondsPropertyValueBetweenCondition
All Implemented Interfaces:
PropertyCondition

public class TimeInMillisecondsPropertyValueBetweenCondition
extends java.lang.Object
implements PropertyCondition

Author:
Federico De Faveri defaveri@isti.cnr.it

Constructor Summary
TimeInMillisecondsPropertyValueBetweenCondition(java.lang.String propertyName, java.lang.Long lowerBound, java.lang.Long upperBound)
           
 
Method Summary
 boolean contains(PropertyCondition condition)
          Check if the specified condition is contained in this property condition tree.
 boolean equals(java.lang.Object obj)
          
 PropertyConditionType getConditionType()
          
 java.lang.Long getLowerBound()
           
 java.lang.String getPropertyName()
           
 java.lang.Long getUpperBound()
           
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeInMillisecondsPropertyValueBetweenCondition

public TimeInMillisecondsPropertyValueBetweenCondition(java.lang.String propertyName,
                                                       java.lang.Long lowerBound,
                                                       java.lang.Long upperBound)
Parameters:
propertyName -
lowerBound -
upperBound -
Method Detail

getConditionType

public PropertyConditionType getConditionType()

Specified by:
getConditionType in interface PropertyCondition

getPropertyName

public java.lang.String getPropertyName()
Returns:
the propertyName

getLowerBound

public java.lang.Long getLowerBound()
Returns:
the lowerBound

getUpperBound

public java.lang.Long getUpperBound()
Returns:
the upperBound

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

contains

public boolean contains(PropertyCondition condition)
Check if the specified condition is contained in this property condition tree.

Specified by:
contains in interface PropertyCondition
Parameters:
condition - the condition to find
Returns:
true if is present, false otherwise.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object