/**
 * 
 */
package ecologylab.bigsemantics.metadata.builtins;

import ecologylab.bigsemantics.metadata.Metadata;
import ecologylab.bigsemantics.metadata.builtins.declarations.MetadataBuiltinDeclarationsTranslationScope;
import ecologylab.bigsemantics.metadata.scalar.types.MetadataScalarType;
import ecologylab.generic.Debug;
import ecologylab.serialization.SimplTypesScope;

/**
 * Encapsulates ClassDescriptors for Metadata and its subclasses that are coded by hand.
 */
public class RichArtifactsTypesScope extends Debug
{
	public static final String NAME = "rich_artifacts_scope";
	
	protected static final Class CLASSES[] = 
	{
		RichArtifact.class,
		RichBookmark.class,
		CreativeAct.class,
		ImageSelfmade.class,
		TextSelfmade.class,
		Clipping.class,
		ImageClipping.class,
		TextClipping.class,
		CurateLink.class,
		Annotate.class,
		
	};
	
	static
	{
		MetadataScalarType.init();
	}

	public static SimplTypesScope get()
	{
		return SimplTypesScope.get(NAME, MetadataBuiltinDeclarationsTranslationScope.get(), MetadataMediaTypesScope.get(), CLASSES);
	}	
}

/**
 * 
 */
package ecologylab.bigsemantics.metadata.builtins;

import ecologylab.bigsemantics.metadata.Metadata;
import ecologylab.bigsemantics.metadata.builtins.declarations.MetadataBuiltinDeclarationsTranslationScope;
import ecologylab.bigsemantics.metadata.scalar.types.MetadataScalarType;
import ecologylab.generic.Debug;
import ecologylab.serialization.SimplTypesScope;

/**
 * Encapsulates ClassDescriptors for Metadata and its subclasses that are coded by hand.
 */
public class RichArtifactsTypesScope extends Debug
{
	public static final String NAME = "rich_artifacts_scope";
	
	protected static final Class CLASSES[] = 
	{
		RichArtifact.class,
		RichBookmark.class,
		CreativeAct.class,
		ImageSelfmade.class,
		TextSelfmade.class,
		Clipping.class,
		ImageClipping.class,
		TextClipping.class,
		CurateLink.class,
		Annotate.class,
		
	};
	
	static
	{
		MetadataScalarType.init();
	}

	public static SimplTypesScope get()
	{
		return SimplTypesScope.get(NAME, CLASSES);
	}	
}

remove unnecessary type scope inheritance for rich artifacts types scope.