모델 그룹의 일부인 중첩 비즈니스 오브젝트에 대한 작업 시 그룹 경로 패턴을 모델링해야 합니다.
<?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://MultipleGroup"> <xsd:complexType name="MultipleGroup"> <xsd:sequence> <xsd:choice> <xsd:element name="child1" type="Child"/> <xsd:element name="child2" type="Child"/> </xsd:choice> <xsd:element name="separator" type="xsd:string"/> <xsd:choice> <xsd:element name="child1" type="Child"/> <xsd:element name="child2" type="Child"/> </xsd:choice> </xsd:sequence> </xsd:complexType> </xsd:schema>"child1" 및 "child2"라는 요소의 다중 인스턴스가 있을 수 있다는 점에 유의하십시오.
모델 그룹에 대한 서비스 데이터 오브젝트(SDO) 경로 패턴을 사용하여 이 충돌을 해결해야 합니다.
set("child1/grandchild/name", "Bob"); set("child11/grandchild/name", "Joe");