Project

General

Profile

« Previous | Next » 

Revision 3371

Added by barteau over 17 years ago

Further development.

View differences:

src/edu/ucsb/nceas/metacat/clientview/ClientView.java
16 16
public class ClientView implements Serializable {
17 17
    
18 18
    public static final String                          CLIENT_VIEW_BEAN = "clientViewBean";
19
    public static final String                          ECOLOGICAL_METADATA_LANGUAGE = "EML";
20
    public static final String                          FEDERAL_GEOGRAPHIC_DATA_COMMITTEE = "FGDC";
21
    
19 22
    public static final int                             LOGIN_MESSAGE = 0;
20 23
    public static final int                             UPLOAD_MESSAGE = 1;
21 24
    public static final int                             DELETE_MESSAGE = 2;
......
25 28
    public static final int                             FORMAT_TYPE = 0;
26 29
    public static final int                             FILE_NAME = 1;
27 30
    
31
    
28 32
    /**
29 33
     * Creates a new instance of ClientView
30 34
     */
......
381 385
    public void setMessage(String[] message) {
382 386
        this.message = message;
383 387
    }
388

  
389
    /**
390
     * Holds value of property contentStandard.
391
     */
392
    private String contentStandard;
393

  
394
    /**
395
     * Getter for property contentStandard.
396
     * @return Value of property contentStandard.
397
     */
398
    public String getContentStandard() {
399
        return this.contentStandard;
400
    }
401

  
402
    /**
403
     * Setter for property contentStandard.
404
     * @param contentStandard New value of property contentStandard.
405
     */
406
    public void setContentStandard(String contentStandard) {
407
        this.contentStandard = contentStandard;
408
    }
384 409
    
385 410
}
src/edu/ucsb/nceas/metacat/clientview/ClientViewBeanInfo.java
28 28
    // Property identifiers//GEN-FIRST:Properties
29 29
    private static final int PROPERTY_action = 0;
30 30
    private static final int PROPERTY_anyfield = 1;
31
    private static final int PROPERTY_dataFileName = 2;
32
    private static final int PROPERTY_docId = 3;
33
    private static final int PROPERTY_message = 4;
34
    private static final int PROPERTY_metaFileName = 5;
35
    private static final int PROPERTY_organization = 6;
36
    private static final int PROPERTY_password = 7;
37
    private static final int PROPERTY_pathExpr = 8;
38
    private static final int PROPERTY_pathValue = 9;
39
    private static final int PROPERTY_publicAccess = 10;
40
    private static final int PROPERTY_qformat = 11;
41
    private static final int PROPERTY_returnfield = 12;
42
    private static final int PROPERTY_sessionid = 13;
43
    private static final int PROPERTY_username = 14;
31
    private static final int PROPERTY_contentStandard = 2;
32
    private static final int PROPERTY_dataFileName = 3;
33
    private static final int PROPERTY_docId = 4;
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;
44 45

  
45 46
    // Property array 
46 47
    /*lazy PropertyDescriptor*/
47 48
    private static PropertyDescriptor[] getPdescriptor(){
48
        PropertyDescriptor[] properties = new PropertyDescriptor[15];
49
        PropertyDescriptor[] properties = new PropertyDescriptor[16];
49 50
    
50 51
        try {
51 52
            properties[PROPERTY_action] = new PropertyDescriptor ( "action", edu.ucsb.nceas.metacat.clientview.ClientView.class, "getAction", "setAction" ); // NOI18N
......
54 55
            properties[PROPERTY_anyfield] = new PropertyDescriptor ( "anyfield", edu.ucsb.nceas.metacat.clientview.ClientView.class, "getAnyfield", "setAnyfield" ); // NOI18N
55 56
            properties[PROPERTY_anyfield].setDisplayName ( "Any Field" );
56 57
            properties[PROPERTY_anyfield].setShortDescription ( "Search any field for data" );
58
            properties[PROPERTY_contentStandard] = new PropertyDescriptor ( "contentStandard", edu.ucsb.nceas.metacat.clientview.ClientView.class, "getContentStandard", "setContentStandard" ); // NOI18N
59
            properties[PROPERTY_contentStandard].setDisplayName ( "Content Standard" );
60
            properties[PROPERTY_contentStandard].setShortDescription ( "XML metadata content standard" );
57 61
            properties[PROPERTY_dataFileName] = new IndexedPropertyDescriptor ( "dataFileName", edu.ucsb.nceas.metacat.clientview.ClientView.class, "getDataFileName", "setDataFileName", "getDataFileName", "setDataFileName" ); // NOI18N
58 62
            properties[PROPERTY_dataFileName].setDisplayName ( "Data File" );
59 63
            properties[PROPERTY_dataFileName].setShortDescription ( "Data file name" );

Also available in: Unified diff