fr.tireme.schemadoc.SDSchema.XSD
Class XSDModelGroupDefinitionWrapp

java.lang.Object
  extended by fr.tireme.schemadoc.SDSchema.XSD.SDConcreteComponentImpl
      extended by fr.tireme.schemadoc.SDSchema.XSD.SDSchemaContentImpl
          extended by fr.tireme.schemadoc.SDSchema.XSD.XSDModelGroupDefinitionWrapp
All Implemented Interfaces:
SDConcreteComponent, SDGroupDefinition, SDSchemaContent

public class XSDModelGroupDefinitionWrapp
extends SDSchemaContentImpl
implements SDGroupDefinition

Author:
Mike Niemaz (niemaz@xrce.xerox.com)

Field Summary
 
Fields inherited from interface fr.tireme.schemadoc.SDSchema.SDSchemaContent
TYPE_ATTRIBUTE, TYPE_ATTRIBUTE_LABEL, TYPE_ATTRIBUTEGROUP, TYPE_ATTRIBUTEGROUP_LABEL, TYPE_COMPLEXTYPE, TYPE_COMPLEXTYPE_LABEL, TYPE_ELEMENT, TYPE_ELEMENT_LABEL, TYPE_GROUP, TYPE_GROUP_LABEL, TYPE_NOTATION, TYPE_NOTATION_LABEL, TYPE_SIMPLETYPE, TYPE_SIMPLETYPE_LABEL
 
Constructor Summary
XSDModelGroupDefinitionWrapp(org.eclipse.xsd.XSDModelGroupDefinition xsdModelGroupDef)
          Constructor for the XSDModelGroupDefinitionWrapp object
 
Method Summary
 SDGroupContent getGroupContent()
          Returns the content of this group.
 java.lang.String getName()
          Gets the name of this object.
 QName getQName()
          Gets the Qname of the resolved group definition
 SDGroupDefinition getResolvedModelGroupDefinition(SDSchema schema)
          Returns the content of this group or of his reference.
 SDAnnotation getSchemaAnnotation()
          Returns the annotation on this group
 int getType()
          Provides type to generinc class
 boolean isRef()
          Indicates if this object is a reference.
 
Methods inherited from class fr.tireme.schemadoc.SDSchema.XSD.SDSchemaContentImpl
getSchema, getTargetNamespace, isGlobal
 
Methods inherited from class fr.tireme.schemadoc.SDSchema.XSD.SDConcreteComponentImpl
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDSchemaContent
getSchema, getTargetNamespace, isGlobal
 
Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDConcreteComponent
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID
 

Constructor Detail

XSDModelGroupDefinitionWrapp

public XSDModelGroupDefinitionWrapp(org.eclipse.xsd.XSDModelGroupDefinition xsdModelGroupDef)
Constructor for the XSDModelGroupDefinitionWrapp object

Parameters:
xsdModelGroupDef - - the wrapped eclipse XSD GroupDefinition
Method Detail

getQName

public QName getQName()
Gets the Qname of the resolved group definition

Specified by:
getQName in interface SDSchemaContent
Overrides:
getQName in class SDSchemaContentImpl
Returns:
QName -

getName

public java.lang.String getName()
Gets the name of this object.

Specified by:
getName in interface SDSchemaContent
Overrides:
getName in class SDSchemaContentImpl
Returns:
String - name

isRef

public boolean isRef()
Indicates if this object is a reference.

Specified by:
isRef in interface SDGroupDefinition
Returns:
boolean - true is this object is a reference.

getGroupContent

public SDGroupContent getGroupContent()
Returns the content of this group.

Specified by:
getGroupContent in interface SDGroupDefinition
Returns:
SDGroupContent -

getResolvedModelGroupDefinition

public SDGroupDefinition getResolvedModelGroupDefinition(SDSchema schema)
Returns the content of this group or of his reference.

Specified by:
getResolvedModelGroupDefinition in interface SDGroupDefinition
Parameters:
schema - - root schema
Returns:
SDGroupDefinition -

getSchemaAnnotation

public SDAnnotation getSchemaAnnotation()
Returns the annotation on this group

Specified by:
getSchemaAnnotation in interface SDGroupDefinition
Returns:
SDAnnotation -

getType

public int getType()
Provides type to generinc class

Specified by:
getType in interface SDSchemaContent
See Also:
SDSchemaContent.getType()