Class SearchCriteria.TimeAttributeMatchClause
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SearchCriteria.MatchClause
-
- ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SearchCriteria.TimeAttributeMatchClause
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- SearchCriteria
@JsonObject("TimeAttributeMatchClause") public static class SearchCriteria.TimeAttributeMatchClause extends SearchCriteria.MatchClauseA MatchClause for comparing a time attribute to a specified value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimeAttributeMatchClause(SearchCriteria.MatchClauseTimeAttribute attribute, java.lang.String desiredDate, java.lang.String timezone, SearchCriteria.CompareMode mode)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)SearchCriteria.MatchClauseTimeAttributegetAttribute()Return the code of the attribute to compare against.java.lang.StringgetTimeZone()Return the time zone to compare against.inthashCode()-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SearchCriteria.MatchClause
createAnyFieldMatch, createAnyPropertyMatch, createAttributeMatch, createPropertyMatch, createTimeAttributeMatch, escape, getCompareMode, getDesiredValue, getFieldCode, getFieldType, toString
-
-
-
-
Constructor Detail
-
TimeAttributeMatchClause
protected TimeAttributeMatchClause(SearchCriteria.MatchClauseTimeAttribute attribute, java.lang.String desiredDate, java.lang.String timezone, SearchCriteria.CompareMode mode)
Constructor.- Parameters:
attribute- The attribute to compare against.desiredDate- The desired value of the attribute.timezone- The time zone to use in the comparison.mode- The kind of comparison to carry out.
-
-
Method Detail
-
getAttribute
public SearchCriteria.MatchClauseTimeAttribute getAttribute()
Return the code of the attribute to compare against.
-
getTimeZone
public java.lang.String getTimeZone()
Return the time zone to compare against.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classSearchCriteria.MatchClause
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSearchCriteria.MatchClause
-
-