no message
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package Common.Database.Objects;
|
||||
import Common.Utils.Index;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.Selectable;
|
||||
import Common.Utils.Index;
|
||||
import com.sun.org.glassfish.gmbal.Description;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -10,6 +10,12 @@ public abstract class DBObject implements Selectable, Serializable {
|
||||
//<editor-fold desc="Selectable">
|
||||
@Description("IGNORE")
|
||||
private boolean selected = false;
|
||||
//------
|
||||
public DBObject() {
|
||||
}
|
||||
public DBObject(DBObject src) {
|
||||
this.SynchronizeFields(src);
|
||||
}
|
||||
@Override
|
||||
public boolean isSelected() {
|
||||
return selected;
|
||||
@@ -50,13 +56,8 @@ public abstract class DBObject implements Selectable, Serializable {
|
||||
return getBDialogName();
|
||||
}
|
||||
//---
|
||||
public void SynchronizeFields(DBObject src){
|
||||
public void SynchronizeFields(DBObject src) {
|
||||
selected = src.selected;
|
||||
}
|
||||
//------
|
||||
public DBObject(){}
|
||||
public DBObject(DBObject src){
|
||||
this.SynchronizeFields(src);
|
||||
}
|
||||
//---------
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user