com.metsci.glimpse.charts.vector.parser.objects
Class DNCObject
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DNCObject
public DNCObject(DNCFeatureCode dncFeatureCode)
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.