X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graph%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Frepresentation%2FIdentity.java;h=3517171ec896c3cb3abd1281b7d7f76f716bc2ef;hb=839ee9ef190509b9bf956dafc0287e98cc7ab930;hp=3a4df164acaac6e2ec76c26da4ce20d451de87df;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graph/src/org/simantics/graph/representation/Identity.java b/bundles/org.simantics.graph/src/org/simantics/graph/representation/Identity.java index 3a4df164a..3517171ec 100644 --- a/bundles/org.simantics.graph/src/org/simantics/graph/representation/Identity.java +++ b/bundles/org.simantics.graph/src/org/simantics/graph/representation/Identity.java @@ -1,35 +1,35 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.graph.representation; - -/** - * A part of TransferableGraph data structure. - * Gives an identity to a resource. - * @author Hannu Niemist� - */ -public class Identity { - public int resource; - public IdentityDefinition definition; - - public Identity() { - } - - public Identity(int resource, IdentityDefinition definition) { - this.resource = resource; - this.definition = definition; - } - - @Override - public String toString() { - return "#" + resource + " = " + definition; - } -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.graph.representation; + +/** + * A part of TransferableGraph data structure. + * Gives an identity to a resource. + * @author Hannu Niemist� + */ +public class Identity { + public int resource; + public IdentityDefinition definition; + + public Identity() { + } + + public Identity(int resource, IdentityDefinition definition) { + this.resource = resource; + this.definition = definition; + } + + @Override + public String toString() { + return "#" + resource + " = " + definition; + } +}