Class ConnectorPersistRemote.PushData

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing interface:
    ConnectorPersistRemote

    public static class ConnectorPersistRemote.PushData
    extends Data
    Data object for push service. This is a wrapper for the Data class, extending it with the following attributes:
    • command
    • instance
    • model
    It also provides some useful methods for converting PushData from or into other data types.
    Since:
    4.0.5
    See Also:
    Serialized Form
    • Constructor Detail

      • PushData

        public PushData()
    • Method Detail

      • getInstance

        public java.lang.String getInstance()
        Name of the connector instance (data target) as configured in the publishing server repository.
        Some connectors support the notion of a "default instance". In this cases instance field may be equal to null or empty string.
        Returns:
        connector instance
      • getModel

        public java.lang.String getModel()
        Identifier of entity model that the current data are related to.
        This value is used when inferring or updating an entity model from the data.
        Returns:
        model identifier
      • setCommand

        public void setCommand​(ConnectorPersistRemote.PushCommand command)
        PushCommand describes what action should be taken, when processing this object.
        Parameters:
        command -
      • setInstance

        public void setInstance​(java.lang.String instance)
        Name of the connector instance (data target) as configured in the publishing server repository.
        Some connectors support the notion of a "default instance". In this cases instance field may be equal to null or empty string.
        Parameters:
        instance -
      • setModel

        public void setModel​(java.lang.String model)
        Identifier of entity model that the current data are related to.
        This value is used when inferring or updating an entity model from the data.
        Parameters:
        model -
      • getEntityItems

        public java.util.List<EntityItem> getEntityItems()
        Get the entity items as a list.
        Returns:
        List of EntityItem. Never null.