org.marketcetera.util.ws.tags
Class Tag

java.lang.Object
  extended by org.marketcetera.util.ws.tags.Tag
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AppId, NodeId, SessionId, VersionId

public class Tag
extends Object
implements Serializable

A generic ID tag.

Since:
1.0.0
Version:
$Id: Tag.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com
See Also:
Serialized Form

Constructor Summary
protected Tag()
          Creates a new tag.
protected Tag(String value)
          Creates a new tag with the given ID value.
 
Method Summary
 boolean equals(Object other)
           
 String getValue()
          Returns the receiver's ID value.
 int hashCode()
           
 void setValue(String value)
          Sets the receiver's ID value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tag

protected Tag(String value)
Creates a new tag with the given ID value.

Parameters:
value - The ID value.

Tag

protected Tag()
Creates a new tag. This empty constructor is intended for use by JAXB.

Method Detail

setValue

public void setValue(String value)
Sets the receiver's ID value. This setter is intended for use by JAXB.

Parameters:
value - The ID value.

getValue

public String getValue()
Returns the receiver's ID value.

Returns:
The ID value.

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.