/** * Creates a new object of the same class as this object. * @return a clone of this instance. * @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. * @see java.lang.Cloneable */ public Object clone() throws CloneNotSupportedException { BaseField field = new EmptyField(null); field.setRecord(m_record); // Set table without adding to table field list return field; } /**
/** * Constructor. */ public EmptyField(Record record) { this(); this.init(record, Constants.BLANK, 0, Constants.BLANK, null); } /**
/** * Creates a new object of the same class as this object. * @return a clone of this instance. * @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. * @see java.lang.Cloneable */ public Object clone() throws CloneNotSupportedException { BaseField field = new EmptyField(null); field.setRecord(m_record); // Set table without adding to table field list return field; } /**
/** * Constructor. */ public EmptyField(Record record) { this(); this.init(record, Constants.BLANK, 0, Constants.BLANK, null); } /**
/** * Creates a new object of the same class as this object. * @return a clone of this instance. * @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. * @see java.lang.Cloneable */ public Object clone() throws CloneNotSupportedException { BaseField field = new EmptyField(null); field.setRecord(m_record); // Set table without adding to table field list return field; } /**
/** * Constructor. */ public EmptyField(Record record) { this(); this.init(record, Constants.BLANK, 0, Constants.BLANK, null); } /**
/** * Creates a new object of the same class as this object. * @return a clone of this instance. * @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. * @see java.lang.Cloneable */ public Object clone() throws CloneNotSupportedException { BaseField field = new EmptyField(null); field.setRecord(m_record); // Set table without adding to table field list return field; } /**
/** * Constructor. * @param record The parent record. * @param strName The field name. * @param iDataLength The maximum string length (pass -1 for default). * @param strDesc The string description (usually pass null, to use the resource file desc). * @param strDefault The default value (if object, this value is the default value, if string, the string is the default). */ public EmptyField(Record record, String strName, int iDataLength, String strDesc, Object strDefault) { this(); this.init(record, strName, iDataLength, strDesc, strDefault); } /**
/** * Creates a new object of the same class as this object. * @return a clone of this instance. * @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. * @see java.lang.Cloneable */ public Object clone() throws CloneNotSupportedException { BaseField field = new EmptyField(null); field.setRecord(m_record); // Set table without adding to table field list return field; } /**
/** * Constructor. * @param record The parent record. * @param strName The field name. * @param iDataLength The maximum string length (pass -1 for default). * @param strDesc The string description (usually pass null, to use the resource file desc). * @param strDefault The default value (if object, this value is the default value, if string, the string is the default). */ public EmptyField(Record record, String strName, int iDataLength, String strDesc, Object strDefault) { this(); this.init(record, strName, iDataLength, strDesc, strDefault); } /**
/** * Creates a new object of the same class as this object. * @return a clone of this instance. * @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. * @see java.lang.Cloneable */ public Object clone() throws CloneNotSupportedException { BaseField field = new EmptyField(null); field.setRecord(m_record); // Set table without adding to table field list return field; } /**
/** * Constructor. * @param record The parent record. * @param strName The field name. * @param iDataLength The maximum string length (pass -1 for default). * @param strDesc The string description (usually pass null, to use the resource file desc). * @param strDefault The default value (if object, this value is the default value, if string, the string is the default). */ public EmptyField(Record record, String strName, int iDataLength, String strDesc, Object strDefault) { this(); this.init(record, strName, iDataLength, strDesc, strDefault); } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; //if (iFieldSeq == kID) // field = new CounterField(this, "ID", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kControlRecordLastField) field = new EmptyField(this); } return field; } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; //if (iFieldSeq == kID) // field = new CounterField(this, "ID", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kControlRecordLastField) field = new EmptyField(this); } return field; } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; //if (iFieldSeq == kID) // field = new CounterField(this, "ID", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kControlRecordLastField) field = new EmptyField(this); } return field; } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; if (iFieldSeq == kID) field = new CounterField(this, "ID", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kAnalysisRecordLastField) field = new EmptyField(this); } return field; } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; if (iFieldSeq == kContact) field = new StringField(this, "Contact", 30, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kCompanyLastField) field = new EmptyField(this); } return field; } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; if (iFieldSeq == kID) field = new CounterField(this, "ID", Constants.DEFAULT_FIELD_LENGTH, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kAnalysisRecordLastField) field = new EmptyField(this); } return field; } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; //if (iFieldSeq == kID) //{ // field = new CounterField(this, "ID", Constants.DEFAULT_FIELD_LENGTH, null, null); // field.setHidden(true); //} if (iFieldSeq == kPackageName) field = new StringField(this, "PackageName", 30, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kMainControlLastField) field = new EmptyField(this); } return field; } /**
/** * Add this field in the Record's field sequence. */ public BaseField setupField(int iFieldSeq) { BaseField field = null; //if (iFieldSeq == kID) //{ // field = new CounterField(this, "ID", Constants.DEFAULT_FIELD_LENGTH, null, null); // field.setHidden(true); //} if (iFieldSeq == kDescription) field = new StringField(this, "Description", 30, null, null); if (field == null) { field = super.setupField(iFieldSeq); if (field == null) if (iFieldSeq < kUserLogTypeLastField) field = new EmptyField(this); } return field; } /**