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

All Superinterfaces:
XSDComponent

public interface XSDAttributeReference
extends XSDComponent

Metadata for a single attribute 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
 XSDAttributeDeclaration getAttributeDeclaration()
          Get the referenced attribute declaration component.
 java.lang.String getDefaultValue()
          Get the value of the 'default' attribute.
 java.lang.String getFixedValue()
          Get the value of the 'fixed' attribute.
 javax.xml.namespace.QName getReferenceValue()
          Get the value of the 'ref' attribute as a qualified name.
 java.lang.String getUseValue()
          Get the value of the 'use' attribute.
 
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

getUseValue

java.lang.String getUseValue()
Get the value of the 'use' attribute. Legal values for this attribute are 'optional', 'required', or 'prohibited'.

Returns:
the value, or 'optional' if the attribute is not present

getDefaultValue

java.lang.String getDefaultValue()
Get the value of the 'default' attribute. It is not legal to use both the 'default' and the 'fixed' attribute on the same attribute declaration.

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

getFixedValue

java.lang.String getFixedValue()
Get the value of the 'fixed' attribute. It is not legal to use both the 'default' and the 'fixed' attribute on the same attribute declaration.

Returns:
the value, or null 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 attribute declaration.

Returns:
the qualified attribute name

getAttributeDeclaration

XSDAttributeDeclaration getAttributeDeclaration()
Get the referenced attribute declaration component.

Returns:
the attribute declaration component, or null if unresolved


Copyright © 2012 Pegasystems Inc. All Rights Reserved.