public class TimeToLiveDTO extends ObjectWithReflectiveEqualsHashCodeToString implements DTO<TimeToLive>
Constructor and Description |
---|
TimeToLiveDTO() |
TimeToLiveDTO(TimeToLive timeToLive) |
Modifier and Type | Method and Description |
---|---|
TimeToLive |
buildObject() |
Long |
getTimeToLive() |
TimeUnit |
getTimeUnit() |
boolean |
isUnlimited() |
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key, toString
public TimeToLiveDTO(TimeToLive timeToLive)
public TimeToLiveDTO()
public TimeToLive buildObject()
buildObject
in interface DTO<TimeToLive>
public TimeUnit getTimeUnit()
public Long getTimeToLive()
public boolean isUnlimited()
Copyright © 2018. All rights reserved.