com.citygrid
Class CGTag

java.lang.Object
  extended by com.citygrid.CGTag
All Implemented Interfaces:
Serializable, Cloneable

public class CGTag
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Field Summary
private  int id
           
private  String name
           
private static long serialVersionUID
           
 
Constructor Summary
CGTag(int id, String name)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 int getId()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

id

private int id

name

private String name
Constructor Detail

CGTag

public CGTag(int id,
             String name)
Method Detail

getId

public int getId()

getName

public String getName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2011. All Rights Reserved.