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

All Superinterfaces:
XSDComponent

public interface XSDModelGroupReference
extends XSDComponent

Metadata for a single model group reference from an XML Schema

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
 int getMaxOccursValue()
          Get the value of the 'maxOccurs' attribute.
 int getMinOccursValue()
          Get the value of the 'minOccurs' attribute.
 XSDModelGroupDefinition getModelGroupDefinition()
          Get the referenced model group definition component.
 javax.xml.namespace.QName getReferenceValue()
          Get the value of the 'ref' attribute as a qualified name.
 
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

getMinOccursValue

int getMinOccursValue()
Get the value of the 'minOccurs' attribute. 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. 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

getReferenceValue

javax.xml.namespace.QName getReferenceValue()
Get the value of the 'ref' attribute as a qualified name. This can be used when the reference can't be resolved to an actual global model group definition.

Returns:
the qualified group name

getModelGroupDefinition

XSDModelGroupDefinition getModelGroupDefinition()
Get the referenced model group definition component.

Returns:
the group definition component, or null if unresolved


Copyright © 2012 Pegasystems Inc. All Rights Reserved.