com.randomcoder.tag
Class TagEditCommand
java.lang.Object
com.randomcoder.tag.TagAddCommand
com.randomcoder.tag.TagEditCommand
- All Implemented Interfaces:
- Consumer<Tag>, Producer<Tag>, Serializable
public class TagEditCommand
- extends TagAddCommand
- implements Consumer<Tag>
- See Also:
- Serialized Form
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagEditCommand
public TagEditCommand()
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.