Package org.exoplatform.clouddrive.cmis
Class CMISAPI.TimeChangeToken
- java.lang.Object
-
- org.exoplatform.clouddrive.cmis.CMISAPI.ChangeToken
-
- org.exoplatform.clouddrive.cmis.CMISAPI.TimeChangeToken
-
- Enclosing class:
- CMISAPI
protected class CMISAPI.TimeChangeToken extends CMISAPI.ChangeToken
The Class TimeChangeToken.
-
-
Field Summary
Fields Modifier and Type Field Description protected GregorianCalendartimeThe time.-
Fields inherited from class org.exoplatform.clouddrive.cmis.CMISAPI.ChangeToken
order, token
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimeChangeToken(GregorianCalendar time)Instantiates a new time change token.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CMISAPI.ChangeToken other)Compare to.booleanequals(CMISAPI.ChangeToken other)Compare this token with the given and returntrueif they are equal,falseotherwise.protected GregorianCalendargetTime()Gets the time.
-
-
-
Field Detail
-
time
protected final GregorianCalendar time
The time.
-
-
Constructor Detail
-
TimeChangeToken
protected TimeChangeToken(GregorianCalendar time)
Instantiates a new time change token.- Parameters:
time- the time
-
-
Method Detail
-
getTime
protected GregorianCalendar getTime()
Gets the time.- Returns:
- the time
-
equals
public boolean equals(CMISAPI.ChangeToken other)
Compare this token with the given and returntrueif they are equal,falseotherwise. Empty tokens aren't equal.- Overrides:
equalsin classCMISAPI.ChangeToken- Parameters:
other-CMISAPI.ChangeToken- Returns:
- boolean
trueif tokens equal,falseotherwise
-
compareTo
public int compareTo(CMISAPI.ChangeToken other)
Compare to.- Overrides:
compareToin classCMISAPI.ChangeToken- Parameters:
other- the other- Returns:
- the int
-
-