1 package org.jbpm.bpel.bar; 2 3 import java.util.*; 4 5 9 public class BarScope { 10 11 private String name; 12 private String destinationName; 13 private Map partnerLinks = new HashMap(); 14 private List scopes = new ArrayList(); 15 16 public String getName() { 17 return name; 18 } 19 20 public void setName(String name) { 21 this.name = name; 22 } 23 24 public String getDestinationName() { 25 return destinationName; 26 } 27 28 public void setDestinationName(String destinationName) { 29 this.destinationName = destinationName; 30 } 31 32 public Map getPartnerLinks() { 33 return partnerLinks; 34 } 35 36 public void addPartnerLink(BarPartnerLink partnerLink) { 37 partnerLinks.put(partnerLink.getName(), partnerLink); 38 } 39 40 public List getScopes() { 41 return scopes; 42 } 43 44 public void addScope(BarScope scope) { 45 scopes.add(scope); 46 } 47 48 public void accept(BarVisitor visitor) { 49 visitor.visit(this); 50 } 51 } 52 | Popular Tags |