com.pega.pegarules.pub.services.xsd
Interface XSDModelGroupDefinition

All Superinterfaces:
XSDComponent

public interface XSDModelGroupDefinition
extends XSDComponent

Metadata for element content model groups: group, all, choice, and sequence

Version:
$Revision: 31 $ $Date: 2009-06-24 09:38:04 -0400 (Wed, 24 Jun 2009) $
Author:
Peter Tandara-Kuhns

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Method Summary
 XSDComponentList getComponents()
          Get the list of element components for this model group.
 java.lang.String getGroupType()
          Get the group type value for this model group definition.
 int getMaxOccursValue()
          Get the value of the 'maxOccurs' attribute.
 int getMinOccursValue()
          Get the value of the 'minOccurs' attribute.
 java.lang.String getName()
          Get the name of this model group.
 java.lang.String getNamespaceURI()
          Get the namespace URI that this model group belongs to.
 boolean isGlobal()
          Determine if the model group definition has global scope.
 boolean isRedefine()
          Determine if the type definition redefines an existing definition.
 
Methods inherited from interface com.pega.pegarules.pub.services.xsd.XSDComponent
getAllMetadata, getAnnotations, getIDValue
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

static final java.lang.String VERSION
Method Detail

getNamespaceURI

java.lang.String getNamespaceURI()
Get the namespace URI that this model group belongs to.

Returns:
the namespace URI value

getName

java.lang.String getName()
Get the name of this model group.

Returns:
the name value

getGroupType

java.lang.String getGroupType()
Get the group type value for this model group definition. Legal group type values are 'group', 'all', 'choice', or 'sequence'. A 'group' indicates global scope, all other types indicate local scope.

Returns:
the group type value

getMinOccursValue

int getMinOccursValue()
Get the value of the 'minOccurs' attribute. This attribute is only legal when the element declaration has local scope. Legal values are all non-negative integers.

Returns:
the value, or 1 if the attribute is not present

getMaxOccursValue

int getMaxOccursValue()
Get the value of the 'maxOccurs' attribute. This attribute is only legal when the element declaration has local scope. Legal values are all non-negative integers, or the 'unbounded' constant value. If the 'unbounded' constant is used, this method will return Integer.MAX_INT.

Returns:
the value, or 1 if the attribute is not present

isGlobal

boolean isGlobal()
Determine if the model group definition has global scope.

Returns:
true if the model group definition declaration is global, false otherwise

isRedefine

boolean isRedefine()
Determine if the type definition redefines an existing definition.

Returns:
true if this is a type redefinition, false otherwise

getComponents

XSDComponentList getComponents()
Get the list of element components for this model group. List elements can be of type XSDElementDeclaration, XSDElementReference, XSDElementGroupReference, XSDElementGroupReference, or XSDElementWildcard.

Returns:
the list of element components


Copyright © 2012 Pegasystems Inc. All Rights Reserved.