/*
 * Copyright 2006 Wyona
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.wyona.org/licenses/APACHE-LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package com.wyonapictures.yanel.impl.resources;

import org.wyona.yanel.core.Resource;
import org.wyona.yanel.core.ResourceTypeDefinition;
import org.wyona.yanel.core.attributes.CreatableResource;
import org.wyona.yanel.core.attributes.ViewableResource;
import org.wyona.yanel.core.attributes.ViewDescriptor;

/**
 *
 */
public class TapeResource extends Resource implements CreatableResource, ViewableResource {

    /**
     *
     */
    public TapeResource(ResourceTypeDefinition rtd) {
        super(rtd);
    }

    /**
     *
     */
    public String[] getPropertyNames() {
        String[] pn = {"name", "description", "video-format", "audio-format", "content"};
        return pn;
    }

    /**
     *
     */
    public ViewDescriptor[] getViewDescriptors() {
        return null;
    }
}

@@ -675,32 +675,43 @@
 el.core.Resource
+DefaultImpl
 ;%0Aimport org.wyo
@@ -972,16 +972,27 @@
 Resource
+DefaultImpl
  impleme

extend default resource impl