View Javadoc

1   package org.catacomb.interlish.structure;
2   
3   
4   public final class Relationship {
5   
6       String type;
7       Related target;
8   
9   
10      public Relationship(Related tgt, String typ) {
11          type = typ;
12          target = tgt;
13      }
14  
15  
16      public String getType() {
17          return type;
18      }
19  
20      public Related getTarget() {
21          return target;
22      }
23  
24  }