2.2.3.2.3 FileGroup Element

The <FileGroup> element defines the properties of a file group object, as specified in the following schema.

 <xs:element name="FileGroup" minOccurs="0"
             maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Members">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="Pattern" minOccurs="0"
                                        maxOccurs="unbounded">
               <xs:complexType>
                 <xs:attribute name="PatternValue" type="xs:string"
                                                   use="required"/>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
       <xs:element name="NonMembers">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="Pattern" minOccurs="0"
                                        maxOccurs="unbounded">
               <xs:complexType>
                 <xs:attribute name="PatternValue" type="xs:string"
                                                   use="required"/>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attribute name="Name" type="xs:string" use="required"/>
     <xs:attribute name="Id" type="guidType" use="required"/>
     <xs:attribute name="Description" type="xs:string" use="required"/>
   </xs:complexType>
 </xs:element>

Members: This element MUST be present and MUST occur only once in the file group. It is the containing element for the individual member patterns.

Pattern: If present, this element MUST contain the attribute PatternValue.

PatternValue: This attribute MUST be present. It contains a pattern value for the members of the file group, which is one of the values returned by the IFsrmFileGroup::Members (get) (section 3.2.4.2.23.4) method.

NonMembers: This element MUST be present and MUST occur only once in the file group. It is the containing element for the individual non-member patterns.

Pattern: If present, this element MUST contain the attribute PatternValue.

PatternValue: This attribute MUST be present. It contains a pattern value for the non-members of the file group, which is one of the values returned by the IFsrmFileGroup::NonMembers (get) (section 3.2.4.2.23.6) method.

Name: This attribute MUST be present. It contains the name of the template, which is the same value returned by the IFsrmFileGroup::Name (get) (section 3.2.4.2.23.2) method.

Id: This attribute MUST be present. It contains the ID of the template, which is the same value returned by the IFsrmObject::Id (get) (section 3.2.4.2.10.1) method.

Description: This attribute MUST be present. It contains the description of the file group, which is one of the values returned by the IFsrmObject::Description (get) (section 3.2.4.2.10.2) method.