Commits

Anonymous committed bccafc7

change license to EPL

  • Participants
  • Parent commits 721ae20
  • Branches 1.2

Comments (0)

Files changed (362)

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/BrowserEntry.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data;
 
 public class BrowserEntry implements java.io.Serializable
 {
-	private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
+
+    public BrowserEntry ( final String id, final java.util.Set<org.eclipse.scada.ae.data.BrowserType> types, final java.util.Map<String, org.eclipse.scada.core.Variant> attributes )
+    {
+        this.id = id;
+        this.types = types;
+        this.attributes = attributes;
+    }
+
+    private final String id;
+
+    public String getId ()
+    {
+        return this.id;
+    }
+
+    private final java.util.Set<org.eclipse.scada.ae.data.BrowserType> types;
 
-	public BrowserEntry ( final String id, final java.util.Set<org.eclipse.scada.ae.data.BrowserType> types, final java.util.Map<String, org.eclipse.scada.core.Variant> attributes )
-	{
-		this.id = id;
-		this.types = types;
-		this.attributes = attributes;
-	}
+    public java.util.Set<org.eclipse.scada.ae.data.BrowserType> getTypes ()
+    {
+        return this.types;
+    }
 
-	private final String id;
-	
-	public String getId ()
-	{
-		return this.id;
-	}
+    private final java.util.Map<String, org.eclipse.scada.core.Variant> attributes;
 
-	private final java.util.Set<org.eclipse.scada.ae.data.BrowserType> types;
-	
-	public java.util.Set<org.eclipse.scada.ae.data.BrowserType> getTypes ()
-	{
-		return this.types;
-	}
+    public java.util.Map<String, org.eclipse.scada.core.Variant> getAttributes ()
+    {
+        return this.attributes;
+    }
 
-	private final java.util.Map<String, org.eclipse.scada.core.Variant> attributes;
-	
-	public java.util.Map<String, org.eclipse.scada.core.Variant> getAttributes ()
-	{
-		return this.attributes;
-	}
-	
-	@Override
-	public String toString ()
-	{
-		return "[BrowserEntry - " + 
-			"id: " + this.id
-	 + ", " +		"types: " + this.types
-	 + ", " +		"attributes: " + this.attributes
-			+ "]";
-	}
+    @Override
+    public String toString ()
+    {
+        return "[BrowserEntry - " + "id: " + this.id + ", " + "types: " + this.types + ", " + "attributes: " + this.attributes + "]";
+    }
 }

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/BrowserType.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data;
 
 public enum BrowserType
 {
-	MONITORS
-,	EVENTS
+    MONITORS,
+    EVENTS
 }
