01: package org.garret.rdf;
02:
03: /**
04: * Name:value pair used to specify property value
05: */
06:
07: public class NameVal {
08: /**
09: * Name of the property
10: */
11: public String name;
12:
13: /**
14: * Value of the property (may be null or pattern)
15: */
16: public Object val;
17:
18: /**
19: * Constructor of name:valur pair
20: *
21: * @param name name of the property
22: * @param val value of the property
23: */
24: public NameVal(String name, Object val) {
25: this.name = name;
26: this.val = val;
27: }
28: }
|