raimund@2132: package de.intevation.flys.artifacts.model;
raimund@2132: 
raimund@2132: import de.intevation.artifacts.Artifact;
raimund@2132: import de.intevation.artifacts.CallContext;
raimund@2132: 
raimund@2132: import de.intevation.artifactdatabase.state.DefaultFacet;
raimund@2132: import de.intevation.artifactdatabase.state.Facet;
raimund@2132: 
raimund@2132: public class EmptyFacet
raimund@2132: extends      DefaultFacet
raimund@2132: {
raimund@2132:     /** Trivial constructor. */
raimund@2132:     public EmptyFacet() {
raimund@2132:         super(0, "empty.facet", "empty.facet");
raimund@2132:     }
raimund@2132: 
raimund@2132:     @Override
raimund@2132:     public Object getData(Artifact artifact, CallContext context) {
raimund@2132:         return null;
raimund@2132:     }
raimund@2132: 
raimund@2132: 
raimund@2132:     /**
raimund@2132:      * Return a deep copy.
raimund@2132:      */
raimund@2132:     @Override
raimund@2132:     public Facet deepCopy() {
raimund@2132:         EmptyFacet copy = new EmptyFacet();
raimund@2132:         copy.set(this);
raimund@2132:         return copy;
raimund@2132:     }
raimund@2132: }
raimund@2132: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :