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

org.nakedobjects.metamodel.facets.actcoll.typeof.TypeOfFacetAbstract Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.metamodel.facets.actcoll.typeof;

import org.nakedobjects.metamodel.facets.Facet;
import org.nakedobjects.metamodel.facets.FacetHolder;
import org.nakedobjects.metamodel.facets.SingleClassValueFacetAbstract;
import org.nakedobjects.metamodel.specloader.SpecificationLoader;


public abstract class TypeOfFacetAbstract extends SingleClassValueFacetAbstract implements TypeOfFacet {

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

    public TypeOfFacetAbstract(
            final Class type,
            final FacetHolder holder,
            final SpecificationLoader specificationLoader) {
        super(type(), holder, type, specificationLoader);
    }

    @Override
    public String toString() {
        return getClass().getSimpleName() + " [type=" + value() + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy