|
1 |
| package com.agical.rmock.core.expectation.reference; |
|
2 |
| |
|
3 |
| |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| public class PropertyObjectReference implements ObjectReference { |
|
9 |
| |
|
10 |
| private final String id; |
|
11 |
| private final String name; |
|
12 |
| private final Class type; |
|
13 |
| |
|
14 |
883
| public PropertyObjectReference(String id, String name, Class type) {
|
|
15 |
883
| super();
|
|
16 |
883
| this.id = id;
|
|
17 |
883
| this.name = name;
|
|
18 |
883
| this.type = type;
|
|
19 |
| } |
|
20 |
| |
|
21 |
1
| public String getId() {
|
|
22 |
1
| return id;
|
|
23 |
| } |
|
24 |
| |
|
25 |
1
| public String getName() {
|
|
26 |
1
| return name;
|
|
27 |
| } |
|
28 |
| |
|
29 |
6
| public Class getType() {
|
|
30 |
6
| return type;
|
|
31 |
| } |
|
32 |
| |
|
33 |
| } |