-

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/EventInformation.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data;
 
 public class EventInformation implements java.io.Serializable
 {
-	private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
+
+    public EventInformation ( final String id, final long sourceTimestamp, final long entryTimestamp, final java.util.Map<String, org.eclipse.scada.core.Variant> attributes )
+    {
+        this.id = id;
+        this.sourceTimestamp = sourceTimestamp;
+        this.entryTimestamp = entryTimestamp;
+        this.attributes = attributes;
+    }
+
+    private final String id;
+
+    public String getId ()
+    {
+        return this.id;
+    }
+
+    private final long sourceTimestamp;
+
+    public long getSourceTimestamp ()
+    {
+        return this.sourceTimestamp;
+    }
 
-	public EventInformation ( final String id, final long sourceTimestamp, final long entryTimestamp, final java.util.Map<String, org.eclipse.scada.core.Variant> attributes )
-	{
-		this.id = id;
-		this.sourceTimestamp = sourceTimestamp;
-		this.entryTimestamp = entryTimestamp;
-		this.attributes = attributes;
-	}
+    private final long entryTimestamp;
 
-	private final String id;
-	
-	public String getId ()
-	{
-		return this.id;
-	}
+    public long getEntryTimestamp ()
+    {
+        return this.entryTimestamp;
+    }
 
-	private final long sourceTimestamp;
-	
-	public long getSourceTimestamp ()
-	{
-		return this.sourceTimestamp;
-	}
+    private final java.util.Map<String, org.eclipse.scada.core.Variant> attributes;
 
-	private final long entryTimestamp;
-	
-	public long getEntryTimestamp ()
-	{
-		return this.entryTimestamp;
-	}
+    public java.util.Map<String, org.eclipse.scada.core.Variant> getAttributes ()
+    {
+        return this.attributes;
+    }
 
-	private final java.util.Map<String, org.eclipse.scada.core.Variant> attributes;
-	
-	public java.util.Map<String, org.eclipse.scada.core.Variant> getAttributes ()
-	{
-		return this.attributes;
-	}
-	
-	@Override
-	public String toString ()
-	{
-		return "[EventInformation - " + 
-			"id: " + this.id
-	 + ", " +		"sourceTimestamp: " + this.sourceTimestamp
-	 + ", " +		"entryTimestamp: " + this.entryTimestamp
-	 + ", " +		"attributes: " + this.attributes
-			+ "]";
-	}
+    @Override
+    public String toString ()
+    {
+        return "[EventInformation - " + "id: " + this.id + ", " + "sourceTimestamp: " + this.sourceTimestamp + ", " + "entryTimestamp: " + this.entryTimestamp + ", " + "attributes: " + this.attributes + "]";
+    }
 }

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/MonitorStatus.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data;
 
 public enum MonitorStatus
 {
-	INACTIVE
-,	OK
-,	NOT_OK
-,	NOT_OK_AKN
-,	NOT_AKN
-,	NOT_OK_NOT_AKN
-,	UNSAFE
-,	INIT
+    INACTIVE,
+    OK,
+    NOT_OK,
+    NOT_OK_AKN,
+    NOT_AKN,
+    NOT_OK_NOT_AKN,
+    UNSAFE,
+    INIT
 }
