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