com.randomcoder.tag
Class TagEditCommand

java.lang.Object
  extended by com.randomcoder.tag.TagAddCommand
      extended by com.randomcoder.tag.TagEditCommand
All Implemented Interfaces:
Consumer<Tag>, Producer<Tag>, Serializable

public class TagEditCommand
extends TagAddCommand
implements Consumer<Tag>

See Also:
Serialized Form

Constructor Summary
TagEditCommand()
           
 
Method Summary
 void consume(Tag tag)
          Reads information from the given object.
 Long getId()
          Gets the id for this tag.
 void setId(Long id)
          Sets the id for this tag.
 
Methods inherited from class com.randomcoder.tag.TagAddCommand
getDisplayName, getName, produce, setDisplayName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagEditCommand

public TagEditCommand()
Method Detail

getId

public Long getId()
Gets the id for this tag.

Returns:
id

setId

public void setId(Long id)
Sets the id for this tag.

Parameters:
id - id

consume

public void consume(Tag tag)
Description copied from interface: Consumer
Reads information from the given object.

Specified by:
consume in interface Consumer<Tag>
Parameters:
tag - target object to read


Copyright © 2006-2010 Craig Condit. All Rights Reserved.