확장

고정 값과 선택 속성이 있는 단순 유형 요소

구성:
단순 유형 요소

고정 값
선택 속성
금지
스키마 모델:
<element E1, 
     attribute A, 
     attribute B fixed = value_b
     attribute C optional 
     attribute D prohibited />
대상 트리:
E1
  A
  B
  
C
  D
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <AttributeMsgStatement A>
    <MapFrom/>
  <AttributeMsgStatement B>
    <MapFrom value_b>
  <AttributeMsgStatement C> (no condition)
    <MapFrom/>
  <AttributeMsgStatement D> (no mapfrom)
편집 테이블 열 1(확장 후):
 E1
  E1\A
  E1\B
  E1\C
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
value_b
(공백)

컨텐츠 모델 순서와 고정 값이 있는 복합 유형 요소 또는 복합 유형

구성:
복합 유형 요소
또는
복합(complex) 유형

컨텐츠 모델 순서
고정 값
스키마 모델:
<element E1, attribute A>
  <complexType>
    <sequence>
      <element E2 fixed=value_2/>
      <element E3 />
    </sequence>
  </complexType>
</element>
대상 트리:
 E1
  A
  E2
  E3
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <AttributeMsgStatement A>
      <MapFrom/>
  <SequenceMsgStatement>
    <ElementMsgStatement E2>
      <MapFrom value_2>
    <ElementMsgStatement E3>
      <MapFrom/>    
편집 테이블 열 1(확장 후):
 E1
  E1\A
  E1\E2
  E1\E3
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
value_2
(공백)

확장 후 확장(a)

구성:
확장 후 확장
스키마 모델:
<element E1>
  <complexType>
    <sequence>
      <element E2>
        <complexType>
          <sequence>
            <element E4>
            <element E5>
          </sequence>
        </complexType>
      <element E3 />
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  E2
    E4
    E5
  E3
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/> (had it when E1 created, keep it)
  <SequenceMsgStatement>
    <ElementMsgStatement E2>
      <MapFrom/>
    <ElementMsgStatement E3>
      <MapFrom/>
편집 테이블 열 1(확장 후):
 E1
  E1\E2
  E1\E3
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)

확장 후 확장(b)

구성:
확장 후 확장
스키마 모델:
<element E1>
  <complexType>
    <sequence>
      <element E2>
        <complexType>
          <sequence>
            <element E4>
            <element E5>
          </sequence>
        </complexType>
      <element E3 />
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  E2
    E4
    E5
  E3
확장 편집 이전:
 E1
  E2
명령문 모델(확장 후):
 <ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
    <ElementMsgStatement E2>
      <MapFrom/> (this MapFrom stays)
        <SequenceMsgStatement>
          <ElementMsgStatement E4>
            <MapFrom/>
          <ElementMsgStatement E5>
            <MapFrom/>
    <ElementMsgStatement E3>
      <MapFrom/>
편집 테이블 열 1(확장 후):
 E1
  E1\E2
    E1\E2\E4
    E1\E2\E5
  E1\E3
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)
(공백)
(공백)

순서대로

구성:
순서대로
스키마 모델:
 <element E1>
  <complexType>
    <sequence>
      <element E2 />
      <sequence>
        <element E3 />
        <element E4 />
      </sequence>
    </sequence>
  </complexType>
</element>
대상 트리:
 E1
  E2
  sequence
    E3
    E4
확장 편집 이전:
E1
명령문 모델(확장 후):
 <ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
    <ElementMsgStatement E2>
      <SequenceMsgStatement>
        <ElementMsgStatement E2>
          <MapFrom/>
        <ElementMsgStatement E3>
          <MapFrom/>
편집 테이블 열 1(확장 후):
 E1
  E1\E2
  E1\E3
  E1\E4
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)
(공백)

그룹으로 발생