-

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/MonitorStatusInformation.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data;
 
 public class MonitorStatusInformation implements java.io.Serializable
 {
-	private static final long serialVersionUID = 1L;
-
-	public MonitorStatusInformation ( final String id, final org.eclipse.scada.ae.data.MonitorStatus status, final long statusTimestamp, final org.eclipse.scada.ae.data.Severity severity, final org.eclipse.scada.core.Variant value, final Long lastAknTimestamp, final String lastAknUser, final Long lastFailTimestamp, final org.eclipse.scada.core.Variant lastFailValue, final java.util.Map<String, org.eclipse.scada.core.Variant> attributes )
-	{
-		this.id = id;
-		this.status = status;
-		this.statusTimestamp = statusTimestamp;
-		this.severity = severity;
-		this.value = value;
-		this.lastAknTimestamp = lastAknTimestamp;
-		this.lastAknUser = lastAknUser;
-		this.lastFailTimestamp = lastFailTimestamp;
-		this.lastFailValue = lastFailValue;
-		this.attributes = attributes;
-	}
-
-	private final String id;
-	
-	public String getId ()
-	{
-		return this.id;
-	}
-
-	private final org.eclipse.scada.ae.data.MonitorStatus status;
-	
-	public org.eclipse.scada.ae.data.MonitorStatus getStatus ()
-	{
-		return this.status;
-	}
-
-	private final long statusTimestamp;
-	
-	public long getStatusTimestamp ()
-	{
-		return this.statusTimestamp;
-	}
-
-	private final org.eclipse.scada.ae.data.Severity severity;
-	
-	public org.eclipse.scada.ae.data.Severity getSeverity ()
-	{
-		return this.severity;
-	}
-
-	private final org.eclipse.scada.core.Variant value;
-	
-	public org.eclipse.scada.core.Variant getValue ()
-	{
-		return this.value;
-	}
-
-	private final Long lastAknTimestamp;
-	
-	public Long getLastAknTimestamp ()
-	{
-		return this.lastAknTimestamp;
-	}
-
-	private final String lastAknUser;
-	
-	public String getLastAknUser ()
-	{
-		return this.lastAknUser;
-	}
-
-	private final Long lastFailTimestamp;
-	
-	public Long getLastFailTimestamp ()
-	{
-		return this.lastFailTimestamp;
-	}
-
-	/**
-	 * Hold the value that triggered the last failure
-	 */
-	private final org.eclipse.scada.core.Variant lastFailValue;
-	
-	public org.eclipse.scada.core.Variant getLastFailValue ()
-	{
-		return this.lastFailValue;
-	}
-
-	private final java.util.Map<String, org.eclipse.scada.core.Variant> attributes;
-	
-	public java.util.Map<String, org.eclipse.scada.core.Variant> getAttributes ()
-	{
-		return this.attributes;
-	}
-	
-	@Override
-	public String toString ()
-	{
-		return "[MonitorStatusInformation - " + 
-			"id: " + this.id
-	 + ", " +		"status: " + this.status
-	 + ", " +		"statusTimestamp: " + this.statusTimestamp
-	 + ", " +		"severity: " + this.severity
-	 + ", " +		"value: " + this.value
-	 + ", " +		"lastAknTimestamp: " + this.lastAknTimestamp
-	 + ", " +		"lastAknUser: " + this.lastAknUser
-	 + ", " +		"lastFailTimestamp: " + this.lastFailTimestamp
-	 + ", " +		"lastFailValue: " + this.lastFailValue
-	 + ", " +		"attributes: " + this.attributes
-			+ "]";
-	}
+    private static final long serialVersionUID = 1L;
+
+    public MonitorStatusInformation ( final String id, final org.eclipse.scada.ae.data.MonitorStatus status, final long statusTimestamp, final org.eclipse.scada.ae.data.Severity severity, final org.eclipse.scada.core.Variant value, final Long lastAknTimestamp, final String lastAknUser, final Long lastFailTimestamp, final org.eclipse.scada.core.Variant lastFailValue, final java.util.Map<String, org.eclipse.scada.core.Variant> attributes )
+    {
+        this.id = id;
+        this.status = status;
+        this.statusTimestamp = statusTimestamp;
+        this.severity = severity;
+        this.value = value;
+        this.lastAknTimestamp = lastAknTimestamp;
+        this.lastAknUser = lastAknUser;
+        this.lastFailTimestamp = lastFailTimestamp;
+        this.lastFailValue = lastFailValue;
+        this.attributes = attributes;
+    }
+
+    private final String id;
+
+    public String getId ()
+    {
+        return this.id;
+    }
+
+    private final org.eclipse.scada.ae.data.MonitorStatus status;
+
+    public org.eclipse.scada.ae.data.MonitorStatus getStatus ()
+    {
+        return this.status;
+    }
+
+    private final long statusTimestamp;
+
+    public long getStatusTimestamp ()
+    {
+        return this.statusTimestamp;
+    }
+
+    private final org.eclipse.scada.ae.data.Severity severity;
+
+    public org.eclipse.scada.ae.data.Severity getSeverity ()
+    {
+        return this.severity;
+    }
+
+    private final org.eclipse.scada.core.Variant value;
+
+    public org.eclipse.scada.core.Variant getValue ()
+    {
+        return this.value;
+    }
+
+    private final Long lastAknTimestamp;
+
+    public Long getLastAknTimestamp ()
+    {
+        return this.lastAknTimestamp;
+    }
+
+    private final String lastAknUser;
+
+    public String getLastAknUser ()
+    {
+        return this.lastAknUser;
+    }
+
+    private final Long lastFailTimestamp;
+
+    public Long getLastFailTimestamp ()
+    {
+        return this.lastFailTimestamp;
+    }
+
+    /**
+     * Hold the value that triggered the last failure
+     */
+    private final org.eclipse.scada.core.Variant lastFailValue;
+
+    public org.eclipse.scada.core.Variant getLastFailValue ()
+    {
+        return this.lastFailValue;
+    }
+
+    private final java.util.Map<String, org.eclipse.scada.core.Variant> attributes;
+
+    public java.util.Map<String, org.eclipse.scada.core.Variant> getAttributes ()
+    {
+        return this.attributes;
+    }
+
+    @Override
+    public String toString ()
+    {
+        return "[MonitorStatusInformation - " + "id: " + this.id + ", " + "status: " + this.status + ", " + "statusTimestamp: " + this.statusTimestamp + ", " + "severity: " + this.severity + ", " + "value: " + this.value + ", " + "lastAknTimestamp: " + this.lastAknTimestamp + ", " + "lastAknUser: " + this.lastAknUser + ", " + "lastFailTimestamp: " + this.lastFailTimestamp + ", " + "lastFailValue: " + this.lastFailValue + ", " + "attributes: " + this.attributes + "]";
+    }
 }

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/QueryState.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data;
 
 public enum QueryState
 {
-	DISCONNECTED
-,	CONNECTED
-,	CONNECTING
-,	LOADING
+    DISCONNECTED,
+    CONNECTED,
+    CONNECTING,
+    LOADING
 }
