/*
 * Copyright (c) OSGi Alliance (2011). All Rights Reserved.
 * 
 * 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 org.osgi.service.obr;

import org.osgi.model.resource.Resource;

public interface OBRConstants {
	  /**
	   * Checksum attribute of a revision
	   */
	  final String CHECKSUM_ATTRIBUTE = "checksum";

	  /**
	   * The checksum algorithm used to calculate the {@link #CHECKSUM_ATTRIBUTE}
	   * if not specified this is assumed to be SHA-256 - TODO need default?
	   */
	  final String CHECKSUM_ALGO_ATTRIBUTE = "checksumAlgo";

	  /**
	   * TODO
	   */
	  final String COPYRIGHT_ATTRIBUTE = "copyright";

	  /**
	   * A human readable description of this revision 
	   */
	  final String DESCRIPTION_ATTRIBUTE = "description";

	  /**
	   * A URL where documentation for this revision can be accessed 
	   */
	  final String DOCUMENTATION_URL_ATTRIBUTE = "documentation";

	  /**
	   * TODO
	   */
	  final String LICENSE_URL_ATTRIBUTE = "license";

	  /**
	   * TODO
	   */
	  final String SCM_URL_ATTRIBUTE = "scm";

	  /**
	   * The size of this revision in bytes. If this revision is a meta revision
	   * the corresponding attribute value must equal -1
	   */
	  final String SIZE_ATTRIBUTE = "size";

	  /**
	   * All attributes defined in this interface
	   */
	  final String[] ATTRIBUTES = { CHECKSUM_ATTRIBUTE,
	      CHECKSUM_ALGO_ATTRIBUTE, COPYRIGHT_ATTRIBUTE, DESCRIPTION_ATTRIBUTE,
	      DOCUMENTATION_URL_ATTRIBUTE, LICENSE_URL_ATTRIBUTE, Resource.LOCATION_ATTRIBUTE,
	      Resource.SYMBOLIC_NAME_ATTRIBUTE, Resource.NAMESPACE_ATTRIBUTE, SCM_URL_ATTRIBUTE, SIZE_ATTRIBUTE,
	      Resource.VERSION_ATTRIBUTE };
}

@@ -1995,16 +1995,24 @@
 rce.
-LOCATION
+RESOURCE_CONTENT
 _ATT
@@ -2035,16 +2035,25 @@
 esource.
+RESOURCE_
 SYMBOLIC
@@ -2078,16 +2078,25 @@
 esource.
+RESOURCE_
 NAMESPAC
@@ -2159,16 +2159,25 @@
 esource.
+RESOURCE_
 VERSION_

fix compile errors