ludc
2025-01-16 986aa62ed00bee39363bab41b4eeb8259d446efd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package org.jbpm.pvm.internal.type;
 
import java.io.Serializable;
 
 
public class TypeMapping implements Serializable {
 
  Matcher matcher;
  Type type;
 
  private static final long serialVersionUID = 1L;
  
  public boolean matches(String name, Object value) {
    return matcher.matches(name, value);
  }
  
  public String toString() {
    return "("+matcher+"-->"+type+")";
  }
  
  public void setMatcher(Matcher matcher) {
    this.matcher = matcher;
  }
  public Type getType() {
    return type;
  }
  public void setType(Type type) {
    this.type = type;
  }
  public Matcher getMatcher() {
    return matcher;
  }
}