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

java.lang.Object
  extended by 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

Constructor Summary
ENCObject()
           
 
Method Summary
 void addAttribute(ENCAbstractAttribute attrib)
           
 void addShape(ENCShape shape)
           
 ENCAbstractAttribute getAbstractAttribute(ENCAttributeType type)
           
 ENCCodedAttribute getCodedAttribute(ENCAttributeType type)
           
 ENCEnumAttribute getEnumAttribute(ENCAttributeType type)
           
 GeoShape getFirstGeoShape()
           
 ENCFloatAttribute getFloatAttribute(ENCAttributeType type)
           
 ENCFreeAttribute getFreeAttribute(ENCAttributeType type)
           
 GeoAttribute getGeoAttribute(GeoAttributeType type)
           
 GeoFeatureType getGeoFeatureType()
           
 GeoIntAttribute getGeoIntAttribute(GeoAttributeType type)
           
 java.util.Collection<? extends GeoShape> getGeoShapes()
           
 ENCIntAttribute getIntAttribute(ENCAttributeType type)
           
 ENCListAttribute getListAttribute(ENCAttributeType type)
           
 ENCObjectType getObjectType()
           
 int getRcid()
           
 int getRcnm()
           
 java.util.List<ENCShape> getShapeList()
           
static void main(java.lang.String[] args)
           
static ENCObject read(java.io.DataInput fin)
           
 void setObjectType(ENCObjectType type)
           
 void setRcid(int rcid)
           
 void setRcnm(int rcnm)
           
 java.lang.String toString()
           
static void write(java.io.DataOutputStream fout, ENCObject obj)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ENCObject

public ENCObject()
Method Detail

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.