X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graph%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Frepresentation%2FOptional.java;fp=bundles%2Forg.simantics.graph%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Frepresentation%2FOptional.java;h=545c991886560a4e8109010bc91d5070e32c1c59;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graph/src/org/simantics/graph/representation/Optional.java b/bundles/org.simantics.graph/src/org/simantics/graph/representation/Optional.java new file mode 100644 index 000000000..545c99188 --- /dev/null +++ b/bundles/org.simantics.graph/src/org/simantics/graph/representation/Optional.java @@ -0,0 +1,20 @@ +package org.simantics.graph.representation; + +public class Optional implements IdentityDefinition { + public int parent; + public String name; + + public Optional() { + } + + public Optional(int parent, String name) { + this.parent = parent; + this.name = name; + } + + @Override + public String toString() { + return "Optional(" + parent + ", " + name + ")"; + } + +}