]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.diagram/src/org/simantics/diagram/query/FlagTypeVisual.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.diagram / src / org / simantics / diagram / query / FlagTypeVisual.java
1 /*******************************************************************************
2  * Copyright (c) 2012 Association for Decentralized Information Management in
3  * 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.diagram.query;
13
14 import org.simantics.db.Resource;
15 import org.simantics.scl.runtime.tuple.Tuple4;
16
17 /**
18  * @author Tuukka Lehtonen
19  */
20 public class FlagTypeVisual extends Tuple4 {
21
22     /**
23      * @param flagTypeVisual
24      * @param filteredPropertyReference
25      * @param filterPattern
26      * @param visualComposite
27      */
28     public FlagTypeVisual(Resource flagTypeVisual, String filteredPropertyReference, String filterPattern, Resource visualComposite) {
29         super(flagTypeVisual, filteredPropertyReference, filterPattern, visualComposite);
30         assert flagTypeVisual != null;
31         assert visualComposite != null;
32     }
33
34     public Resource getFlagTypeVisual() {
35         return (Resource) c0;
36     }
37
38     public String getFilteredPropertyReference() {
39         return (String) c1;
40     }
41
42     public String getFilterPattern() {
43         return (String) c2;
44     }
45
46     public Resource getVisualComposite() {
47         return (Resource) c3;
48     }
49 }