]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.objmap2/src/org/simantics/objmap/graph/annotations/UpdateMethod.java
1e2ff4f2d8c753c5fa11e1291705d376b7395611
[simantics/platform.git] / bundles / org.simantics.objmap2 / src / org / simantics / objmap / graph / annotations / UpdateMethod.java
1 /*******************************************************************************
2  * Copyright (c) 2007, 2013 Association for Decentralized Information Management
3  * in Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.objmap.graph.annotations;
13
14 import java.lang.annotation.ElementType;
15 import java.lang.annotation.Retention;
16 import java.lang.annotation.RetentionPolicy;
17 import java.lang.annotation.Target;
18
19 import org.simantics.objmap.graph.annotations.meta.IsFieldRule;
20
21
22
23 /**
24  * Specifies that the annotated method should be called
25  * to update range object.
26  * @author Hannu Niemistö
27  */
28 @Retention(RetentionPolicy.RUNTIME)
29 @Target(ElementType.METHOD)
30 @IsFieldRule
31 public @interface UpdateMethod {
32 }