1 6 package cve.esecutori.components.specificaLV; 7 8 import java.io.*; 9 import java.util.*; 10 11 import org.jdom.*; 12 import org.jdom.input.SAXBuilder; 13 import org.jdom.output.XMLOutputter; 14 15 import org.apache.log4j.Logger; 16 import cve.staticLayout.*; 17 18 25 public class LinkRelNonRel { 26 27 30 private ElementRel eleRel; 31 32 35 private ElementNonRel eleNonRel; 36 37 40 private HashSet source, target, sourceTarget; 41 42 46 LinkRelNonRel(ElementRel rel,ElementNonRel nonRel){ 47 Cve.errLog.debug(""); 48 eleRel=rel; 49 eleNonRel=nonRel; 50 source=new HashSet(); 51 target=new HashSet(); 52 sourceTarget=new HashSet(); 53 } 54 55 59 public ElementRel getRel(){ 60 Cve.errLog.debug(""); 61 return eleRel; 62 } 63 64 68 public ElementNonRel getNonRel(){ 69 Cve.errLog.debug(""); 70 return eleNonRel; 71 } 72 73 77 public Set getSource(){ 78 Cve.errLog.debug(""); 79 return source; 80 } 81 82 86 public Set getTarget(){ 87 Cve.errLog.debug(""); 88 return target; 89 } 90 91 95 public Set getSourceTarget(){ 96 Cve.errLog.debug(""); 97 return sourceTarget; 98 } 99 100 104 public void insertSource(String nameEle){ 105 Cve.errLog.debug(""); 106 source.add(nameEle); 107 } 108 109 113 public void insertTarget(String nameEle){ 114 Cve.errLog.debug(""); 115 target.add(nameEle); 116 } 117 118 122 public void insertSourceTarget(String nameEle){ 123 Cve.errLog.debug(""); 124 sourceTarget.add(nameEle); 125 } 126 } 127 | Popular Tags |