]> gerrit.simantics Code Review - simantics/platform.git/blob - Optional.java
43ebe9b670d88cf7cbd599bc33118dcbb13d7e7d
[simantics/platform.git] / Optional.java
1 package org.simantics.graph.representation;
2
3 public class Optional implements IdentityDefinition {
4         public int parent;
5         public String name;
6         
7         public Optional() {     
8         }
9
10         public Optional(int parent, String name) {      
11                 this.parent = parent;
12                 this.name = name;
13         }
14
15         @Override
16         public String toString() {
17             return "Optional(" + parent + ", " + name + ")";
18         }
19
20 }