-

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/Severity.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data;
 
 public enum Severity
 {
-	INFORMATION
-,	WARNING
-,	ALARM
-,	ERROR
+    INFORMATION,
+    WARNING,
+    ALARM,
+    ERROR
 }
-

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/message/AcknowledgeRequest.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data.message;
 
 public class AcknowledgeRequest implements java.io.Serializable, org.eclipse.scada.core.data.RequestMessage
 {
-	private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
+
+    public AcknowledgeRequest ( final org.eclipse.scada.core.data.Request request, final String monitorId, final Long aknTimestamp, final org.eclipse.scada.core.data.OperationParameters operationParameters, final Long callbackHandlerId )
+    {
+        this.request = request;
+        this.monitorId = monitorId;
+        this.aknTimestamp = aknTimestamp;
+        this.operationParameters = operationParameters;
+        this.callbackHandlerId = callbackHandlerId;
+    }
+
+    private final org.eclipse.scada.core.data.Request request;
+
+    @Override
+    public org.eclipse.scada.core.data.Request getRequest ()
+    {
+        return this.request;
+    }
+
+    private final String monitorId;
+
+    public String getMonitorId ()
+    {
+        return this.monitorId;
+    }
+
+    private final Long aknTimestamp;
 
-	public AcknowledgeRequest ( final org.eclipse.scada.core.data.Request request, final String monitorId, final Long aknTimestamp, final org.eclipse.scada.core.data.OperationParameters operationParameters, final Long callbackHandlerId )
-	{
-		this.request = request;
-		this.monitorId = monitorId;
-		this.aknTimestamp = aknTimestamp;
-		this.operationParameters = operationParameters;
-		this.callbackHandlerId = callbackHandlerId;
-	}
+    public Long getAknTimestamp ()
+    {
+        return this.aknTimestamp;
+    }
 
-	private final org.eclipse.scada.core.data.Request request;
-	
-	public org.eclipse.scada.core.data.Request getRequest ()
-	{
-		return this.request;
-	}
+    private final org.eclipse.scada.core.data.OperationParameters operationParameters;
 
-	private final String monitorId;
-	
-	public String getMonitorId ()
-	{
-		return this.monitorId;
-	}
+    public org.eclipse.scada.core.data.OperationParameters getOperationParameters ()
+    {
+        return this.operationParameters;
+    }
 
-	private final Long aknTimestamp;
-	
-	public Long getAknTimestamp ()
-	{
-		return this.aknTimestamp;
-	}
+    private final Long callbackHandlerId;
 
-	private final org.eclipse.scada.core.data.OperationParameters operationParameters;
-	
-	public org.eclipse.scada.core.data.OperationParameters getOperationParameters ()
-	{
-		return this.operationParameters;
-	}
+    public Long getCallbackHandlerId ()
+    {
+        return this.callbackHandlerId;
+    }
 
-	private final Long callbackHandlerId;
-	
-	public Long getCallbackHandlerId ()
-	{
-		return this.callbackHandlerId;
-	}
-	
-	@Override
-	public String toString ()
-	{
-		return "[AcknowledgeRequest - " + 
-			"request: " + this.request
-	 + ", " +		"monitorId: " + this.monitorId
-	 + ", " +		"aknTimestamp: " + this.aknTimestamp
-	 + ", " +		"operationParameters: " + this.operationParameters
-	 + ", " +		"callbackHandlerId: " + this.callbackHandlerId
-			+ "]";
-	}
+    @Override
+    public String toString ()
+    {
+        return "[AcknowledgeRequest - " + "request: " + this.request + ", " + "monitorId: " + this.monitorId + ", " + "aknTimestamp: " + this.aknTimestamp + ", " + "operationParameters: " + this.operationParameters + ", " + "callbackHandlerId: " + this.callbackHandlerId + "]";
+    }
 }

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/message/AcknowledgeResponse.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data.message;
 
 public class AcknowledgeResponse implements java.io.Serializable, org.eclipse.scada.core.data.ResponseMessage
 {
-	private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
+
+    public AcknowledgeResponse ( final org.eclipse.scada.core.data.Response response, final org.eclipse.scada.core.data.ErrorInformation errorInformation )
+    {
+        this.response = response;
+        this.errorInformation = errorInformation;
+    }
+
+    private final org.eclipse.scada.core.data.Response response;
+
+    @Override
+    public org.eclipse.scada.core.data.Response getResponse ()
+    {
+        return this.response;
+    }
 
-	public AcknowledgeResponse ( final org.eclipse.scada.core.data.Response response, final org.eclipse.scada.core.data.ErrorInformation errorInformation )
-	{
-		this.response = response;
-		this.errorInformation = errorInformation;
-	}
+    private final org.eclipse.scada.core.data.ErrorInformation errorInformation;
 
-	private final org.eclipse.scada.core.data.Response response;
-	
-	public org.eclipse.scada.core.data.Response getResponse ()
-	{
-		return this.response;
-	}
+    public org.eclipse.scada.core.data.ErrorInformation getErrorInformation ()
+    {
+        return this.errorInformation;
+    }
 
-	private final org.eclipse.scada.core.data.ErrorInformation errorInformation;
-	
-	public org.eclipse.scada.core.data.ErrorInformation getErrorInformation ()
-	{
-		return this.errorInformation;
-	}
-	
-	@Override
-	public String toString ()
-	{
-		return "[AcknowledgeResponse - " + 
-			"response: " + this.response
-	 + ", " +		"errorInformation: " + this.errorInformation
-			+ "]";
-	}
+    @Override
+    public String toString ()
+    {
+        return "[AcknowledgeResponse - " + "response: " + this.response + ", " + "errorInformation: " + this.errorInformation + "]";
+    }
 }

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/message/BrowseData.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data.message;
 
 public class BrowseData implements java.io.Serializable
 {
-	private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
+
+    public BrowseData ( final java.util.List<org.eclipse.scada.ae.data.BrowserEntry> addedOrUpdated, final java.util.Set<String> removed, final boolean full )
+    {
+        this.addedOrUpdated = addedOrUpdated;
+        this.removed = removed;
+        this.full = full;
+    }
+
+    private final java.util.List<org.eclipse.scada.ae.data.BrowserEntry> addedOrUpdated;
+
+    public java.util.List<org.eclipse.scada.ae.data.BrowserEntry> getAddedOrUpdated ()
+    {
+        return this.addedOrUpdated;
+    }
+
+    private final java.util.Set<String> removed;
 
-	public BrowseData ( final java.util.List<org.eclipse.scada.ae.data.BrowserEntry> addedOrUpdated, final java.util.Set<String> removed, final boolean full )
-	{
-		this.addedOrUpdated = addedOrUpdated;
-		this.removed = removed;
-		this.full = full;
-	}
+    public java.util.Set<String> getRemoved ()
+    {
+        return this.removed;
+    }
 
-	private final java.util.List<org.eclipse.scada.ae.data.BrowserEntry> addedOrUpdated;
-	
-	public java.util.List<org.eclipse.scada.ae.data.BrowserEntry> getAddedOrUpdated ()
-	{
-		return this.addedOrUpdated;
-	}
+    private final boolean full;
 
-	private final java.util.Set<String> removed;
-	
-	public java.util.Set<String> getRemoved ()
-	{
-		return this.removed;
-	}
+    public boolean isFull ()
+    {
+        return this.full;
+    }
 
-	private final boolean full;
-	
-	public boolean isFull ()
-	{
-		return this.full;
-	}
-	
-	@Override
-	public String toString ()
-	{
-		return "[BrowseData - " + 
-			"addedOrUpdated: " + this.addedOrUpdated
-	 + ", " +		"removed: " + this.removed
-	 + ", " +		"full: " + this.full
-			+ "]";
-	}
+    @Override
+    public String toString ()
+    {
+        return "[BrowseData - " + "addedOrUpdated: " + this.addedOrUpdated + ", " + "removed: " + this.removed + ", " + "full: " + this.full + "]";
+    }
 }

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/message/CloseQuery.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data.message;
 
 public class CloseQuery implements java.io.Serializable
 {
-	private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
+
+    public CloseQuery ( final long queryId )
+    {
+        this.queryId = queryId;
+    }
+
+    private final long queryId;
 
-	public CloseQuery ( final long queryId )
-	{
-		this.queryId = queryId;
-	}
+    public long getQueryId ()
+    {
+        return this.queryId;
+    }
 
-	private final long queryId;
-	
-	public long getQueryId ()
-	{
-		return this.queryId;
-	}
-	
-	@Override
-	public String toString ()
-	{
-		return "[CloseQuery - " + 
-			"queryId: " + this.queryId
-			+ "]";
-	}
+    @Override
+    public String toString ()
+    {
+        return "[CloseQuery - " + "queryId: " + this.queryId + "]";
+    }
 }

