com.netgrif.application.engine.petrinet.domain.dataset.StorageField.groovy Maven / Gradle / Ivy
package com.netgrif.application.engine.petrinet.domain.dataset
import com.netgrif.application.engine.files.local.LocalStorageService
abstract class StorageField extends Field {
public static final long serialVersionUID = -9172755427378929924L
private Storage storage
StorageField() {
super()
}
String getStorageType() {
if (storage == null) {
return LocalStorageService.LOCAL_TYPE
}
return storage.getType()
}
void setStorageType(String storageType) {
this.storage.setType(storageType)
}
Storage getStorage() {
return storage
}
void setStorage(Storage storage) {
this.storage = storage
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy