Handle v0.1 imported associated meta
This commit is contained in:
parent
6e3c993d3e
commit
7e63a317c0
1 changed files with 6 additions and 9 deletions
|
|
@ -599,16 +599,11 @@ class MetaInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
abstract class RelatedMetaInfo extends GISJsonSerialised implements IRelatedMetaInfo {
|
||||
private String format
|
||||
String format
|
||||
|
||||
RelatedMetaInfo(script, format, offsetpath) {
|
||||
RelatedMetaInfo(script, format) {
|
||||
super(script)
|
||||
this.format = format
|
||||
this.offsetpath = offsetpath
|
||||
}
|
||||
|
||||
String format() {
|
||||
return format
|
||||
}
|
||||
|
||||
abstract void deserialiseJson(rawmeta)
|
||||
|
|
@ -622,7 +617,8 @@ class MetaInfo extends GISJsonSerialised {
|
|||
private String offsetpath
|
||||
|
||||
RelatedMetaInfo_v0_1(script, offsetpath = "", MetaInfo meta = null) {
|
||||
super(script, '0.1', offsetpath)
|
||||
super(script, '0.1')
|
||||
this.offsetpath = offsetpath
|
||||
this.meta = meta
|
||||
}
|
||||
|
||||
|
|
@ -655,8 +651,9 @@ class MetaInfo extends GISJsonSerialised {
|
|||
private String offsetpath
|
||||
|
||||
RelatedMetaInfo_v0_2(script, importpath = "", offsetpath = "") {
|
||||
super(script, '0.2', offsetpath)
|
||||
super(script, '0.2')
|
||||
this.importpath = importpath
|
||||
this.offsetpath = offsetpath
|
||||
}
|
||||
|
||||
void deserialiseJson(rawmeta) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue