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

com.buschmais.xo.api.metadata.method.AbstractMethodMetadata Maven / Gradle / Ivy

The newest version!
package com.buschmais.xo.api.metadata.method;

import com.buschmais.xo.api.metadata.reflection.AnnotatedMethod;

public abstract class AbstractMethodMetadata implements MethodMetadata {

    private final Method annotatedMethod;

    private final DatastoreMetadata datastoreMetadata;

    protected AbstractMethodMetadata(Method annotatedMethod, DatastoreMetadata datastoreMetadata) {
        this.annotatedMethod = annotatedMethod;
        this.datastoreMetadata = datastoreMetadata;
    }

    @Override
    public Method getAnnotatedMethod() {
        return annotatedMethod;
    }

    @Override
    public DatastoreMetadata getDatastoreMetadata() {
        return datastoreMetadata;
    }

    @Override
    public String toString() {
        return "AbstractMethodMetadata{" + "annotatedMethod=" + annotatedMethod + '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy