Intern talk:Event

=Tables=

// Event table (sample) // Device table (gear) // Device type table (gear_type) // Location table (area) // Campaign table (cruise) // Basis type table (ship)
 * new MetadataItem("sample.label_samp", Type.STRING, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Event label","Event",null,null);
 * new MetadataItem("sample.label_alias", Type.STRING, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Alternative event label","Event 2",null,null);
 * new MetadataItem("sample.datetime_samp", Type.DATETIME, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Date/Time of event","Date/Time",null,"yyyy-MM-dd'T'HH:mm:ss");
 * new MetadataItem("sample.datetime_samp2", Type.DATETIME, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Date/Time of event 2","Date/Time 2",null,"yyyy-MM-dd'T'HH:mm:ss");
 * new MetadataItem("sample.latitude_samp", Type.NUMERIC, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Latitude of event","Latitude",null,"0.0000");
 * new MetadataItem("sample.latitude_samp2", Type.NUMERIC, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Latitude of event 2","Latitude 2",null,"0.0000");
 * new MetadataItem("sample.longitude_samp", Type.NUMERIC, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Longitude of event","Longitude",null,"0.0000");
 * new MetadataItem("sample.longitude_samp2", Type.NUMERIC, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Longitude of event 2","Longitude 2",null,"0.0000");
 * new MetadataItem("sample.altitude_samp", Type.NUMERIC, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Elevation of event","Elevation","m","0.0000");
 * new MetadataItem("sample.altitude_samp2", Type.NUMERIC, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Elevation of event 2","Elevation 2","m","0.0000");
 * new MetadataItem("sample.penetration", Type.NUMERIC, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Penetration of event","Penetration","m","0.0000");
 * new MetadataItem("sample.recovery", Type.NUMERIC, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Recovery of event","Recovery","m","0.0000");
 * new MetadataItem("sample.comment_samp", Type.STRING, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "Comment of event","Comment",null,null);
 * new MetadataItem("sample.uri_samp", Type.STRING, Collections.singletonList("sample"), Collections.singletonList(sampleJoin), "URI of event ","URI",null,null);
 * new MetadataItem("gear.name_gear", Type.STRING, Arrays.asList("sample","gear"), Arrays.asList(sampleJoin,"sample.ID_gear*=gear.ID_gear"), "Device of event","Device",null,null);
 * new MetadataItem("gear_type.name_gear_type", Type.STRING, Arrays.asList("sample","gear_type"), Arrays.asList(sampleJoin,"sample.ID_gear_type*=gear_type.ID_gear_type"), "Device type of event","Device type",null,null);
 * new MetadataItem("area.name_area", Type.STRING, Arrays.asList("sample","area"), Arrays.asList(sampleJoin,"sample.ID_area*=area.ID_area"), "Location of event","Location",null,null);
 * new MetadataItem("cruise.name_cruise", Type.STRING, Arrays.asList("sample","cruise"), Arrays.asList(sampleJoin,"sample.ID_cruise*=cruise.ID_cruise"), "Campaign of event","Campaign",null,null);
 * new MetadataItem("ship.name_ship", Type.STRING, Arrays.asList("sample","cruise","ship"), Arrays.asList(sampleJoin,"sample.ID_cruise*=cruise.ID_cruise","cruise.ID_ship*=ship.ID_ship"), "Basis of event","Basis",null,null);