//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor licenses this file to you under the OpenPegasus Open
// Source License; you may not use this file except in compliance with the
// License.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//////////////////////////////////////////////////////////////////////////
//
//%/////////////////////////////////////////////////////////////////////////

#include "UNIX_PhysicalMediaInLocation.h"

#if defined(PEGASUS_OS_HPUX)
#	include "UNIX_PhysicalMediaInLocation_HPUX.hxx"
#	include "UNIX_PhysicalMediaInLocation_HPUX.hpp"
#elif defined(PEGASUS_OS_LINUX)
#	include "UNIX_PhysicalMediaInLocation_LINUX.hxx"
#	include "UNIX_PhysicalMediaInLocation_LINUX.hpp"
#elif defined(PEGASUS_OS_DARWIN)
#	include "UNIX_PhysicalMediaInLocation_DARWIN.hxx"
#	include "UNIX_PhysicalMediaInLocation_DARWIN.hpp"
#elif defined(PEGASUS_OS_AIX)
#	include "UNIX_PhysicalMediaInLocation_AIX.hxx"
#	include "UNIX_PhysicalMediaInLocation_AIX.hpp"
#elif defined(PEGASUS_OS_FREEBSD)
#	include "UNIX_PhysicalMediaInLocation_FREEBSD.hxx"
#	include "UNIX_PhysicalMediaInLocation_FREEBSD.hpp"
#elif defined(PEGASUS_OS_SOLARIS)
#	include "UNIX_PhysicalMediaInLocation_SOLARIS.hxx"
#	include "UNIX_PhysicalMediaInLocation_SOLARIS.hpp"
#elif defined(PEGASUS_OS_ZOS)
#	include "UNIX_PhysicalMediaInLocation_ZOS.hxx"
#	include "UNIX_PhysicalMediaInLocation_ZOS.hpp"
#elif defined(PEGASUS_OS_VMS)
#	include "UNIX_PhysicalMediaInLocation_VMS.hxx"
#	include "UNIX_PhysicalMediaInLocation_VMS.hpp"
#elif defined(PEGASUS_OS_TRU64)
#	include "UNIX_PhysicalMediaInLocation_TRU64.hxx"
#	include "UNIX_PhysicalMediaInLocation_TRU64.hpp"
#else
#	include "UNIX_PhysicalMediaInLocation_STUB.hxx"
#	include "UNIX_PhysicalMediaInLocation_STUB.hpp"
#endif


Boolean UNIX_PhysicalMediaInLocation::validateKey(CIMKeyBinding &kb) const
{

	/* Keys  */
	//Antecedent
	//Dependent

	CIMName name = kb.getName();
	if (name.equal(PROPERTY_ANTECEDENT) ||
			name.equal(PROPERTY_DEPENDENT)
		)
			return true;

	return false;
}

void UNIX_PhysicalMediaInLocation::setScope(CIMName scope)
{
	currentScope = scope;
}

