fix copyright header, javadoc, and warnings
This commit is contained in:
1 parent
d970d07048
commit
eb64cc60c5
41 files changed
+1856
-541
No files matched your search
+41
-18
@@ -1,5 +1,6 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2012 IT Just working.
|
||||
* Copyright (c) 2020 MINRES Technologies GmbH
|
||||
* 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
|
||||
@@ -16,32 +17,54 @@ import java.util.List;
|
||||
|
||||
import com.minres.scviewer.database.tx.ITxAttribute;
|
||||
|
||||
class ScvTx implements Serializable{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* The Class ScvTx.
|
||||
*/
|
||||
class ScvTx implements Serializable {
|
||||
|
||||
/** The Constant serialVersionUID. */
|
||||
private static final long serialVersionUID = -855200240003328221L;
|
||||
|
||||
/** The id. */
|
||||
final long id;
|
||||
|
||||
|
||||
/** The generator id. */
|
||||
final long generatorId;
|
||||
|
||||
/** The stream id. */
|
||||
final long streamId;
|
||||
|
||||
|
||||
/** The begin time. */
|
||||
long beginTime;
|
||||
|
||||
|
||||
/** The end time. */
|
||||
long endTime;
|
||||
|
||||
|
||||
/** The attributes. */
|
||||
final List<ITxAttribute> attributes = new ArrayList<>();
|
||||
|
||||
ScvTx(long id, long streamId, long generatorId, long begin){
|
||||
this.id=id;
|
||||
this.streamId=streamId;
|
||||
this.generatorId=generatorId;
|
||||
this.beginTime=begin;
|
||||
this.endTime=begin;
|
||||
|
||||
/**
|
||||
* Instantiates a new scv tx.
|
||||
*
|
||||
* @param id the id
|
||||
* @param streamId the stream id
|
||||
* @param generatorId the generator id
|
||||
* @param begin the begin
|
||||
*/
|
||||
ScvTx(long id, long streamId, long generatorId, long begin) {
|
||||
this.id = id;
|
||||
this.streamId = streamId;
|
||||
this.generatorId = generatorId;
|
||||
this.beginTime = begin;
|
||||
this.endTime = begin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the id.
|
||||
*
|
||||
* @return the id
|
||||
*/
|
||||
Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
Long getId() {return id;}
|
||||
}
|
||||
Reference in new issue
Block a user