public class NonFeatureTypeProxy extends ComplexTypeProxy implements FeatureType
| Constructor and Description |
|---|
NonFeatureTypeProxy(AttributeType type,
FeatureTypeMapping mapping)
Sole constructor
|
NonFeatureTypeProxy(AttributeType type,
FeatureTypeMapping mapping,
Collection<PropertyDescriptor> schema) |
| Modifier and Type | Method and Description |
|---|---|
CoordinateReferenceSystem |
getCoordinateReferenceSystem()
The coordinate reference system of the feature.
|
PropertyDescriptor |
getDescriptor(Name name)
Describe a single property by name.
|
Collection<PropertyDescriptor> |
getDescriptors()
The property descriptor which compose the complex type.
|
GeometryDescriptor |
getGeometryDescriptor()
Describe the default geometric attribute for this feature.
|
AttributeType |
getSubject() |
Collection<PropertyDescriptor> |
getTypeDescriptors()
Return only the schema descriptors
|
getBinding, getDescriptor, isInlineequals, getDescription, getName, getOperations, getRestrictions, getSuper, getUserData, hashCode, isAbstract, isIdentifiedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisIdentifiedgetBinding, getDescriptor, isInlinegetSuperequals, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstractpublic NonFeatureTypeProxy(AttributeType type, FeatureTypeMapping mapping)
type - The underlying non feature typepublic NonFeatureTypeProxy(AttributeType type, FeatureTypeMapping mapping, Collection<PropertyDescriptor> schema)
public AttributeType getSubject()
getSubject in class AttributeTypeProxyAttributeTypeProxy.getSubject()public PropertyDescriptor getDescriptor(Name name)
ComplexTypeThis method returns null if no such property is found.
getDescriptor in interface ComplexTypegetDescriptor in class ComplexTypeProxyname - The name of the property to get.null.public Collection<PropertyDescriptor> getDescriptors()
ComplexTypeA complex type can be composed of attributes and associations which means this collection
returns instances of AttributeDescriptor and AssociationDescriptor.
getDescriptors in interface ComplexTypegetDescriptors in class ComplexTypeProxypublic Collection<PropertyDescriptor> getTypeDescriptors()
public CoordinateReferenceSystem getCoordinateReferenceSystem()
FeatureTypeThis value is derived from the default geometry attribute:
((GeometryType)getDefaultGeometry().getType()).getCRS();
This method will return null in the case where no default geometric attribute
is defined.
getCoordinateReferenceSystem in interface FeatureTypenull.public GeometryDescriptor getGeometryDescriptor()
FeatureTypeThis method returns null in the case where no such attribute exists.
getGeometryDescriptor in interface FeatureTypenull.Copyright © 1996–2021 Geotools. All rights reserved.