本文整理了Java中org.hibernate.validator.constraints.Range
类的一些代码示例,展示了Range
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Range
类的具体详情如下:
包路径:org.hibernate.validator.constraints.Range
类名称:Range
暂无
代码示例来源:origin: cloudera/cm_ext
/**
* During autoconfiguration for RM, the share dictates the percentage of the
* role's overall memory allotment that should be set aside for this memory
* quantity.
* <p>
* If null, parameter is not autoconfigured for RM.
*/
@Range(min = 0, max = 100)
Integer getAutoConfigShare();
}
代码示例来源:origin: works.lmz.controlpanel/apidoc-controlpanel
String.format(
"Range(min = %d, max = %d)",
field.getAnnotation(Range.class).min(),
field.getAnnotation(Range.class).max()
代码示例来源:origin: io.swagger/swagger-hibernate-validations
Range range = (Range) annos.get("org.hibernate.validator.constraints.Range");
AbstractNumericProperty ap = (AbstractNumericProperty) property;
ap.setMinimum(new BigDecimal(range.min()));
ap.setMaximum(new BigDecimal(range.max()));
代码示例来源:origin: org.springframework.cloud.stream.app/sftp-app-starters-common
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: fabiomaffioletti/jsondoc
apiPojoFieldDoc.addFormat(String.format(Range_message, annotation.min(), annotation.max()));
代码示例来源:origin: org.springframework.xd/spring-xd-module-spi
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: org.springframework.cloud.stream.module/spring-cloud-stream-modules-common-configuration
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: org.springframework.cloud.stream.app/spring-cloud-starter-stream-sink-cassandra
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: org.springframework.cloud.stream.app/spring-cloud-starter-stream-sink-mqtt
@Range(min = 0, max = 2)
public int getQos() {
return this.qos;
}
代码示例来源:origin: org.springframework.cloud.stream.app/app-starters-ftp-common
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: org.springframework.cloud/spring-cloud-stream-binder-rabbit-core
@Range(min = 0, max = 255)
public Integer getMaxPriority() {
return this.maxPriority;
}
代码示例来源:origin: org.springframework.cloud.stream.module/spring-cloud-stream-modules-common-configuration
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: org.springframework.cloud.stream.app/spring-cloud-starter-stream-sink-sftp
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: org.springframework.cloud.stream.app/app-starters-sftp-common
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: spring-cloud/spring-cloud-stream-app-starters
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: spring-cloud/spring-cloud-stream-app-starters
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: spring-cloud/spring-cloud-stream-app-starters
@Range(min = 0, max = 65535)
public int getPort() {
return this.port;
}
代码示例来源:origin: spring-cloud/spring-cloud-stream-binder-rabbit
@Range(min = 0, max = 255)
public Integer getMaxPriority() {
return this.maxPriority;
}
代码示例来源:origin: st-tu-dresden/videoshop
@Range(min = 1, max = 5)
int getRating();
代码示例来源:origin: cloudera/cm_ext
@NotNull
@Range(min = 1, max = 1)
Integer getSchema_version();
内容来源于网络,如有侵权,请联系作者删除!