구성:
그룹으로 발생
스키마 모델:
<element E1>
  <complexType>
    <sequence>
      <element E2 minOcc=0/>
      <element E3 minOcc=2,maxOcc=9/>
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  E2 [0..1]
  E3 [2..9]
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
    <ElementMsgStatement E2> (no condition)
      <MapFrom/>
    <ElementMsgStatement E3>
      <MapFrom/>
    <ElementMsgStatement E3> (since minOcc=2)
      <MapFrom/>
편집 테이블 열 1(확장 후):
E1
    E1\E2
    E1\E3
    E1\E3
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)
(공백)

반복 순서

구성:
반복 순서
스키마 모델:
<element E1>
  <complexType>
    <sequence minOcc=0,maxOcc=5>
      <element E2 maxOcc=2/>
      <element E3 />
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  sequence [0..5]
    E2 [1..2]
    E3
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <Qualify>
    <Condition true>
      <SequenceMsgStatement>
        <ElementMsgStatement E2>
          <MapFrom/>
        <ElementMsgStatement E3>
          <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  Qualify
    Condition
      E1\E2
      E1\E3
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
참
(공백)
(공백)

컨텐츠 모델 선택이 있는 복합 유형 요소 또는 복합 유형

구성:
복합 유형 요소
또는
복합(complex) 유형

컨텐츠 모델 선택
스키마 모델:
<element E1>
  <complexType>
    <choice>
      <element E2 />
      <element E3 />
    </choice>
  </complexType>
</element>
대상 트리:
E1
  choice
    E2
    E3
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <ChoiceMsgStatement>
    <Qualify>
      <Condition true>
        <ElementMsgStatement E2>
          <MapFrom/>
      <Condition true>
        <ElementMsgStatement E3>
          <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  Qualify
    Condition
      E1\E2
    Condition
      E1\E3
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
참
(공백)
참
(공백)

순서대로 선택

구성:
순서대로 선택
스키마 모델:
<element E1>
  <complexType>
    <sequence>
      <element E2 />
      <choice>
        <element E3 />
        <element E4 />
      </choice>
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  E2
  choice
    E3
    E4
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
    <ElementMsgStatement E2>
      <ChoiceMsgStatement>
        <Qualify>
          <Condition true>
            <ElementMsgStatement E2>
              <MapFrom/>
          <Condition true>
            <ElementMsgStatement E3>
              <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  E1\E2
  Qualify
    Condition
      E1\E3
    Condition
      E1\E4
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)
참
(공백)
참
(공백)

동위 선택

구성:
동위 선택
스키마 모델:
<element E1>
  <complexType>
    <sequence>
    <choice>
      <element E2 />
      <element E3 />
    </choice>
    <choice>
      <element E4 />
      <element E5 />
    </choice>
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  choice
    E2
    E3
  choice
    E4
    E5
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
      <ChoiceMsgStatement>
        <Qualify>
          <Condition true>
            <ElementMsgStatement E2>
              <MapFrom/>
          <Condition true>
            <ElementMsgStatement E3>
              <MapFrom/>
      <ChoiceMsgStatement>
        <Qualify>
          <Condition true>
            <ElementMsgStatement E4>
              <MapFrom/>
          <Condition true>
            <ElementMsgStatement E5>
              <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  Qualify
    Condition
      E1\E2
    Condition
      E1\E3
  Qualify
    Condition
      E1\E4
    Condition
      E1\E5
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
참
(공백)
참
(공백)
(공백)
참
(공백)
참
(공백)

모든 컨텐츠 모델이 있는 복합 유형 요소 또는 복합 유형

구성:
복합 유형 요소
또는
복합(complex) 유형

모든 컨텐츠 모델
스키마 모델:
<element E1>
  <complexType>
    <all>
      <element E2 />
      <element E3 />
    </all>
  </complexType>
</element>
대상 트리:
E1
  all
    E2
    E3
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <AllMsgStatement>
    <ElementMsgStatement E2>
      <MapFrom/>
    <ElementMsgStatement E3>
      <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  E1\E2
  E1\E3
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)

