(*
 * $Id$
 *
 * JSDAI(TM), a way to implement STEP, ISO 10303
 * Copyright (C) 1997-2008, LKSoftWare GmbH, Germany
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License
 * version 3 as published by the Free Software Foundation (AGPL v3).
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * JSDAI is a registered trademark of LKSoftWare GmbH, Germany
 * This software is also available under commercial licenses.
 * See also http://www.jsdai.net/
 *)

(*
   Derived from ISO TC184/SC4/WG12 N4290 - ISO/TS 10303-1291 Plib class reference - EXPRESS ARM
   by LKSoftWare GmbH for implementation purpose within IDA-STEP(TM)
*)

SCHEMA Plib_class_reference_xim; 

USE FROM External_class_xim;    -- ISO/TS 10303-1275

USE FROM External_item_identification_assignment_xim;    -- ISO/TS 10303-1128

USE FROM Person_organization_assignment_xim;    -- ISO/TS 10303-1013

USE FROM Plib_class_reference_mim;

USE FROM support_resource_schema(
  label,
  text);
  
USE FROM external_reference_schema(source_item);

ENTITY Plib_class_reference
	(* CONNOTATIONAL *) SUBTYPE OF (externally_defined_class);
  code : STRING;
  supplier_bsu : STRING;
  version : STRING;
DERIVE
  SELF\group.description : text := ?;
  SELF\externally_defined_item.source : external_source := ?;
  SELF\externally_defined_item.item_id : source_item := ?;
  SELF\group.name : label := ?;
END_ENTITY;

END_SCHEMA;  -- Plib_class_reference_xim



