도출된 유형

확장 전의 일반 맵핑

소스:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
대상:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
맵핑 전의 명령문:
<ElementMsgStatement po:purchaseOrder>
맵핑 후의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement $source/po:purchaseOrder/ShipTo>  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement> 

확장 후의 일반 맵핑

소스:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
대상:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
맵핑 전의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>
맵핑 후의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement $source/po:purchaseOrder/ShipTo>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>

도출된 유형 요소에서 확장된 요소로 맵핑

소스:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
대상:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
맵핑 전의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>
맵핑 후의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <Qualify>
    <Condition fn:extends-type($source/po:purchaseOrder/ShipTo, UsAddressType)>
      <ElementMsgStatement ShipTo>
        <MapFromStatement $source/po:purchaseOrder/element(ShipTo, UsAddressType)>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>

기본 유형 요소를 사전 확장 구조로 맵핑한 후 맵핑된 도출 유형 요소로 펼치기

소스:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
대상:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
맵핑 전의 명령문:
<ElementMsgStatement po:purchaseOrder>
맵핑 후의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement element(ShipTo, CanadaAddressType)>
    <MapFromStatement $source/po:purchaseOrder/ShipTo>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement> 

맵 대상이 확장된 요소의 유형이 아닌 확장된 구조로 맵핑한 후 확장되지 않은 유형의 요소를 맵핑된 요소의 유형으로 바꾸기

소스:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
대상:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
맵핑 전의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>
맵핑 후의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement element(ShipTo, CanadaAddressType)>
    <MapFromStatement $source/po:purchaseOrder/ShipTo>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>

도출된 유형 맵에서 확장된 유형으로 맵핑

소스:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
대상:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
맵핑 전의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement element(ShipTo, UsAddressType)>
    <MapFromStatement>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>
맵핑 후의 명령문:
<ElementMsgStatement po:purchaseOrder>
  <Qualify>
    <Condition fn:extends-type($source/po:purchaseOrder/ShipTo, UsAddressType)>
      <ElementMsgStatement element(ShipTo, UsAddressType)>
        <MapFromStatement $source/po:purchaseOrder/element(ShipTo, UsAddressType)>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>
관련 작업
메시지 맵핑 개발
주의사항 | 등록상표 | 다운로드 | 라이브러리 | 지원 | 피드백
Copyright IBM Corporation 1999, 2005 마지막 갱신 날짜: 11/08/2005
ar25233_4_