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

org.nakedobjects.metamodel.facets.object.notpersistable.NotPersistableFacetAbstract Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.metamodel.facets.object.notpersistable;

import org.nakedobjects.metamodel.facets.Facet;
import org.nakedobjects.metamodel.facets.FacetHolder;
import org.nakedobjects.metamodel.facets.SingleValueFacetAbstract;


public abstract class NotPersistableFacetAbstract extends SingleValueFacetAbstract implements NotPersistableFacet {

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

    private final InitiatedBy value;

    public NotPersistableFacetAbstract(final InitiatedBy value, final FacetHolder holder) {
        super(type(), holder);
        this.value = value;
    }

    public InitiatedBy value() {
        return value;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy