View Javadoc

1   package org.andromda.translation.ocl.query;
2   
3   /***
4    * Contains the patterns matching for the OCL language.
5    *
6    * @author Chad Brandon
7    */
8   public class OCLPatterns
9   {
10      /***
11       * Matches on the <code>allInstances</code> feature.
12       */
13      public static final String ALL_INSTANCES = "allInstances//s*//(//s*//)";
14  
15      /***
16       * Matches on a feature call
17       */
18      public static final String OPERATION_FEATURE_CALL = "(.*//s*(->|//.))?//s*//w*//s*//([[//w+|//.|:|,]|//s*]*//)";
19  }