Class SyncLayerOption

    • Constructor Detail

      • SyncLayerOption

        public SyncLayerOption()
        Constructs a SyncLayerOption with default settings.
        Since:
        100.0.0
      • SyncLayerOption

        public SyncLayerOption​(long layerId)
        Constructs a SyncLayerOption with a given layer ID.
        Parameters:
        layerId - the ID of the layer this SyncLayerOption relates to
        Since:
        100.0.0
      • SyncLayerOption

        public SyncLayerOption​(long layerId,
                               SyncGeodatabaseParameters.SyncDirection syncDirection)
        Constructs a SyncLayerOption with a given layer ID and synchronization direction.
        Parameters:
        layerId - the ID of the layer this SyncLayerOption relates to
        syncDirection - the synchronization direction for this layer
        Throws:
        java.lang.IllegalArgumentException - if syncDirection is null
        Since:
        100.0.0
    • Method Detail

      • getLayerId

        public long getLayerId()
        Gets the ID of the layer this SyncLayerOption relates to.
        Returns:
        the layer ID, or 0 if none has been set
        Since:
        100.0.0
      • setLayerId

        public void setLayerId​(long layerId)
        Sets the ID of the layer this SyncLayerOption relates to.
        Parameters:
        layerId - the layer ID
        Since:
        100.0.0
      • getSyncDirection

        public SyncGeodatabaseParameters.SyncDirection getSyncDirection()
        Gets the synchronization direction for the layer this SyncLayerOption relates to.
        Returns:
        the synchronization direction
        Since:
        100.0.0