01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.util;
05:
06: import java.io.Serializable;
07:
08: /**
09: * Label/value pair for use in a {@link NonPortableReason}.
10: */
11: public class NonPortableDetail implements Serializable {
12: private final String label;
13: private final String value;
14:
15: /**
16: * @param label Label
17: * @param value Value
18: */
19: public NonPortableDetail(String label, String value) {
20: this .label = label;
21: this .value = value;
22: }
23:
24: /**
25: * @return The label
26: */
27: public String getLabel() {
28: return label;
29: }
30:
31: /**
32: * @return The value
33: */
34: public String getValue() {
35: return value;
36: }
37: }
|