org.deegree.tools.binding
Class FeatureClass
java.lang.Object
org.deegree.tools.binding.ModelClass
org.deegree.tools.binding.FeatureClass
- Direct Known Subclasses:
- RootFeature
public class FeatureClass
- extends ModelClass
TODO add class documentation here
- Version:
- $Revision: 31572 $, $Date: 2011-08-18 11:11:21 +0200 (Thu, 18 Aug 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: mschneider $
Methods inherited from class org.deegree.tools.binding.ModelClass |
addField, arlist, arlist, closeMethod, createBetterClassName, createBetterMethodName, createFieldName, generateGetter, generateGettersSetters, generateMethodDoc, generateSetter, getClassLocation, getClassName, getClassQName, getPackageDir, getPackageName, hasField, hashMap, hashSet, isAbstract, isInterface, linkedHashMap, list, map, newList, newMap, newSet, oif, openMethod, openPublic, set, writeField, writeHeader, writeImports, writePackage |
FIELD_NS
protected static final String FIELD_NS
- See Also:
- Constant Field Values
QNAME
protected static final String QNAME
FeatureClass
public FeatureClass(FeatureType ft,
FeatureClass parent)
getFeatureType
public final FeatureType getFeatureType()
- Returns:
- the ft
getBaseType
public final FeatureClass getBaseType()
- Returns:
- the baseType
findCommonBaseType
public FeatureClass findCommonBaseType(FeatureClass other)
- Find the common base type of this geometry type and another geometry type
- Parameters:
other
- to get the base type for.
- Returns:
- the common base
equals
public boolean equals(Object other)
- Overrides:
equals
in class ModelClass
hashCode
public int hashCode()
- Overrides:
hashCode
in class ModelClass
toString
public String toString()
- Overrides:
toString
in class ModelClass
getImports
public List<String> getImports(Map<QName,FeatureClass> featClasses)
- Specified by:
getImports
in class ModelClass
- Parameters:
featClasses
-
- Returns:
- a list of imports needed for this feature class.
writeClassDoc
public void writeClassDoc(Writer out)
throws IOException
- Overrides:
writeClassDoc
in class ModelClass
- Parameters:
out
-
- Throws:
IOException
writeClassStart
public void writeClassStart(Writer out)
throws IOException
- Overrides:
writeClassStart
in class ModelClass
- Throws:
IOException
writeFields
public void writeFields(Writer out)
throws IOException
- Overrides:
writeFields
in class ModelClass
- Parameters:
out
-
- Throws:
IOException
writeMethods
public void writeMethods(Writer out,
HashMap<QName,FeatureClass> featClasses)
throws IOException
- Overrides:
writeMethods
in class ModelClass
- Parameters:
out
-
- Throws:
IOException
Copyright © 2011. All Rights Reserved.