package pipe.models.component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.TYPE})
public @interface Pnml {
    String value();
}

@@ -193,16 +193,141 @@
 %0A%0A/**%0A *
+ Annotation for serialising %7B@link PetriNetComponent%7D fields%0A * Mark fields with this annotation to be written when saved out
 %0A */%0A@Re
@@ -431,16 +431,85 @@
  Pnml %7B%0A
+    /**%0A     *%0A     * @return name of field to be written to%0A     */%0A
     Stri

Comment Pnml annotation