File org.eclipse.scada.ae.data/src/org/eclipse/scada/ae/data/message/CreateQuery.java

-/*
- * This file is part of the openSCADA project
+/*******************************************************************************
+ * Copyright (c) 2010, 2013 TH4 SYSTEMS GmbH and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
  *
- * Copyright (C) 2011-2012 TH4 SYSTEMS GmbH (http://th4-systems.com)
- * Copyright (C) 2013 Jens Reimann (ctron@dentrassi.de)
- *
- * openSCADA is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * openSCADA is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with openSCADA. If not, see
- * <http://opensource.org/licenses/lgpl-3.0.html> for a copy of the LGPLv3 License.
- */
-
+ * Contributors:
+ *     TH4 SYSTEMS GmbH - initial API and implementation
+ *     Jens Reimann - implement security callback system
+ *******************************************************************************/
 package org.eclipse.scada.ae.data.message;
 
 public class CreateQuery implements java.io.Serializable
 {
-	private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
+
+    public CreateQuery ( final long queryId, final String queryType, final String queryData )
+    {
+        this.queryId = queryId;
+        this.queryType = queryType;
+        this.queryData = queryData;
+    }
+
+    private final long queryId;
+
+    public long getQueryId ()
+    {
+        return this.queryId;
+    }
+
+    private final String queryType;
 
-	public CreateQuery ( final long queryId, final String queryType, final String queryData )
-	{
-		this.queryId = queryId;
-		this.queryType = queryType;
-		this.queryData = queryData;
-	}
+    public String getQueryType ()
+    {
+        return this.queryType;
+    }
 
-	private final long queryId;
-	
-	public long getQueryId ()
-	{
-		return this.queryId;
-	}
+    private final String queryData;
 
-	private final String queryType;
-	
-	public String getQueryType ()
-	{
-		return this.queryType;
-	}
+    public String getQueryData ()
+    {
+        return this.queryData;
+    }
 
-	private final String queryData;
-	
-	public String getQueryData ()
-	{
-		return this.queryData;
-	}
-	
-	@Override
-	public String toString ()
-	{
-		return "[CreateQuery - " + 
-			"queryId: " + this.queryId
-	 + ", " +		"queryType: " + this.queryType