edu.uga.cs.lsdis.sawsdl.impl.extensions.sawsdl
Class AttrExtensionsImpl

java.lang.Object
  extended by edu.uga.cs.lsdis.sawsdl.impl.extensions.sawsdl.AttrExtensionsImpl
All Implemented Interfaces:
AttrExtensions, java.io.Serializable, javax.wsdl.extensions.ExtensibilityElement

public class AttrExtensionsImpl
extends java.lang.Object
implements AttrExtensions

Author:
: Ajith Ranabahu, : Zixin Wu, : Karthik Gomadam, : Doug Brewer
See Also:
Serialized Form

Field Summary
protected  java.util.Map attributeMap
           
protected  javax.xml.namespace.QName elementType
           
protected  java.lang.String modelRefString
           
protected  java.lang.Boolean required
           
protected  java.lang.String style
           
 
Constructor Summary
AttrExtensionsImpl()
           
 
Method Summary
 java.util.Map getAllAttributeValues()
          Get all attribute values from the attribute extensions element
 javax.xml.namespace.QName getElementType()
          Get the type of this extensibility element.
 java.lang.String getModelRefStringValue()
           
 java.lang.Boolean getRequired()
          Get whether or not the semantics of this extension are required.
 java.lang.String getStyle()
          Get the style for this SOAP binding.
 void setAllAttributeValues(java.util.Map map)
          set the attribute values
 void setElementType(javax.xml.namespace.QName elementType)
          Set the type of this extensibility element.
 void setModelRefStringValue(java.lang.String modelRefValue)
          Sets the model reference value
 void setRequired(java.lang.Boolean required)
           
 void setStyle(java.lang.String style)
          Set the style for this SOAP binding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elementType

protected javax.xml.namespace.QName elementType

required

protected java.lang.Boolean required

style

protected java.lang.String style

modelRefString

protected java.lang.String modelRefString

attributeMap

protected java.util.Map attributeMap
Constructor Detail

AttrExtensionsImpl

public AttrExtensionsImpl()
Method Detail

setModelRefStringValue

public void setModelRefStringValue(java.lang.String modelRefValue)
Description copied from interface: AttrExtensions
Sets the model reference value

Specified by:
setModelRefStringValue in interface AttrExtensions

getModelRefStringValue

public java.lang.String getModelRefStringValue()
Specified by:
getModelRefStringValue in interface AttrExtensions
Returns:
the string value of the model reference attribute

getRequired

public java.lang.Boolean getRequired()
Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.

Specified by:
getRequired in interface javax.wsdl.extensions.ExtensibilityElement

setStyle

public void setStyle(java.lang.String style)
Set the style for this SOAP binding.

Parameters:
style - the desired style

getStyle

public java.lang.String getStyle()
Get the style for this SOAP binding.


setElementType

public void setElementType(javax.xml.namespace.QName elementType)
Set the type of this extensibility element.

Specified by:
setElementType in interface javax.wsdl.extensions.ExtensibilityElement
Parameters:
elementType - the type

getElementType

public javax.xml.namespace.QName getElementType()
Get the type of this extensibility element.

Specified by:
getElementType in interface javax.wsdl.extensions.ExtensibilityElement
Returns:
the extensibility element's type

setRequired

public void setRequired(java.lang.Boolean required)
Specified by:
setRequired in interface javax.wsdl.extensions.ExtensibilityElement
Parameters:
required -

getAllAttributeValues

public java.util.Map getAllAttributeValues()
Get all attribute values from the attribute extensions element

Specified by:
getAllAttributeValues in interface AttrExtensions
Returns:
a map that contains the attribute QName as the key and the value as a string. Note that this map includes the modelreference as well

setAllAttributeValues

public void setAllAttributeValues(java.util.Map map)
set the attribute values

Specified by:
setAllAttributeValues in interface AttrExtensions
Parameters:
map - a map that contains the attribute QName as the key and the value as a string


Copyright © 2007. All Rights Reserved.