ucar.unidata.data.gis
Class KmlId

java.lang.Object
  extended by ucar.unidata.data.gis.KmlId

public class KmlId
extends Object

This is used to identify a node or collection of nodes in the kml. It is used as the id for the data choice

Version:
$Revision: 1.5 $ $Date: 2007/04/16 20:34:52 $
Author:
IDV development team

Field Summary
static String NODE_GROUNDOVERLAY
          Node type
static String NODE_PLACEMARKS
          Node type
static String NODE_SHAPES
          Node type
 
Constructor Summary
KmlId()
          ctor
KmlId(String type, String name, String displayCategories, String docUrl)
          ctor
KmlId(String type, String name, String displayCategories, String docUrl, Object extra)
          ctor
 
Method Summary
 boolean equals(Object obj)
          equals
 String getDisplayCategories()
          Get the DisplayCategories property.
 String getDocUrl()
          Get the DocUrl property.
 Object getExtra()
          Get the Extra property.
 String getName()
          Get the Name property.
 String getType()
          Get the Type property.
 int hashCode()
          hash code
 boolean isGroundOverlay()
          Am I a ground overlay
 boolean isPlacemarks()
          Am I a placemark list
 boolean isShapes()
          Am I a shape collection
 void setDisplayCategories(String value)
          Set the DisplayCategories property.
 void setDocUrl(String value)
          Set the DocUrl property.
 void setExtra(Object value)
          Set the Extra property.
 void setName(String value)
          Set the Name property.
 void setType(String value)
          Set the Type property.
 String toString()
          to string
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NODE_GROUNDOVERLAY

public static final String NODE_GROUNDOVERLAY
Node type

See Also:
Constant Field Values

NODE_PLACEMARKS

public static final String NODE_PLACEMARKS
Node type

See Also:
Constant Field Values

NODE_SHAPES

public static final String NODE_SHAPES
Node type

See Also:
Constant Field Values
Constructor Detail

KmlId

public KmlId()
ctor


KmlId

public KmlId(String type,
             String name,
             String displayCategories,
             String docUrl)
ctor

Parameters:
type - type
name - name
displayCategories - displayCategories
docUrl - kml url

KmlId

public KmlId(String type,
             String name,
             String displayCategories,
             String docUrl,
             Object extra)
ctor

Parameters:
type - type
name - name
displayCategories - displayCategories
docUrl - kml url
extra - extra stuff
Method Detail

isPlacemarks

public boolean isPlacemarks()
Am I a placemark list

Returns:
is placemarks

isGroundOverlay

public boolean isGroundOverlay()
Am I a ground overlay

Returns:
is ground overlay

isShapes

public boolean isShapes()
Am I a shape collection

Returns:
is a shape collection

hashCode

public int hashCode()
hash code

Overrides:
hashCode in class Object
Returns:
hash code

toString

public String toString()
to string

Overrides:
toString in class Object
Returns:
to string

equals

public boolean equals(Object obj)
equals

Overrides:
equals in class Object
Parameters:
obj - object
Returns:
is equals

setType

public void setType(String value)
Set the Type property.

Parameters:
value - The new value for Type

getType

public String getType()
Get the Type property.

Returns:
The Type

setName

public void setName(String value)
Set the Name property.

Parameters:
value - The new value for Name

getName

public String getName()
Get the Name property.

Returns:
The Name

setDisplayCategories

public void setDisplayCategories(String value)
Set the DisplayCategories property.

Parameters:
value - The new value for DisplayCategories

getDisplayCategories

public String getDisplayCategories()
Get the DisplayCategories property.

Returns:
The DisplayCategories

setDocUrl

public void setDocUrl(String value)
Set the DocUrl property.

Parameters:
value - The new value for DocUrl

getDocUrl

public String getDocUrl()
Get the DocUrl property.

Returns:
The DocUrl

setExtra

public void setExtra(Object value)
Set the Extra property.

Parameters:
value - The new value for Extra

getExtra

public Object getExtra()
Get the Extra property.

Returns:
The Extra