1 2 9 10 package org.objectweb.rmijdbc; 11 12 import java.sql.DriverPropertyInfo ; 13 14 18 public class RJDriverPropertyInfo implements java.io.Serializable { 19 20 protected String name_; 21 protected String value_; 22 protected boolean required_; 23 protected String description_; 24 protected String choices_[]; 25 26 protected RJDriverPropertyInfo(DriverPropertyInfo dpi) { 27 choices_ = dpi.choices; 28 description_ = dpi.description; 29 name_ = dpi.name; 30 required_ = dpi.required; 31 value_ = dpi.value; 32 } 33 34 public DriverPropertyInfo getPropertyInfo() { 35 DriverPropertyInfo dpi = new DriverPropertyInfo (name_, value_); 36 dpi.choices = choices_; 37 dpi.description = description_; 38 dpi.required = required_; 39 return dpi; 40 } 41 42 }; 43 44 | Popular Tags |