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

org.nakedobjects.metamodel.facets.propcoll.derived.DerivedFacetAbstract Maven / Gradle / Ivy

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

import org.nakedobjects.applib.events.UsabilityEvent;
import org.nakedobjects.metamodel.facets.Facet;
import org.nakedobjects.metamodel.facets.FacetHolder;
import org.nakedobjects.metamodel.facets.MarkerFacetAbstract;
import org.nakedobjects.metamodel.interactions.UsabilityContext;


public abstract class DerivedFacetAbstract extends MarkerFacetAbstract implements DerivedFacet {

    public static Class type() {
        return DerivedFacet.class;
    }

    public DerivedFacetAbstract(final FacetHolder holder) {
        super(type(), holder);
    }

    /**
     * Always returns Derived.
     */
    public String disables(final UsabilityContext ic) {
        return "Derived";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy