com.citygrid
Class CGRegion

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

public class CGRegion
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Field Summary
private  CGLatLon latlon
           
private  String name
           
private  float radius
           
private static long serialVersionUID
           
private  String type
           
 
Constructor Summary
CGRegion(String type, String name, CGLatLon latlon, float radius)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 CGLatLon getLatlon()
           
 String getName()
           
 float getRadius()
           
 String getType()
           
 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

type

private String type

name

private String name

latlon

private CGLatLon latlon

radius

private float radius
Constructor Detail

CGRegion

public CGRegion(String type,
                String name,
                CGLatLon latlon,
                float radius)
Method Detail

getType

public String getType()

getName

public String getName()

getLatlon

public CGLatLon getLatlon()

getRadius

public float getRadius()

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.