1 21 22 package org.apache.derby.client.net; 23 24 class FdocaSimpleDataArray { 25 27 29 int protocolType_; 32 33 int fdocaFieldType_; 37 38 int representation_; 41 42 int ccsid_; 47 48 int characterSize_; 52 53 int mode_; 67 68 int fieldLength_; 76 77 int typeToUseForComputingDataLength_; 79 80 82 FdocaSimpleDataArray(int protocolType, 83 int fdocaFieldType, 84 int representation, 85 int ccsid, 86 int characterSize, 87 int mode, 88 int fieldLength, 89 int typeToUseForComputingDataLength) { 90 protocolType_ = protocolType; 91 fdocaFieldType_ = fdocaFieldType; 92 representation_ = representation; 93 ccsid_ = ccsid; 94 characterSize_ = characterSize; 95 mode_ = mode; 96 fieldLength_ = fieldLength; 97 typeToUseForComputingDataLength_ = typeToUseForComputingDataLength; 98 } 99 100 public void update(int protocolType, 101 int fdocaFieldType, 102 int representation, 103 int ccsid, 104 int characterSize, 105 int mode, 106 int fieldLength, 107 int typeToUseForComputingDataLength) { 108 protocolType_ = protocolType; 109 fdocaFieldType_ = fdocaFieldType; 110 representation_ = representation; 111 ccsid_ = ccsid; 112 characterSize_ = characterSize; 113 mode_ = mode; 114 fieldLength_ = fieldLength; 115 typeToUseForComputingDataLength_ = typeToUseForComputingDataLength; 116 } 117 118 } 119 | Popular Tags |