package org.simantics.document.server.bean; import java.util.ArrayList; import java.util.Collection; import org.simantics.databoard.util.Bean; import org.simantics.document.server.io.IDataDefinition; public class DataDefinition extends Bean implements IDataDefinition { public String elementId; public String property; public String target; static Collection keys; static { keys = new ArrayList(); keys.add("elementId"); keys.add("property"); keys.add("target"); } public DataDefinition(String elementId, String property, String target) { this.elementId = elementId; this.property = property; this.target = target; } public String getElementId() { return elementId; } public String getProperty() { return property; } public String getTarget() { return target; } }