KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > jawe > xml > elements > TransitionRefs


1 /* TransitionRefs.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.xml.elements;
12
13 import org.enhydra.jawe.xml.*;
14 import org.enhydra.jawe.xml.panels.*;
15
16 import java.util.*;
17
18 /**
19 * Represents a WfMC DTD element that has the similar name.
20 * This class is a collection of class <b>TransitionRef</b> instances.
21 */

22 public class TransitionRefs extends XMLCollection {
23    public TransitionRefs () {
24       super(null);
25    }
26
27    // min=0, max=unbounded
28
/**
29    * Generates a new element of the class which instances
30    * are members of collection of this class.
31    *
32    * return The generated instance of class that makes collection.
33    */

34    public XMLElement generateNewElement() {
35       TransitionRef tr=new TransitionRef();
36       tr.setRequired(true);
37       return tr;
38    }
39
40    /**
41    * Used to create exact copy of instance of this class.
42    * The newly created instance will have all the properties
43    * same as the copied one.
44    *
45    * @return The newly created instance of this class.
46    */

47    public Object JavaDoc clone () {
48       TransitionRefs t=(TransitionRefs)super.clone();
49       return t;
50    }
51
52 }
53
Popular Tags