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

org.nakedobjects.nos.remote.command.java.AbstractCriteriaData Maven / Gradle / Ivy

There is a newer version: 3.0.3
Show newest version
package org.nakedobjects.nos.remote.command.java;

import org.nakedobjects.noa.persist.InstancesCriteria;
import org.nakedobjects.nof.reflect.remote.data.CriteriaData;

public abstract class AbstractCriteriaData implements CriteriaData {
    private static final long serialVersionUID = 1L;
    private final boolean includeSubclasses;
    private final String specification;

    public AbstractCriteriaData(InstancesCriteria instances) {
        specification = instances.getSpecification().getFullName();
        includeSubclasses = instances.includeSubclasses();
    }

    public boolean includeSubclasses() {
        return includeSubclasses;
    }

    public String getType() {
        return specification;
    }
}


// Copyright (c) Naked Objects Group Ltd.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy