com.metsci.glimpse.charts.vector.parser.objects
Class DNCObject

java.lang.Object
  extended by com.metsci.glimpse.charts.vector.parser.objects.DNCObject
All Implemented Interfaces:
GeoObject

public class DNCObject
extends java.lang.Object
implements GeoObject

Stores all information for a particular DNC feature.

Author:
Cunningham

Constructor Summary
DNCObject(DNCFeatureCode dncFeatureCode)
           
 
Method Summary
 void addAttribute(DNCAbstractAttribute attrib)
           
 void addShape(DNCShape shape)
           
 DNCAbstractAttribute getAbstractAttribute(DNCAttributeType type)
           
 DNCFeatureCode getFeatureCode()
           
 GeoShape getFirstGeoShape()
           
 DNCFloatAttribute getFloatAttribute(DNCAttributeType type)
           
 DNCFreeAttribute getFreeAttribute(DNCAttributeType type)
           
 GeoAttribute getGeoAttribute(GeoAttributeType attributeType)
           
 GeoFeatureType getGeoFeatureType()
           
 GeoIntAttribute getGeoIntAttribute(GeoAttributeType type)
           
 java.util.Collection<? extends GeoShape> getGeoShapes()
           
 DNCIntAttribute getIntAttribute(DNCAttributeType type)
           
 java.util.List<DNCShape> getShapeList()
           
static DNCObject read(java.io.DataInput fin)
           
 java.lang.String toString()
           
 void write(java.io.DataOutputStream fout)
           
static void write(java.io.DataOutputStream fout, DNCObject obj)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DNCObject

public DNCObject(DNCFeatureCode dncFeatureCode)
Method Detail

getFeatureCode

public DNCFeatureCode getFeatureCode()

getGeoFeatureType

public GeoFeatureType getGeoFeatureType()
Specified by:
getGeoFeatureType in interface GeoObject

getGeoAttribute

public GeoAttribute getGeoAttribute(GeoAttributeType attributeType)
Specified by:
getGeoAttribute in interface GeoObject

getGeoIntAttribute

public GeoIntAttribute getGeoIntAttribute(GeoAttributeType type)
Specified by:
getGeoIntAttribute in interface GeoObject

getIntAttribute

public DNCIntAttribute getIntAttribute(DNCAttributeType type)

getFloatAttribute

public DNCFloatAttribute getFloatAttribute(DNCAttributeType type)

getFreeAttribute

public DNCFreeAttribute getFreeAttribute(DNCAttributeType type)

getAbstractAttribute

public DNCAbstractAttribute getAbstractAttribute(DNCAttributeType type)

addAttribute

public void addAttribute(DNCAbstractAttribute attrib)

addShape

public void addShape(DNCShape shape)

getShapeList

public java.util.List<DNCShape> getShapeList()

getGeoShapes

public java.util.Collection<? extends GeoShape> getGeoShapes()
Specified by:
getGeoShapes in interface GeoObject

getFirstGeoShape

public GeoShape getFirstGeoShape()
Specified by:
getFirstGeoShape in interface GeoObject

write

public static void write(java.io.DataOutputStream fout,
                         DNCObject obj)
                  throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.io.DataOutputStream fout)
           throws java.io.IOException
Throws:
java.io.IOException

read

public static DNCObject read(java.io.DataInput fin)
                      throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 Metron, Inc.. All Rights Reserved.