/**
 * Copyright 2008-2009 DRIVER PROJECT (ICM UW)
 * Original author: Marek Horst
 *
 * 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.
 */
package eu.dnetlib.data.index.dmf;

import java.util.HashSet;
import java.util.Set;

/**
 * DMF metadata fields names.
 * @author Marek Horst
 * @version 0.7.6
 *
 */
public class DMFMetadataFields {

	public static final String DR_CobjContentSynthesis	= "dr:CobjContentSynthesis";
	public static final String DR_CobjTypology			= "dr:CobjTypology";
	public static final String DR_CobjIdentifier		= "dr:CobjIdentifier";
	public static final String DR_CobjModel				= "dr:CobjModel";
	public static final String DR_CobjMDFormats			= "dr:CobjMDFormats";
	public static final String DR_CobjDescriptionSynthesis		= "dr:CobjDescriptionSynthesis";
	public static final String DR_repositoryName		= "dr:repositoryName";
	public static final String DR_repositoryLink		= "dr:repositoryLink";
	public static final String DR_repositoryCountry		= "dr:repositoryCountry";
	public static final String DR_repositoryInstitution	= "dr:repositoryInstitution";
	public static final String DC_creator				= "dc:creator";
	public static final String DC_title					= "dc:title";
	public static final String DC_subject				= "dc:subject";
	public static final String DR_CobjCategory			= "dr:CobjCategory";
	public static final String DC_language				= "dc:language";
	public static final String DC_dateAccepted			= "dc:dateAccepted";
	public static final String DC_identifier			= "dc:identifier";
	public static final String DC_publisher				= "dc:publisher";
	public static final String DC_source				= "dc:source";
	public static final String DC_contributor			= "dc:contributor";
	public static final String DC_relation				= "dc:relation";
	public static final String DC_description			= "dc:description";
	
	public static Set<String> NILLABLE_FIELDS = new HashSet<String>();
	
	static {
		NILLABLE_FIELDS.add(DC_publisher);
		NILLABLE_FIELDS.add(DC_source);
		NILLABLE_FIELDS.add(DC_contributor);
		NILLABLE_FIELDS.add(DC_relation);
	}
	
}
