X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fcore%2Fstructure%2Ftree%2FTreeSPath.java;h=69492b240701d4fb0aba7a30c8490247fbbc3a12;hb=947942f52c9bf0f7e7c604f5043c4ea6ea42af93;hp=7fab40e5c2b01e5b2f35a47266e8916e336ea192;hpb=1fdb1b4e7b1d2b0cabb6483238301b857a6392fa;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/tree/TreeSPath.java b/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/tree/TreeSPath.java index 7fab40e5c..69492b240 100644 --- a/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/tree/TreeSPath.java +++ b/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/tree/TreeSPath.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Mathieu Baudier + * Copyright (C) 2007-2012 Mathieu Baudier * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.argeo.slc.core.structure.tree; +import java.io.Serializable; import java.util.List; import java.util.StringTokenizer; import java.util.Vector; @@ -27,7 +27,10 @@ import org.argeo.slc.structure.StructureRegistry; /** * Path for tree based StructureRegistry implementations. */ -public class TreeSPath implements StructurePath, Comparable { +public class TreeSPath implements StructurePath, Comparable, + Serializable { + private static final long serialVersionUID = -110121029180848183L; + /** Default character to use a separator: /. */ private static Character DEFAULT_SEPARATOR = '/';