xsd.ModelGroupDefinition¶
A xsd.ModelGroupDefinition associates a name and optional annotations with a xsd.ModelGroup. By reference to the name,
the entire xsd.ModelGroup can be incorporated by reference into a term.
Base class: xsd.Component
-
class
xsd.ModelGroupDefinition¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedErrorexception.
Attributes¶
-
xsd.ModelGroupDefinition.annotations¶ Returns an iterator of
xsd.Annotationcomponents.
-
xsd.Component.element Returns the
xml.ElementInformationItemrepresenting this schema component.
-
xsd.Component.id Returns the value of the ‘id’ attribute as a string, or None if the schema component’s XML element doesn’t have an ‘id’ attribute.
-
xsd.ModelGroupDefinition.model_group¶ Returns the
xsd.ModelGroupcomponent for which thexsd.ModelGroupDefinitionprovides a name.
-
xsd.ModelGroupDefinition.name¶ Returns the name of the
xsd.ModelGroupDefinition.
-
xsd.ModelGroupDefinition.qname¶ Returns a
xml.QNameobject representing the name and target_namespace pair of the component.
-
xsd.ModelGroupDefinition.target_namespace¶ Returns the target namespace of the
xsd.ModelGroupDefinition.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__