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

com.manydesigns.portofino.reflection.ViewAccessor Maven / Gradle / Ivy

There is a newer version: 5.3.4
Show newest version
package com.manydesigns.portofino.reflection;

import com.manydesigns.elements.annotations.Insertable;
import com.manydesigns.elements.annotations.Updatable;
import com.manydesigns.elements.annotations.impl.InsertableImpl;
import com.manydesigns.elements.annotations.impl.UpdatableImpl;
import com.manydesigns.portofino.model.database.View;
import org.jetbrains.annotations.NotNull;

public class ViewAccessor extends TableAccessor {
    public ViewAccessor(@NotNull View view) {
        super(view);
        annotations.put(Insertable.class, new InsertableImpl(view.isInsertable()));
        annotations.put(Updatable.class, new UpdatableImpl(view.isInsertable()));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy