1 package org.simantics.document.server.bean;
\r
3 import java.util.ArrayList;
\r
4 import java.util.Collection;
\r
6 import org.simantics.databoard.util.Bean;
\r
7 import org.simantics.document.server.io.IDataDefinition;
\r
9 public class DataDefinition extends Bean implements IDataDefinition {
\r
11 public String elementId;
\r
12 public String property;
\r
13 public String target;
\r
15 static Collection<String> keys;
\r
18 keys = new ArrayList<String>();
\r
19 keys.add("elementId");
\r
20 keys.add("property");
\r
24 public DataDefinition(String elementId, String property, String target) {
\r
25 this.elementId = elementId;
\r
26 this.property = property;
\r
27 this.target = target;
\r
30 public String getElementId() {
\r
34 public String getProperty() {
\r
38 public String getTarget() {
\r