package ru.matevosyan;

/**
 * RoleStore class to store the role.
 * Created on 16.05.2017.
 * @author Matevosyan Vardan
 * @version 1.0
 */

public class RoleStore extends MajorStore {

    /**
     * Constructor to invoke parent constructor.
     * @param storage SimpleArray storage.
     */

    public RoleStore(SimpleArray<Base> storage) {
        super(storage);
    }
}

package ru.matevosyan;

/**
 * RoleStore class to store the role.
 * Created on 16.05.2017.
 * @author Matevosyan Vardan
 * @version 1.0
 */

public class RoleStore extends MajorStore<Role> {

    /**
     * Constructor to invoke parent constructor.
     * @param storage SimpleArray storage.
     */

    public RoleStore(SimpleArray<Base> storage) {
        super(storage);
    }
}

add generic type to extend class