Code example for DriverPropertyInfo

0
						.toString()));
			} 
		} 
 
		DriverPropertyInfo getAsDriverPropertyInfo() {
			DriverPropertyInfo dpi = new DriverPropertyInfo(this.propertyName, null);
			dpi.choices = getAllowableValues();
			dpi.value = (this.valueAsObject != null) ? this.valueAsObject.toString() : null;
			dpi.required = this.required;
			dpi.description = this.description;
			 
			return dpi;
		} 
		 
 
		void validateStringValues(String valueToValidate) throws SQLException {
			String[] validateAgainst = getAllowableValues();
 
			if (valueToValidate == null) {
				return; 
			}