本文整理了Java中org.n52.faroe.Validation.greaterZero()
方法的一些代码示例,展示了Validation.greaterZero()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Validation.greaterZero()
方法的具体详情如下:
包路径:org.n52.faroe.Validation
类名称:Validation
方法名:greaterZero
暂无
代码示例来源:origin: 52North/SOS
@Setting(CACHE_THREAD_COUNT)
public void setCacheThreadCount(int threads) throws ConfigurationError {
Validation.greaterZero("Cache Thread Count", threads);
this.cacheThreadCount = threads;
}
代码示例来源:origin: 52North/SOS
/**
* Set storage 3D EPSG code from settings
*
* @param epsgCode3D
* 3D EPSG code from settings
*
* @throws ConfigurationError
* If an error occurs
*/
@Setting(FeatureQuerySettingsProvider.STORAGE_3D_EPSG)
public void setStorage3DEPSG(int epsgCode3D) throws ConfigurationError {
Validation.greaterZero("Storage 3D EPSG Code", epsgCode3D);
this.storage3DEPSG = epsgCode3D;
}
代码示例来源:origin: 52North/SOS
/**
* Set default response EPSG code from settings
*
* @param epsgCode
* EPSG code from settings
*
* @throws ConfigurationError
* If an error occurs
*/
@Setting(FeatureQuerySettingsProvider.DEFAULT_RESPONSE_EPSG)
public void setDefaultResponseEPSG(int epsgCode) throws ConfigurationError {
Validation.greaterZero("Storage EPSG Code", epsgCode);
this.defaultResponseEPSG = epsgCode;
}
代码示例来源:origin: 52North/SOS
/**
* Set default response 3D EPSG code from settings
*
* @param epsgCode3D
* 3D EPSG code from settings
*
* @throws ConfigurationError
* If an error occurs
*/
@Setting(FeatureQuerySettingsProvider.DEFAULT_RESPONSE_3D_EPSG)
public void setDefaultResponse3DEPSG(int epsgCode3D) throws ConfigurationError {
Validation.greaterZero("Storage 3D EPSG Code", epsgCode3D);
this.defaultResponse3DEPSG = epsgCode3D;
}
代码示例来源:origin: 52North/SOS
/**
* Set storage EPSG code from settings
*
* @param epsgCode
* EPSG code from settings
*
* @throws ConfigurationError
* If an error occurs
*/
@Setting(FeatureQuerySettingsProvider.STORAGE_EPSG)
public void setStorageEPSG(int epsgCode) throws ConfigurationError {
Validation.greaterZero("Storage EPSG Code", epsgCode);
this.storageEPSG = epsgCode;
}
代码示例来源:origin: 52North/SOS
/**
* Set default response EPSG code from settings
*
* @param epsgCode EPSG code from settings
*
* @throws ConfigurationError If an error occurs
*/
@Setting(FeatureQuerySettingsProvider.DEFAULT_RESPONSE_EPSG)
public void setDefaultResponseEpsg(int epsgCode) throws ConfigurationError {
Validation.greaterZero("Storage EPSG Code", epsgCode);
defaultResponseEPSG = epsgCode;
addToSupportedCrs(epsgCode);
}
代码示例来源:origin: 52North/SOS
/**
* Set default response 3D EPSG code from settings
*
* @param epsgCode3D 3D EPSG code from settings
*
* @throws ConfigurationError If an error occurs
*/
@Setting(FeatureQuerySettingsProvider.DEFAULT_RESPONSE_3D_EPSG)
public void setDefaultResponse3DEpsg(int epsgCode3D) throws ConfigurationError {
Validation.greaterZero("Storage 3D EPSG Code", epsgCode3D);
defaultResponse3DEPSG = epsgCode3D;
addToSupportedCrs(epsgCode3D);
}
代码示例来源:origin: 52North/SOS
/**
* Set storage EPSG code from settings
*
* @param epsgCode EPSG code from settings
*
* @throws ConfigurationError If an error occurs
*/
@Setting(FeatureQuerySettingsProvider.STORAGE_EPSG)
public void setStorageEpsg(int epsgCode) throws ConfigurationError {
Validation.greaterZero("Storage EPSG Code", epsgCode);
storageEPSG = epsgCode;
addToSupportedCrs(epsgCode);
}
代码示例来源:origin: 52North/SOS
/**
* Set storage 3D EPSG code from settings
*
* @param epsgCode3D 3D EPSG code from settings
*
* @throws ConfigurationError If an error occurs
*/
@Setting(FeatureQuerySettingsProvider.STORAGE_3D_EPSG)
public void setStorage3DEpsg(int epsgCode3D) throws ConfigurationError {
Validation.greaterZero("Storage 3D EPSG Code", epsgCode3D);
storage3DEPSG = epsgCode3D;
addToSupportedCrs(epsgCode3D);
}
内容来源于网络,如有侵权,请联系作者删除!