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

org.babyfish.jimmer.client.runtime.impl.ServiceImpl Maven / Gradle / Ivy

There is a newer version: 0.8.177
Show newest version
package org.babyfish.jimmer.client.runtime.impl;

import org.babyfish.jimmer.client.meta.Doc;
import org.babyfish.jimmer.client.runtime.Operation;
import org.babyfish.jimmer.client.runtime.Service;

import java.util.List;

public class ServiceImpl implements Service {

    private final Class javaType;

    private Doc doc;

    private List operations;

    public ServiceImpl(Class javaType) {
        this.javaType = javaType;
    }

    @Override
    public Class getJavaType() {
        return javaType;
    }

    @Override
    public Doc getDoc() {
        return doc;
    }

    void setDoc(Doc doc) {
        this.doc = doc;
    }

    @Override
    public List getOperations() {
        return operations;
    }

    void setOperations(List operations) {
        this.operations = operations;
    }

    @Override
    public String toString() {
        return "ServiceImpl{" +
                "javaType=" + javaType.getName() +
                ", doc=" + doc +
                ", operations=" + operations +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy