1 19 package org.netbeans.modules.xml.core.cookies; 20 21 import java.io.Serializable ; 22 import java.util.Vector ; 23 import org.netbeans.modules.xml.api.scenario.Scenario; 24 25 31 public class ScenarioData implements Serializable { 32 33 34 private static final long serialVersionUID = -6268945794243989727L; 35 36 37 private Vector scenarios; 39 40 private int activeScenarioIndex; 41 42 43 44 45 46 public ScenarioData() { 47 scenarios = new Vector (); 48 activeScenarioIndex = -1; 49 } 50 51 54 public Vector getScenarios() { 55 return scenarios; 56 } 57 58 63 public void setActiveScenarioIndex(int index) { 64 activeScenarioIndex = index; 65 } 66 67 70 public int getActiveScenarioIndex() { 71 return activeScenarioIndex; 72 } 73 } 74 | Popular Tags |