org.geotools.data.complex.config
Class NonFeatureTypeProxy

java.lang.Object
  extended by org.geotools.data.complex.config.NonFeatureTypeProxy
All Implemented Interfaces:
org.opengis.feature.type.AttributeType, org.opengis.feature.type.ComplexType, org.opengis.feature.type.FeatureType, org.opengis.feature.type.PropertyType

public class NonFeatureTypeProxy
extends java.lang.Object
implements org.opengis.feature.type.FeatureType

This class represents the fake feature type needed for feature chaining for properties that are not features. When a non feature is mapped separately in app schema data access, it is regarded as a feature since it would have a feature source.

Author:
Rini Angreani, Curtin University of Technology

Constructor Summary
NonFeatureTypeProxy(org.opengis.feature.type.ComplexType type, FeatureTypeMapping mapping)
          Sole constructor
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Class getBinding()
           
 org.opengis.referencing.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()
           
 org.opengis.util.InternationalString getDescription()
           
 org.opengis.feature.type.PropertyDescriptor getDescriptor(org.opengis.feature.type.Name name)
           
 org.opengis.feature.type.PropertyDescriptor getDescriptor(java.lang.String name)
           
 java.util.Collection<org.opengis.feature.type.PropertyDescriptor> getDescriptors()
           
 org.opengis.feature.type.GeometryDescriptor getGeometryDescriptor()
           
 org.opengis.feature.type.Name getName()
           
 java.util.Collection getOperations()
           
 java.util.List<org.opengis.filter.Filter> getRestrictions()
           
 org.opengis.feature.type.AttributeType getSubject()
           
 org.opengis.feature.type.AttributeType getSuper()
           
 java.util.Collection<org.opengis.feature.type.PropertyDescriptor> getTypeDescriptors()
          Return only the schema descriptors
 java.util.Map<java.lang.Object,java.lang.Object> getUserData()
           
 int hashCode()
           
 boolean isAbstract()
           
 boolean isIdentified()
           
 boolean isInline()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opengis.feature.type.FeatureType
isIdentified
 
Methods inherited from interface org.opengis.feature.type.ComplexType
getBinding, getDescriptor, isInline
 
Methods inherited from interface org.opengis.feature.type.AttributeType
getSuper
 
Methods inherited from interface org.opengis.feature.type.PropertyType
equals, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract
 

Constructor Detail

NonFeatureTypeProxy

public NonFeatureTypeProxy(org.opengis.feature.type.ComplexType type,
                           FeatureTypeMapping mapping)
Sole constructor

Parameters:
type - The underlying non feature type
Method Detail

getSubject

public org.opengis.feature.type.AttributeType getSubject()
See Also:
AttributeTypeProxy.getSubject()

getDescriptor

public org.opengis.feature.type.PropertyDescriptor getDescriptor(org.opengis.feature.type.Name name)
Specified by:
getDescriptor in interface org.opengis.feature.type.ComplexType

getDescriptors

public java.util.Collection<org.opengis.feature.type.PropertyDescriptor> getDescriptors()
Specified by:
getDescriptors in interface org.opengis.feature.type.ComplexType

getTypeDescriptors

public java.util.Collection<org.opengis.feature.type.PropertyDescriptor> getTypeDescriptors()
Return only the schema descriptors

Returns:

getCoordinateReferenceSystem

public org.opengis.referencing.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()
Specified by:
getCoordinateReferenceSystem in interface org.opengis.feature.type.FeatureType

getGeometryDescriptor

public org.opengis.feature.type.GeometryDescriptor getGeometryDescriptor()
Specified by:
getGeometryDescriptor in interface org.opengis.feature.type.FeatureType

getDescriptor

public org.opengis.feature.type.PropertyDescriptor getDescriptor(java.lang.String name)
Specified by:
getDescriptor in interface org.opengis.feature.type.ComplexType

isInline

public boolean isInline()
Specified by:
isInline in interface org.opengis.feature.type.ComplexType

getBinding

public java.lang.Class getBinding()
Specified by:
getBinding in interface org.opengis.feature.type.PropertyType

getOperations

public java.util.Collection getOperations()

getRestrictions

public java.util.List<org.opengis.filter.Filter> getRestrictions()
Specified by:
getRestrictions in interface org.opengis.feature.type.PropertyType

getSuper

public org.opengis.feature.type.AttributeType getSuper()
Specified by:
getSuper in interface org.opengis.feature.type.AttributeType
Specified by:
getSuper in interface org.opengis.feature.type.PropertyType

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface org.opengis.feature.type.PropertyType

isIdentified

public boolean isIdentified()
Specified by:
isIdentified in interface org.opengis.feature.type.AttributeType

getDescription

public org.opengis.util.InternationalString getDescription()
Specified by:
getDescription in interface org.opengis.feature.type.PropertyType

getName

public org.opengis.feature.type.Name getName()
Specified by:
getName in interface org.opengis.feature.type.PropertyType

getUserData

public java.util.Map<java.lang.Object,java.lang.Object> getUserData()
Specified by:
getUserData in interface org.opengis.feature.type.PropertyType

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface org.opengis.feature.type.PropertyType
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface org.opengis.feature.type.PropertyType
Overrides:
hashCode in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.