Uses of Class
org.apache.sis.feature.AbstractIdentifiedType
Packages that use AbstractIdentifiedType
Package
Description
Defines the structure and content of views of real-world phenomenon.
Helper classes for creating
FeatureType
instances.A set of helper classes for the SIS implementation.
DataStore
implementation for Coma Separated Values (CSV) files.Reads and writes data in GPS Exchange Format (GPX).
-
Uses of AbstractIdentifiedType in org.apache.sis.feature
Subclasses of AbstractIdentifiedType in org.apache.sis.featureModifier and TypeClassDescriptionclass
Describes the behaviour of a feature type as a function or a method.class
Indicates the role played by the association between two features.class
Definition of an attribute in a feature type.class
Abstraction of a real-world phenomena.(package private) final class
An operation computing the envelope that encompass all geometries found in a list of attributes.(package private) class
Base class of property types having a value and a multiplicity.(package private) final class
A link operation, which is like a redirection or an alias.(package private) final class
An operation concatenating the string representations of the values of multiple properties.Fields in org.apache.sis.feature declared as AbstractIdentifiedTypeModifier and TypeFieldDescriptionprivate final AbstractIdentifiedType
LinkOperation.result
The type of the result.Fields in org.apache.sis.feature with type parameters of type AbstractIdentifiedTypeModifier and TypeFieldDescriptionprivate Collection
<AbstractIdentifiedType> DefaultFeatureType.allProperties
All properties, including the ones declared in the super-types.private Map
<String, AbstractIdentifiedType> DefaultFeatureType.byName
A lookup table for fetching properties by name, including the properties from super-types.(package private) static final WeakHashSet
<AbstractIdentifiedType> FeatureOperations.POOL
The pool of operations or operation dependencies created so far, for sharing exiting instances.private final List
<AbstractIdentifiedType> DefaultFeatureType.properties
Any feature operation, any feature attribute type and any feature association role that carries characteristics of a feature type.Methods in org.apache.sis.feature that return AbstractIdentifiedTypeModifier and TypeMethodDescriptionDefaultFeatureType.getProperty
(String name) Returns the attribute, operation or association role for the given name.abstract AbstractIdentifiedType
AbstractOperation.getResult()
Returns the expected result type, ornull
if none.EnvelopeOperation.getResult()
Returns the type of results computed by this operation, which isAttributeType<Envelope>
.LinkOperation.getResult()
Returns the expected result type.StringJoinOperation.getResult()
Returns the type of results computed by this operation, which isAttributeType<String>
.Methods in org.apache.sis.feature that return types with arguments of type AbstractIdentifiedTypeModifier and TypeMethodDescriptionDefaultFeatureType.getProperties
(boolean includeSuperTypes) Returns any feature operation, any feature attribute type and any feature association role that carries characteristics of a feature type.FeatureType.getProperties
(boolean includeSuperTypes) NamedFeatureType.getProperties
(boolean includeSuperTypes) Returns an empty set since this feature has no declared property yet.Methods in org.apache.sis.feature with parameters of type AbstractIdentifiedTypeModifier and TypeMethodDescriptionprivate AbstractElement
Validator.addViolationReport
(AbstractElement report, AbstractIdentifiedType type, org.opengis.util.InternationalString explanation) Adds a report for a constraint violation.static AbstractOperation
FeatureOperations.compound
(Map<String, ?> identification, String delimiter, String prefix, String suffix, AbstractIdentifiedType... singleAttributes) Creates an operation concatenating the string representations of the values of multiple properties.(package private) static Property
PropertyView.create
(AbstractFeature feature, AbstractIdentifiedType type) Creates a new property which will delegate its work to the given feature.static AbstractOperation
FeatureOperations.envelope
(Map<String, ?> identification, org.opengis.referencing.crs.CoordinateReferenceSystem crs, AbstractIdentifiedType... geometryAttributes) Creates an operation computing the envelope that encompass all geometries found in the given attributes.Features.getLinkTarget
(AbstractIdentifiedType property) If the given property is a link, returns the name of the referenced property.static org.opengis.util.GenericName
Features.getValueTypeName
(AbstractIdentifiedType property) Returns the name of the type of values that the given property can take.private static String
AbstractFeature.illegalValueClass
(AbstractIdentifiedType property, Class<?> expected, Object value) Returns the exception message for a property value of wrong Java class.private static boolean
DefaultFeatureType.isAssignableIgnoreName
(AbstractIdentifiedType base, AbstractIdentifiedType other) Returnstrue
if instances of theother
type are assignable to the givenbase
type.(package private) static boolean
Field.isDeprecated
(AbstractIdentifiedType type) Returns whether the given property is deprecated.(package private) static boolean
DefaultFeatureType.isParameterlessOperation
(AbstractIdentifiedType type) Returnstrue
if the given property type stands for a parameterless operation which return a result.static AbstractOperation
FeatureOperations.link
(Map<String, ?> identification, AbstractIdentifiedType referent) Creates an operation which is only an alias for another property.private static org.opengis.util.GenericName
DefaultFeatureType.ownerOf
(DefaultFeatureType type, Collection<? extends AbstractIdentifiedType> properties, AbstractIdentifiedType toSearch) Returns the name of the feature which defines the given property, ornull
if not found.static Optional
<DefaultAttributeType<?>> Features.toAttribute
(AbstractIdentifiedType type) Returns the given type as anAttributeType
by casting if possible, or by getting the result type of an operation.(package private) static String
AbstractIdentifiedType.toString
(org.opengis.util.GenericName name, AbstractIdentifiedType container, String argument, int index) Returns the string representation of the given name, making sure that the name is non-null and the string non-empty.(package private) void
Validator.validateAny
(AbstractIdentifiedType type, Object value) Verifies if the given value is valid for the given attribute type.private void
Validator.verifyCardinality
(AbstractElement report, AbstractIdentifiedType type, int minimumOccurs, int maximumOccurs, int count) Verifies if the given value is compliant with the cardinality constraint.Method parameters in org.apache.sis.feature with type arguments of type AbstractIdentifiedTypeModifier and TypeMethodDescriptionprivate void
DefaultFeatureType.computeTransientFields
(List<AbstractIdentifiedType> properties) Computes transient fields (DefaultFeatureType.assignableTo
,DefaultFeatureType.byName
,DefaultFeatureType.indices
,DefaultFeatureType.isSimple
).private static org.opengis.util.GenericName
DefaultFeatureType.ownerOf
(DefaultFeatureType type, Collection<? extends AbstractIdentifiedType> properties, AbstractIdentifiedType toSearch) Returns the name of the feature which defines the given property, ornull
if not found.(package private) final boolean
DefaultAssociationRole.resolve
(DefaultFeatureType creating, Collection<AbstractIdentifiedType> properties) If the associated feature type is a placeholder for aFeatureType
to be defined later, replaces the placeholder by the actual instance if available.private boolean
DefaultFeatureType.resolve
(DefaultFeatureType feature, Collection<? extends AbstractIdentifiedType> toUpdate, Map<FeatureType, Boolean> previous, boolean resolved) Implementation ofresolve(FeatureType, Map)
, also to be invoked from the constructor.private void
DefaultFeatureType.scanPropertiesFrom
(DefaultFeatureType source, Collection<? extends AbstractIdentifiedType> sourceProperties) Fills theDefaultFeatureType.byName
map using the non-transient information in the givensource
.private static DefaultFeatureType
DefaultAssociationRole.search
(DefaultFeatureType feature, Collection<? extends AbstractIdentifiedType> properties, org.opengis.util.GenericName name, List<DefaultFeatureType> deferred) Searches in the givenfeature
for an associated feature type of the given name.Constructors in org.apache.sis.feature with parameters of type AbstractIdentifiedTypeModifierConstructorDescriptionDefaultFeatureType
(Map<String, ?> identification, boolean isAbstract, DefaultFeatureType[] superTypes, AbstractIdentifiedType... properties) Constructs a feature type from the given properties.(package private)
EnvelopeOperation
(Map<String, ?> identification, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS, AbstractIdentifiedType[] geometryAttributes) Creates a new operation computing the envelope of features of the given type.(package private)
LinkOperation
(Map<String, ?> identification, AbstractIdentifiedType referent) Creates a new link to the given attribute or association.(package private)
StringJoinOperation
(Map<String, ?> identification, String delimiter, String prefix, String suffix, AbstractIdentifiedType[] singleAttributes) Creates a new operation for string concatenations using the given prefix, suffix and delimeter. -
Uses of AbstractIdentifiedType in org.apache.sis.feature.builder
Fields in org.apache.sis.feature.builder declared as AbstractIdentifiedTypeModifier and TypeFieldDescriptionprivate final AbstractIdentifiedType
OperationWrapper.operation
The wrapped operation.Methods in org.apache.sis.feature.builder that return AbstractIdentifiedTypeModifier and TypeMethodDescriptionOperationWrapper.build()
Returns the wrapped operation.abstract AbstractIdentifiedType
PropertyTypeBuilder.build()
Builds the property type from the information specified to this builder.abstract AbstractIdentifiedType
TypeBuilder.build()
Builds the feature or property type from the information specified to this builder.Methods in org.apache.sis.feature.builder with parameters of type AbstractIdentifiedTypeModifier and TypeMethodDescriptionFeatureTypeBuilder.addProperty
(AbstractIdentifiedType template) Adds the given property in the feature type properties.(package private) final void
TypeBuilder.initialize
(AbstractIdentifiedType template) Initializes this builder to the value of the given type.Constructors in org.apache.sis.feature.builder with parameters of type AbstractIdentifiedTypeModifierConstructorDescription(package private)
OperationWrapper
(FeatureTypeBuilder owner, AbstractIdentifiedType operation) Creates a new wrapper for the given operation. -
Uses of AbstractIdentifiedType in org.apache.sis.internal.feature
Methods in org.apache.sis.internal.feature with parameters of type AbstractIdentifiedTypeModifier and TypeMethodDescriptionstatic boolean
AttributeConvention.characterizedByCRS
(AbstractIdentifiedType type) Returns whether the given operation or attribute type is characterized by a coordinate reference system.static boolean
AttributeConvention.characterizedByMaximalLength
(AbstractIdentifiedType type) Returns whether the given operation or attribute type is characterized by a maximal length.private static Object
AttributeConvention.getCharacteristic
(DefaultFeatureType feature, AbstractIdentifiedType property, String characteristic) Fetches from the given property the default value of the characteristic of the given name.static org.opengis.referencing.crs.CoordinateReferenceSystem
AttributeConvention.getCRSCharacteristic
(DefaultFeatureType feature, AbstractIdentifiedType attribute) Returns the Coordinate Reference Systems characteristic for the given property type, ornull
if none.static Integer
AttributeConvention.getMaximalLengthCharacteristic
(DefaultFeatureType feature, AbstractIdentifiedType attribute) Returns the maximal length characteristic for the given property type, ornull
if none.private static boolean
AttributeConvention.hasCharacteristic
(AbstractIdentifiedType type, String name, Class<?> valueClass) Returnstrue
if the given operation or attribute type has a characteristic of the given name, and the values of that characteristic are assignable to the givenvalueClass
.static boolean
AttributeConvention.isGeometryAttribute
(AbstractIdentifiedType type) Returnstrue
if the given type is anAttributeType
or anOperation
computing an attribute, and the attribute value is one of the geometry types recognized by SIS.Method parameters in org.apache.sis.internal.feature with type arguments of type AbstractIdentifiedTypeModifier and TypeMethodDescriptionstatic String[]
FeatureUtilities.getNames
(Collection<? extends AbstractIdentifiedType> properties) Gets the name of all given properties. -
Uses of AbstractIdentifiedType in org.apache.sis.internal.storage.csv
Methods in org.apache.sis.internal.storage.csv that return AbstractIdentifiedTypeModifier and TypeMethodDescriptionprivate static AbstractIdentifiedType
Store.createProperty
(String name, Class<?> type, int minOccurrence, int maxOccurrence, DefaultAttributeType<?>[] characteristics) Creates a property type for the given name and type. -
Uses of AbstractIdentifiedType in org.apache.sis.internal.storage.gpx
Subclasses of AbstractIdentifiedType in org.apache.sis.internal.storage.gpxModifier and TypeClassDescription(package private) final class
Creates a single (Multi)Polyline
instance from a sequence of points or polylines stored in another property.