fr.tireme.schemadoc.SDSchema.XSD
Class XSDAttributeGroupDefinitionWrapp

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.XSDAttributeGroupDefinitionWrapp
All Implemented Interfaces:
SDAttributeGroup, SDConcreteComponent, SDSchemaContent

public class XSDAttributeGroupDefinitionWrapp
extends SDSchemaContentImpl
implements SDAttributeGroup

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
XSDAttributeGroupDefinitionWrapp(org.eclipse.xsd.XSDAttributeGroupDefinition xsdAttributeGroupDefinition)
          Constructor for the XSDAttributeGroupDefinitionWrapp object
 
Method Summary
 java.util.List getContents()
          Gets the content of this AttributeGroup
 java.lang.String getName()
          Gets the name of this object.
 SDAnnotation getSchemaAnnotation()
          Returns the annotation on this attributeGroup
 int getType()
          Provides type to generinc class
 boolean hasAttributes()
          Indicates if this group has attributes
 
Methods inherited from class fr.tireme.schemadoc.SDSchema.XSD.SDSchemaContentImpl
getQName, 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
getQName, getSchema, getTargetNamespace, isGlobal
 
Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDConcreteComponent
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID
 

Constructor Detail

XSDAttributeGroupDefinitionWrapp

public XSDAttributeGroupDefinitionWrapp(org.eclipse.xsd.XSDAttributeGroupDefinition xsdAttributeGroupDefinition)
Constructor for the XSDAttributeGroupDefinitionWrapp object

Parameters:
xsdAttributeGroupDefinition - the wrapped attributeGroup from eclipse xsd
Method Detail

getContents

public java.util.List getContents()
Gets the content of this AttributeGroup

Specified by:
getContents in interface SDAttributeGroup
Returns:
List - list

hasAttributes

public boolean hasAttributes()
Indicates if this group has attributes

Specified by:
hasAttributes in interface SDAttributeGroup
Returns:
boolean -

getSchemaAnnotation

public SDAnnotation getSchemaAnnotation()
Returns the annotation on this attributeGroup

Specified by:
getSchemaAnnotation in interface SDAttributeGroup
Returns:
The annotation on this attributeGroup, or null if there is no annotation.

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

getType

public int getType()
Provides type to generinc class

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