Class GatewayConnection

java.lang.Object
org.openremote.model.gateway.GatewayConnection

@Entity public class GatewayConnection extends Object
  • Field Details

    • localRealm

      protected String localRealm
    • host

      @NotNull(message="{GatewayConnection.host.NotNull}") @Size(min=1, max=255, message="{GatewayConnection.host.Size}") protected @NotNull(message="{GatewayConnection.host.NotNull}") @Size(min=1,max=255,message="{GatewayConnection.host.Size}") String host
    • port

      @Min(value=1L, message="{GatewayConnection.port.Range}") @Max(value=65536L, message="{GatewayConnection.port.Range}") protected @Min(value=1L,message="{GatewayConnection.port.Range}") @Max(value=65536L,message="{GatewayConnection.port.Range}") Integer port
    • realm

      protected String realm
    • clientId

      @NotNull(message="{GatewayConnection.clientId.NotNull}") @Size(min=1, max=255, message="{GatewayConnection.clientId.Size}") protected @NotNull(message="{GatewayConnection.clientId.NotNull}") @Size(min=1,max=255,message="{GatewayConnection.clientId.Size}") String clientId
    • clientSecret

      @NotNull(message="{GatewayConnection.clientSecret.NotNull}") @Size(min=36, max=36, message="{GatewayConnection.clientSecret.Size}") protected @NotNull(message="{GatewayConnection.clientSecret.NotNull}") @Size(min=36,max=36,message="{GatewayConnection.clientSecret.Size}") String clientSecret
    • secured

      protected Boolean secured
    • disabled

      protected boolean disabled
    • attributeFilters

      protected List<GatewayAttributeFilter> attributeFilters
      Filters are applied in order and the first to match the AttributeEvent will be applied; if a catch all filter is to be used (i.e. == null) it should be last in the list.
    • assetSyncRules

      protected Map<String,GatewayAssetSyncRule> assetSyncRules
      A map of GatewayAssetSyncRules where the key should be an Asset type to which the rules should be applied, to apply to all asset types use the * wildcard.
  • Constructor Details

  • Method Details

    • getLocalRealm

      public String getLocalRealm()
    • setLocalRealm

      public void setLocalRealm(String localRealm)
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
    • getPort

      public Integer getPort()
    • setPort

      public void setPort(int port)
    • setPort

      public void setPort(Integer port)
    • getRealm

      public String getRealm()
    • setRealm

      public void setRealm(String realm)
    • getClientId

      public String getClientId()
    • setClientId

      public void setClientId(String clientId)
    • getClientSecret

      public String getClientSecret()
    • setClientSecret

      public void setClientSecret(String clientSecret)
    • isSecured

      public boolean isSecured()
    • setSecured

      public void setSecured(boolean secured)
    • isDisabled

      public boolean isDisabled()
    • setDisabled

      public void setDisabled(boolean disabled)
    • getAttributeFilters

      public List<GatewayAttributeFilter> getAttributeFilters()
    • setAttributeFilters

      public GatewayConnection setAttributeFilters(List<GatewayAttributeFilter> attributeFilters)
    • getAssetSyncRules

      public Map<String,GatewayAssetSyncRule> getAssetSyncRules()
    • setAssetSyncRules

      public GatewayConnection setAssetSyncRules(Map<String,GatewayAssetSyncRule> assetSyncRules)
    • toString

      public String toString()
      Overrides:
      toString in class Object