@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2023-05-18T04:52:40.966Z") public class YearConstraints extends Constraints
Constructor and Description |
---|
YearConstraints() |
Modifier and Type | Method and Description |
---|---|
YearConstraints |
allowFuture(Boolean allowFuture) |
YearConstraints |
allowPast(Boolean allowPast) |
YearConstraints |
earliestValue(String earliestValue) |
boolean |
equals(Object o) |
String |
getEarliestValue()
An ISO 8601 compliant, four digit year value.
|
String |
getLatestValue()
An ISO 8601 compliant, four digit year value.
|
int |
hashCode() |
Boolean |
isAllowFuture()
Should this question allow answers in the future? If the current date falls in a month after the indicated month, it is considered to be in the future.
|
Boolean |
isAllowPast()
Should this question allow answers in the past? If the current date falls in a month prior to the indicated month, it is considered to be in the past.
|
YearConstraints |
latestValue(String latestValue) |
void |
setAllowFuture(Boolean allowFuture) |
void |
setAllowPast(Boolean allowPast) |
void |
setEarliestValue(String earliestValue) |
void |
setLatestValue(String latestValue) |
String |
toString() |
dataType, getDataType, getType, isRequired, required, setDataType, setRequired
public YearConstraints allowFuture(Boolean allowFuture)
public Boolean isAllowFuture()
public void setAllowFuture(Boolean allowFuture)
public YearConstraints allowPast(Boolean allowPast)
public Boolean isAllowPast()
public void setAllowPast(Boolean allowPast)
public YearConstraints earliestValue(String earliestValue)
public String getEarliestValue()
public void setEarliestValue(String earliestValue)
public YearConstraints latestValue(String latestValue)
public String getLatestValue()
public void setLatestValue(String latestValue)
public boolean equals(Object o)
equals
in class Constraints
public int hashCode()
hashCode
in class Constraints
public String toString()
toString
in class Constraints
Copyright © 2023 Sage Bionetworks. All rights reserved.