모두 순서대로

구성:
모두 순서대로
스키마 모델:
<element E1>
  <complexType>
    <sequence>
      <element E2 />
      <all>
        <element E3 />
        <element E4 />
      </all>
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  E2
  all
    E3
    E4
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
    <ElementMsgStatement E2>
      <AllMsgStatement>
        <ElementMsgStatement E2>
          <MapFrom null>
        <ElementMsgStatement E3>
          <MapFrom null>
편집 테이블 열 1(확장 후):
E1
  E1\E2
  E1\E3
  E1\E4
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)
(공백)

요소 그룹

구성:
요소 그룹
스키마 모델:
<element E1>
  <complexType>
    <sequence>
      <group G>
        <complexType>
          <sequence>
            <element E2 />
            <element E3 />
          </sequence>
        </complexType>
      </group>
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  G
    E2
    E3
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
      <GroupMsgStatement>
        <ElementMsgStatement E2>
          <MapFrom/>
        <ElementMsgStatement E3>
          <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  E1\E2
  E1\E3
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)

속성 그룹

구성:
속성 그룹
스키마 모델:
<element E1>
  <complexType>
    <sequence>
      <attributeGroup AG>
        <attribute A1 />
        <attribute A2 />
      </attributeGroup>
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  A1
  A2
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
      <AttributeMsgStatement A1>
        <MapFrom/>
      <AttributeMsgStatement A2>
        <MapFrom/>

주: AttributeGroupMsgStatement 없음
편집 테이블 열 1(확장 후):
E1
  E1\A1
  E1\A2
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)

추상 요소 대체 그룹

구성:
추상 요소
대체 그룹
스키마 모델:
<element E1>
  <complexType>
    <sequence>
      <element E2 abstract/>
      <element E3/>
    </sequence>
  </complexType>
</element>
<element E2_subst_a substitute for E2 />
<element E2_subst_b substitute for E2 />
<element E3_subst substitute for E3/>
대상 트리:
E1
  E2 and substitutable elements
    E2
    E2_subst_a
    E2_subst_b
  E3 and substitutable elements
    E3
    E3_subst
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
    <Qualify>
      <Condition true>
        <ElementMsgStatement E2_subst_a>
          <MapFrom/>
      <Condition true>
        <ElementMsgStatement E2_subst_b>
          <MapFrom/>
    <Qualify>
      <Condition true>
        <ElementMsgStatement E3>
          <MapFrom/>
      <Condition true>
        <ElementMsgStatement E3_subst>
          <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  Qualify
    Condition
      E1\E2_subst_a
    Condition
      E1\E2_subst_b
  Qualify
    Condition
      E1\E3
    Condition
      E1\E3_subst
주: E2가 추상이므로 조건 E1/E2가 없음
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
참
(공백)
참
(공백)
(공백)
참
(공백)
참
(공백)

확장자 및 제한

구성:
추상 유형
(편집 분할창의 굵은 텍스트는 추상 유형이 아닌 경우에만 표시됨)

확장자 또는 제한별 도출

