com.metsci.glimpse.charts.vector.parser.objects
Class ENCObject
java.lang.Object
com.metsci.glimpse.charts.vector.parser.objects.ENCObject
- All Implemented Interfaces:
- GeoObject
public class ENCObject
- extends java.lang.Object
- implements GeoObject
Stores all information for a particular ENC feature.
- Author:
- Cunningham, Boquet
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ENCObject
public ENCObject()
getGeoFeatureType
public GeoFeatureType getGeoFeatureType()
- Specified by:
getGeoFeatureType
in interface GeoObject
getObjectType
public ENCObjectType getObjectType()
setObjectType
public void setObjectType(ENCObjectType type)
getRcid
public int getRcid()
setRcid
public void setRcid(int rcid)
getRcnm
public int getRcnm()
setRcnm
public void setRcnm(int rcnm)
getGeoAttribute
public GeoAttribute getGeoAttribute(GeoAttributeType type)
- Specified by:
getGeoAttribute
in interface GeoObject
getGeoIntAttribute
public GeoIntAttribute getGeoIntAttribute(GeoAttributeType type)
- Specified by:
getGeoIntAttribute
in interface GeoObject
getEnumAttribute
public ENCEnumAttribute getEnumAttribute(ENCAttributeType type)
getIntAttribute
public ENCIntAttribute getIntAttribute(ENCAttributeType type)
getFloatAttribute
public ENCFloatAttribute getFloatAttribute(ENCAttributeType type)
getListAttribute
public ENCListAttribute getListAttribute(ENCAttributeType type)
getFreeAttribute
public ENCFreeAttribute getFreeAttribute(ENCAttributeType type)
getCodedAttribute
public ENCCodedAttribute getCodedAttribute(ENCAttributeType type)
getAbstractAttribute
public ENCAbstractAttribute getAbstractAttribute(ENCAttributeType type)
addAttribute
public void addAttribute(ENCAbstractAttribute attrib)
addShape
public void addShape(ENCShape shape)
getShapeList
public java.util.List<ENCShape> 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,
ENCObject obj)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static ENCObject read(java.io.DataInput fin)
throws java.io.IOException
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2012 Metron, Inc.. All Rights Reserved.