org.apache.geronimo.network.protocol.control.commands
Class SetAttributeMenuItem

java.lang.Object
  extended byorg.apache.geronimo.network.protocol.PacketField
      extended byorg.apache.geronimo.network.protocol.control.commands.MenuItemPacketField
          extended byorg.apache.geronimo.network.protocol.control.commands.SetAttributeMenuItem
All Implemented Interfaces:
MenuItem, PacketFieldFactory

public class SetAttributeMenuItem
extends MenuItemPacketField
implements MenuItem, PacketFieldFactory

Version:
$Revision: 1.2 $ $Date: 2004/03/10 09:59:14 $

Field Summary
 
Fields inherited from interface org.apache.geronimo.network.protocol.control.commands.MenuItem
ATTRIBUTE, CREATE, REFERENCE, RESERVED
 
Constructor Summary
SetAttributeMenuItem()
           
 
Method Summary
 PacketField create(ByteBuffer buffer)
           
 Object execute(ControlContext context)
           
 String getAttributeName()
           
 Object getAttributeValue()
           
protected  Collection getChildBuffers()
           
 Long getInstanceId()
           
 void setAttributeName(String attributeName)
           
 void setAttributeValue(Object attributeValue)
           
 void setInstanceId(Long instanceId)
           
 
Methods inherited from class org.apache.geronimo.network.protocol.PacketField
getBuffers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.geronimo.network.protocol.control.commands.MenuItem
getBuffers
 

Constructor Detail

SetAttributeMenuItem

public SetAttributeMenuItem()
Method Detail

getInstanceId

public Long getInstanceId()

setInstanceId

public void setInstanceId(Long instanceId)

getAttributeName

public String getAttributeName()

setAttributeName

public void setAttributeName(String attributeName)

getAttributeValue

public Object getAttributeValue()

setAttributeValue

public void setAttributeValue(Object attributeValue)

getChildBuffers

protected Collection getChildBuffers()
Specified by:
getChildBuffers in class PacketField

create

public PacketField create(ByteBuffer buffer)
                   throws ProtocolException
Specified by:
create in interface PacketFieldFactory
Throws:
ProtocolException

execute

public Object execute(ControlContext context)
               throws ControlException
Specified by:
execute in interface MenuItem
Throws:
ControlException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.