(단순 유형 확장/제한은 유사하게 처리됩니다.
즉, 요소 E2를 속성 A2로 변경하면 확장 시 유사한 결과가 나타납니다.
그러나 속성의 경우에는 도출된 단순 유형만 나열됩니다.
스키마 모델:
<element E1>
  <complexType>
    <sequence>
      <element E2>
        <complexType ct1 abstract>
          <sequence>
            <element E3 />
          </sequence>
        </complexType>
      </element>
    </sequence>
  </complexType>
</element>
<complexType ct2 (extension ct1)>
  <sequence>
    <element E4 />
  <@2/sequence>
<complexType ct3 (restriction ct1)>
  <sequence>
    <element E3 
       minOcc=0 type=string fixed=""abc"" />
  </sequence>
대상 트리:
E1
  E2 및 도출된 유형
    E2 (ct1)
      E3 [1,1]
    ct2
      E3
      E4
    ct3
      E3 [0, 1]
확장 편집 이전:
2 확장:

E1

E2
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
    <Qualify>
      <Condition true>
        <ElementMsgStatement E2> 
          <MapFrom/>
          <SequenceMsgStatement>
            <ElementMsgStatement E3>
              <MapFrom/>
      <Condition true>
        <ComplexTypeMsgStatement ct2>
          <MapFrom/>
          <SequenceMsgStatement>
            <ElementMsgStatement E3>
              <MapFrom/>
            <ElementMsgStatement E4>
              <MapFrom/>
      <Condition true>
        <ComplexTypeMsgStatement ct3>
          <MapFrom/>
          <Qualify>
            <Condition true>
              <SequenceMsgStatement>
                <ElementMsgStatement E3>
                  <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  Qualify
    Condition
      E1\E2
        E1\E2\E3
    Condition
      E1\ct2
        E1\ct2\E3
        E1\ct2\E4
    Condition
      E1\ct3
      Qualify
        Condition
          E1\ct3\E3
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
참
(공백)
(공백)
참
(공백)
(공백)
(공백)
참
(공백)
(공백)
참
(공백)

와일드카드 요소 및 속성

구성:
와일드카드 요소 및 속성
스키마 모델:
<element E1 attribute xsd:anyAttribute>
  <complexType>
    <sequence>
      <element E2>
      <xsd:any maxOcc=3/>
    </sequence>
  </complexType>
</element>
대상 트리:
E1
  Wildcard Attribute
  E2
  Wildcard Element
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <WildcardAttributeMsgStatement>
    <MapFrom/>
  <SequenceMsgStatement>
    <ElementMsgStatement E2>
      <MapFrom/>
    <WildcardMsgStatement>
      <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  E1\(wc)
  E1\E2
  E1\(wc)
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)
(공백)

단순 목록 요소가 들어 있는 복합 유형 요소

구성:
단순 목록 요소가 들어 있는 복합 유형 요소
스키마 모델:
<element E1>
  <sequence>
    <element E2>
      <simpleType name=""USStateList"">
        <list itemType=""USState""/>
      </simpleType>
    </element>
  </sequence>
</element>
<simpleType name=""USState"">
  <restriction base=""string"">
    <enumeration value=""AK""/>
    <enumeration value=""AL""/>
    <!-- and so on ... -->
  </restriction>
</simpleType>
대상 트리:  
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
    <ElementMsgStatement E2>
      <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  E1\E2
편집 테이블 열 2(확장 후):
(이전과 같음)
다음 유형이어야 함...

단순 결합 요소가 들어 있는 복합 유형 요소

구성:
단순 결합 요소가 들어 있는 복합 유형 요소
스키마 모델:
<element E1>
  <sequence>
    <element E2>
      <simpleType name=""zipUnion"">
        <union memberTypes=
                        ""USState
                         listOfMyIntType""/>
      </simpleType>
    </element>
  </sequence>
</element>
<simpleType name=""listOfMyIntType"">
  <list itemType=""myInteger""/>
</simpleType>
<simpleType name=""myInteger"">
  <restriction base=""xsd:integer"">
    <minInclusive value=""10000""/>
    <maxInclusive value=""99999""/>
  </restriction>
</simpleType>
대상 트리:  
확장 편집 이전:
E1
명령문 모델(확장 후):
<ElementMsgStatement E1>
  <MapFrom/>
  <SequenceMsgStatement>
    <ElementMsgStatement E2>
      <MapFrom/>
편집 테이블 열 1(확장 후):
E1
  E1\E2
편집 테이블 열 2(확장 후):
(이전과 같음)
다음 유형이어야 함...

MsgTarget Map 명령문

구성:
MsgTarget
Map
Statement
스키마 모델:
<element Hdrs_n_M1>
  <complexType>
    <sequence>
      <element Headers/>
      <xsd:any/> 
         (replaced with po:purchaseOrder)
    </sequence>
  </complexType>
