32 |
32 |
private static final int PROPERTY_dataFileName = 3;
|
33 |
33 |
private static final int PROPERTY_docId = 4;
|
34 |
34 |
private static final int PROPERTY_message = 5;
|
35 |
|
private static final int PROPERTY_metaFileName = 6;
|
36 |
|
private static final int PROPERTY_organization = 7;
|
37 |
|
private static final int PROPERTY_password = 8;
|
38 |
|
private static final int PROPERTY_pathExpr = 9;
|
39 |
|
private static final int PROPERTY_pathValue = 10;
|
40 |
|
private static final int PROPERTY_publicAccess = 11;
|
41 |
|
private static final int PROPERTY_qformat = 12;
|
42 |
|
private static final int PROPERTY_returnfield = 13;
|
43 |
|
private static final int PROPERTY_sessionid = 14;
|
44 |
|
private static final int PROPERTY_username = 15;
|
|
35 |
private static final int PROPERTY_metaFileDocId = 6;
|
|
36 |
private static final int PROPERTY_metaFileName = 7;
|
|
37 |
private static final int PROPERTY_organization = 8;
|
|
38 |
private static final int PROPERTY_password = 9;
|
|
39 |
private static final int PROPERTY_pathExpr = 10;
|
|
40 |
private static final int PROPERTY_pathValue = 11;
|
|
41 |
private static final int PROPERTY_publicAccess = 12;
|
|
42 |
private static final int PROPERTY_qformat = 13;
|
|
43 |
private static final int PROPERTY_returnfield = 14;
|
|
44 |
private static final int PROPERTY_sessionid = 15;
|
|
45 |
private static final int PROPERTY_username = 16;
|
45 |
46 |
|
46 |
47 |
// Property array
|
47 |
48 |
/*lazy PropertyDescriptor*/
|
48 |
49 |
private static PropertyDescriptor[] getPdescriptor(){
|
49 |
|
PropertyDescriptor[] properties = new PropertyDescriptor[16];
|
|
50 |
PropertyDescriptor[] properties = new PropertyDescriptor[17];
|
50 |
51 |
|
51 |
52 |
try {
|
52 |
53 |
properties[PROPERTY_action] = new PropertyDescriptor ( "action", edu.ucsb.nceas.metacat.clientview.ClientView.class, "getAction", "setAction" ); // NOI18N
|
... | ... | |
67 |
68 |
properties[PROPERTY_message] = new IndexedPropertyDescriptor ( "message", edu.ucsb.nceas.metacat.clientview.ClientView.class, "getMessage", "setMessage", "getMessage", "setMessage" ); // NOI18N
|
68 |
69 |
properties[PROPERTY_message].setDisplayName ( "Message" );
|
69 |
70 |
properties[PROPERTY_message].setShortDescription ( "Server messages" );
|
|
71 |
properties[PROPERTY_metaFileDocId] = new PropertyDescriptor ( "metaFileDocId", edu.ucsb.nceas.metacat.clientview.ClientView.class, "getMetaFileDocId", "setMetaFileDocId" ); // NOI18N
|
|
72 |
properties[PROPERTY_metaFileDocId].setDisplayName ( "Metadata File Doc Id" );
|
|
73 |
properties[PROPERTY_metaFileDocId].setShortDescription ( "Metadata File Document Id" );
|
70 |
74 |
properties[PROPERTY_metaFileName] = new PropertyDescriptor ( "metaFileName", edu.ucsb.nceas.metacat.clientview.ClientView.class, "getMetaFileName", "setMetaFileName" ); // NOI18N
|
71 |
75 |
properties[PROPERTY_metaFileName].setDisplayName ( "Metadata File" );
|
72 |
76 |
properties[PROPERTY_metaFileName].setShortDescription ( "XML metadata file name" );
|
Added property "metaFileDocId", and constant "UPDATE_MESSAGE", to accomodate update and delete operations.