KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > jawe > wfxml > DefInfo


1 /* DefInfo.java
2  *
3  * Authors:
4  * Stefanovic Nenad chupo@iis.ns.ac.yu
5  * Bojanic Sasa sasaboy@neobee.net
6  * Puskas Vladimir vpuskas@eunet.yu
7  * Pilipovic Goran zboniek@uns.ac.yu
8  *
9  */

10
11 package org.enhydra.jawe.wfxml;
12
13 import org.enhydra.jawe.xml.*;
14 import org.enhydra.jawe.xml.panels.*;
15 import org.enhydra.jawe.xml.elements.*;
16 import javax.swing.*;
17 import org.w3c.dom.*;
18
19 public class DefInfo extends XMLComplexElement {
20    private XMLAttribute attrDefinitionKey = new XMLAttribute("DefinitionKey");
21    private XMLAttribute attrName=new XMLAttribute("Name");
22    private XMLAttribute attrDescription=new XMLAttribute("Description");
23    private XMLAttribute attrVersion=new XMLAttribute("Version");
24    private XMLAttribute attrStatus=new XMLAttribute("Status");
25
26    public DefInfo () {
27       super();
28       fillStructure();
29    }
30
31    protected void fillStructure () {
32       attributes.add(attrDefinitionKey);
33       complexStructure.add(attrDefinitionKey);
34       attributes.add(attrName);
35       complexStructure.add(attrName);
36       attributes.add(attrDescription);
37       complexStructure.add(attrDescription);
38       attributes.add(attrVersion);
39       complexStructure.add(attrVersion);
40       attributes.add(attrStatus);
41       complexStructure.add(attrStatus);
42    }
43
44 }
45
Popular Tags