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

org.nakedobjects.metamodel.criteria.InstancesCriteria Maven / Gradle / Ivy

There is a newer version: 4.0-beta-1
Show newest version
package org.nakedobjects.metamodel.criteria;

import org.nakedobjects.metamodel.adapter.NakedObject;
import org.nakedobjects.metamodel.spec.NakedObjectSpecification;


/**
 * Defines a criteria for including instances in set.
 */
public interface InstancesCriteria {

    /**
     * Returns true if the specified object is to be included in the set of instances.
     */
    boolean matches(NakedObject object);

    /**
     * The type of instances in the resulting set.
     */
    NakedObjectSpecification getSpecification();
}
// Copyright (c) Naked Objects Group Ltd.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy