All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.petrinet.domain.dataset.Storage.groovy Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.petrinet.domain.dataset

import com.netgrif.application.engine.files.local.LocalStorageService
import com.querydsl.core.annotations.PropertyType
import com.querydsl.core.annotations.QueryType


class Storage implements Serializable {
    static final long serialVersionUID = 9172755427878929926L
  
    private String type
  
    private String host

    Storage() {
        this.type = LocalStorageService.LOCAL_TYPE
    }

    Storage(String type) {
        this()
        this.type = type
    }

    Storage(String type, String host) {
        this(type)
        this.host = host
    }

    String getType() {
        return type
    }

    void setType(String type) {
        this.type = type
    }

    String getHost() {
        return host
    }

    void setHost(String host) {
        this.host = host
    }

    @Override
    @QueryType(PropertyType.NONE)
    MetaClass getMetaClass() {
        return this.metaClass
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy