Unverified Commit ff18c728 authored by Gregory Cage's avatar Gregory Cage Committed by GitHub
Browse files

Merge pull request #3 from eclipse/next

Next
parents 1ae7dae1 dd3d5f82
import org.eclipse.ice.dev.annotations.DataElement;
import org.eclipse.ice.dev.annotations.DataField;
import org.eclipse.ice.dev.annotations.Persisted;
@DataElement(name = "Test")
@Persisted(collection = "test")
public class Many {
@DataField public byte testByte;
@DataField public short testShort;
@DataField public int testInt;
@DataField public long testLong;
@DataField public float testFloat;
@DataField public double testDouble;
@DataField public boolean testBoolean;
@DataField public char testChar;
}
import org.eclipse.ice.dev.annotations.DataElement;
import org.eclipse.ice.dev.annotations.Persisted;
@DataElement(name = "Test")
@Persisted(collection = "test")
public class NoDataFields { }
\ No newline at end of file
import org.eclipse.ice.data.IDataElement;
public interface Test extends IDataElement<Test> {}
\ No newline at end of file
...@@ -18,5 +18,5 @@ public class TestImplementation implements Test, Serializable { ...@@ -18,5 +18,5 @@ public class TestImplementation implements Test, Serializable {
@NonNull protected java.lang.String context = "default"; @NonNull protected java.lang.String context = "default";
protected boolean required = false; protected boolean required = false;
protected boolean secret = false; protected boolean secret = false;
protected org.eclipse.ice.dev.annotations.JavascriptValidator<Test> validator; protected org.eclipse.ice.data.JavascriptValidator<Test> validator;
} }
\ No newline at end of file
import org.eclipse.ice.dev.annotations.IDataElement; import org.eclipse.ice.data.IDataElement;
public interface Test extends IDataElement<Test> { public interface Test extends IDataElement<Test> {
public void setTest(int test); public void setTest(int test);
} }
\ No newline at end of file
import org.eclipse.ice.dev.annotations.IDataElement; import org.eclipse.ice.data.IDataElement;
public interface Test extends IDataElement<Test> { public interface Test extends IDataElement<Test> {
public byte getTestByte(); public byte getTestByte();
public void setTestByte(byte testByte); public void setTestByte(byte testByte);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment