org.apache.muse.ws.resource.properties.set.impl
Class AbstractSetRequestComponent

java.lang.Object
  extended by org.apache.muse.ws.resource.properties.set.impl.AbstractSetRequestComponent
All Implemented Interfaces:
XmlSerializable, SetRequestComponent
Direct Known Subclasses:
DeleteRequest, InsertRequest, UpdateRequest

public abstract class AbstractSetRequestComponent
extends Object
implements SetRequestComponent

AbstractSetRequestComponent is a the abstract base class for the WS-ResourceProperties SetResourceProperties commands. It provides the basic creation and execution mechanisms, as well as security.

Author:
Dan Jemiolo (danj)

Constructor Summary
AbstractSetRequestComponent()
           
 
Method Summary
 int getNumberOfValues()
           
 QName getPropertyName()
           
 Object getSecurityToken()
           
 Element getValue(int index)
           
 Element[] getValues()
           
 void setPropertyName(QName qname)
           
 void setSecurityToken(Object securityToken)
           
 void setValues(Object[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.muse.ws.resource.properties.set.SetRequestComponent
execute
 
Methods inherited from interface org.apache.muse.util.xml.XmlSerializable
toXML, toXML
 

Constructor Detail

AbstractSetRequestComponent

public AbstractSetRequestComponent()
Method Detail

getNumberOfValues

public int getNumberOfValues()
Specified by:
getNumberOfValues in interface SetRequestComponent

getPropertyName

public QName getPropertyName()
Specified by:
getPropertyName in interface SetRequestComponent
Returns:
The name of the property being operated on.

getSecurityToken

public Object getSecurityToken()
Specified by:
getSecurityToken in interface SetRequestComponent
Returns:
The security token assigned by the command's creator, which may affect its ability to execute successfully.

getValue

public Element getValue(int index)
Specified by:
getValue in interface SetRequestComponent

getValues

public Element[] getValues()
Specified by:
getValues in interface SetRequestComponent

setPropertyName

public final void setPropertyName(QName qname)
Specified by:
setPropertyName in interface SetRequestComponent

setSecurityToken

public final void setSecurityToken(Object securityToken)
Specified by:
setSecurityToken in interface SetRequestComponent

setValues

public final void setValues(Object[] values)
Specified by:
setValues in interface SetRequestComponent


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.