</element>
대상 트리:
target (ComIbmHeadersAndMessage)
  Headers
  po:purchaseOrder
확장 편집 이전:
target
명령문 모델(확장 후):
<MsgTargetMapStatement target>
  <ElementMsgStatement Hdrs_n_M1>
    <SequenceMsgStatement>
      <ElementMsgStatement Headers>
        <MapFrom/>
      <ElementMsgStatement po:purchaseOrder>
        <MapFrom/>
편집 테이블 열 1(확장 후):
target - Hdrs_n_M1
  Hdrs_n_M1\Headers
  Hdrs_n_M1\po:purchaseOrder
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)

Select 명령문

구성:
Select
Statement
스키마 모델:
<Database db1>
  <Schema sch2>
    <Table tbl3>
      <Column col4>
      <Column col5>
대상 트리:
소스 트리:
select1 (db1)
    sch2
      tbl3
        col4
        col5
확장 편집 이전:
select1
명령문 모델(확장 후):
<SelectStatement select1 whereClauseExp>
편집 테이블 열 1(확장 후):
select1
편집 테이블 열 2(확장 후):
(이전과 같음)

Insert 명령문

구성:
Insert
Statement
스키마 모델:
<Database db1>
  <Schema sch2>
    <Table tbl3>
      <Column col4>
      <Column col5>
대상 트리:
ins1 (db1.sch2.tbl3)
  col4
  col5
확장 편집 이전:
<InsertStatement ins1 db1 sch2 tbl3>
  <ColumnStatement col4>
    <MapFrom/>
  <ColumnStatement col5>
    <MapFrom/>
명령문 모델(확장 후):
ins1
편집 테이블 열 1(확장 후):
 ins1
  col4
  col5
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)

Update 명령문

구성:
Update
Statement
스키마 모델:
<Database db1>
  <Schema sch2>
    <Table tbl3>
      <Column col4>
      <Column col5>
대상 트리:
upd1 (db1.sch2.tbl3)
  col4
  col5
확장 편집 이전:
upd1
명령문 모델(확장 후):
<UpdateStatement upd1 db1 sch2 tbl3 whereClauseExp>
  <ColumnStatement col4>
    <MapFrom/>
  <ColumnStatement col5>
    <MapFrom/>
편집 테이블 열 1(확장 후):
upd1
  col4
  col5
편집 테이블 열 2(확장 후):
(이전과 같음)
(공백)
(공백)

Delete 명령문

구성:
Delete
Statement
스키마 모델:
<Database db1>
  <Schema sch2>
    <Table tbl3>
      <Column col4>
      <Column col5>
대상 트리:
dlt1 (db1.sch2.tbl3)
  col4
  col5
확장 편집 이전:
dlt1
명령문 모델(확장 후):
<DeleteStatement dlt1 whereClauseExp>
편집 테이블 열 1(확장 후):
dlt1
편집 테이블 열 2(확장 후):
(이전과 같음)

CallOperation 명령문

구성:
CallOperation
Statement
스키마 모델:
<Database db1>
대상 트리:
call_1 (db1)
확장 편집 이전:
call_1
명령문 모델(확장 후):
<CallOperationStatement call_1 function_exp>
편집 테이블 열 1(확장 후):
call_1
편집 테이블 열 2(확장 후):
(이전과 같음)
주: 다음을 선택하면 확장을 사용할 수 없습니다.
  • 컨테이너 명령문이 다음과 같은 MapFromStatement
    • AttributeMsgStatement
    • ColumnStatement
  • 위에서 설명한 MapFromStatement 이외의 비 MapStructureStatement
  • SelectStatement
  • DeleteStatement
  • SimpleTypeStatement

관련 작업
메시지 맵핑 개발
주의사항 | 등록상표 | 다운로드 | 라이브러리 | 지원 | 피드백
Copyright IBM Corporation 1999, 2005 마지막 갱신 날짜: 11/08/2005
ar25234_1_