Class GeodatabaseFeatureTable

  • All Implemented Interfaces:
    Loadable, PopupSource

    public final class GeodatabaseFeatureTable
    extends ArcGISFeatureTable
    Represents a feature table from a mobile geodatabase, this includes non-spatial tables where FeatureTable.hasGeometry() is false.

    A FeatureLayer can be constructed using a GeodatabaseFeatureTable and added to a map and mapview for viewing. Features from the feature table will be re-projected on the fly if they are not in the same spatial reference as the map.

    Get a list of GeodatabaseFeatureTables from a Geodatabase by using Geodatabase.getGeodatabaseFeatureTables() or use one of the helper methods for getting a specific GeodatabaseFeatureTable by table name or by feature service layer ID.
    If the Geodatabase was created from the result of a GeodatabaseSyncTask, GeodatabaseFeatureTables may be editable and syncable with the associated feature service, this can be determined by checking FeatureTable.isEditable() and Geodatabase.isSyncEnabled() respectively.

    The parent class definition allows GeodatabaseFeatureTable to also have FeatureTemplates, FeatureTypes and support editing capabilities defined in ArcGISFeatureLayerInfo.getCapabilities().

    Since:
    100.0.0
    • Constructor Detail

      • GeodatabaseFeatureTable

        public GeodatabaseFeatureTable​(GeodatabaseFeatureTable table,
                                       RelationshipInfo relationshipInfo)
        Creates a GeodatabaseFeatureTable instance that relates to the given table based on the given relationship info.
        Parameters:
        table - the related table
        relationshipInfo - the relationship info defining the relationship between this new table and the given table
        Throws:
        IllegalArgumentException - if table or relationshipInfo are null
        Since:
        100.1.0
    • Method Detail

      • getGeodatabase

        public Geodatabase getGeodatabase()
        Gets the geodatabase that this table belongs to.
        Returns:
        the geodatabase that this table belongs to
        Since:
        100.0.0
      • hasLocalEditsSince

        public boolean hasLocalEditsSince​(Calendar calendar)
        Indicates if the geodatabase feature table has local edits since a specific date.
        Parameters:
        calendar - check will be made from this date
        Returns:
        true if there were local edits since the given date, false otherwise
        Throws:
        IllegalArgumentException - if calendar is null
        Since:
        100.0.0