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

it.tidalwave.bluebill.factsheet.bbc.FactSheet Maven / Gradle / Ivy

/***********************************************************************************************************************
 *
 * blueBill Mobile - open source birdwatching
 * ==========================================
 *
 * Copyright (C) 2009, 2010 by Tidalwave s.a.s. (http://www.tidalwave.it)
 * http://bluebill.tidalwave.it/mobile/
 *
 ***********************************************************************************************************************
 *
 * 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.apache.org/licenses/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.
 *
 ***********************************************************************************************************************
 *
 * $Id: FactSheet.java,v de87bb2f8007 2010/07/16 16:24:32 fabrizio $
 *
 **********************************************************************************************************************/
package it.tidalwave.bluebill.factsheet.bbc;

import it.tidalwave.bluebill.factsheet.Adaptation;
import it.tidalwave.bluebill.factsheet.Biblio;
import it.tidalwave.bluebill.factsheet.Habitat;
import it.tidalwave.mobile.media.Movie;
import it.tidalwave.mobile.media.StillImage;
import javax.annotation.Nonnull;
import java.util.Collection;
import java.util.Map;
import it.tidalwave.util.Id;
import it.tidalwave.util.Key;
import it.tidalwave.semantic.EntityWithProperties;

/***********************************************************************************************************************
 *
 * @author  Fabrizio Giudici
 * @version $Id: $
 *
 **********************************************************************************************************************/
public class FactSheet extends EntityWithProperties
  {
    public static final Key DC_DESCRIPTION = new Key("http://purl.org/dc/terms/description");
    public static final Key DC_RIGHTS = new Key("http://purl.org/dc/terms/rights");
    public static final Key> DC_PUBLISHER = new Key>("http://purl.org/dc/terms/publisher");
    public static final Key> ADAPTATIONS = new Key>("http://purl.org/ontology/wo/adaptation");
    public static final Key> BIBLIOS = new Key>("urn:biblio");
    public static final Key> IMAGES = new Key>("urn:stillImage");
    public static final Key> MOVIES = new Key>("urn:movie");
    public static final Key> LIVES_IN = new Key>("http://purl.org/ontology/wo/livesIn");
    
    public static final Key __BIBLIO = new Key("urn:biblio");
    public static final Key __IMAGE = new Key("urn:stillImage");
    public static final Key __MOVIE = new Key("urn:movie");
    public static final Key __LIVES_IN = new Key("http://purl.org/ontology/wo/livesIn");

    public FactSheet (final @Nonnull Id id)
      {
        super(id);
      }

    protected FactSheet (final @Nonnull Id id, final @Nonnull Map, Object> map)
      {
        super(id, map);
      }

    @Override @Nonnull
    protected FactSheet clone (final @Nonnull Map, Object> asMap)
      {
        return new FactSheet(getId(), asMap);
      }
  }