X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2Finternal%2FresourceFiles%2FResourceRef.java;fp=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2Finternal%2FresourceFiles%2FResourceRef.java;h=46263f9a317b0d7ce085f20ac8639091222e2d03;hp=0000000000000000000000000000000000000000;hb=969bd23cab98a79ca9101af33334000879fb60c5;hpb=866dba5cd5a3929bbeae85991796acb212338a08 diff --git a/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/resourceFiles/ResourceRef.java b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/resourceFiles/ResourceRef.java new file mode 100644 index 000000000..46263f9a3 --- /dev/null +++ b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/resourceFiles/ResourceRef.java @@ -0,0 +1,29 @@ +package org.simantics.graph.compiler.internal.resourceFiles; + +public class ResourceRef implements Comparable { + String javaName; + String uri; + boolean deprecated = false; + + public ResourceRef(String javaName, String uri) { + this.javaName = javaName; + this.uri = uri; + } + + public String getJavaName() { + return javaName; + } + + public String getUri() { + return uri; + } + + public boolean getDeprecated() { + return deprecated; + } + + @Override + public int compareTo(ResourceRef o) { + return javaName.compareTo(o.javaName); + } +}