47 |
* Constructs an <code>InstrumentsDbEvent</code> object. |
* Constructs an <code>InstrumentsDbEvent</code> object. |
48 |
* @param source The object that originated the event. |
* @param source The object that originated the event. |
49 |
* @param pathName Depending on the event this is |
* @param pathName Depending on the event this is |
50 |
* the absolute path name of either a directory, or an instrument. |
* the absolute (escaped) path name of either a directory, or an instrument. |
51 |
* @param newName When an isntrument or directory is renamed, |
* @param newName When an isntrument or directory is renamed, |
52 |
* specifies the new name for the respective instrument or directory. |
* specifies the new (non-escaped) name for the respective instrument or directory. |
53 |
*/ |
*/ |
54 |
public |
public |
55 |
InstrumentsDbEvent(Object source, String pathName, String newName) { |
InstrumentsDbEvent(Object source, String pathName, String newName) { |
70 |
} |
} |
71 |
|
|
72 |
/** |
/** |
73 |
* Gets the path name of the changed instrument or directory. |
* Gets the (escaped) path name of the changed instrument or directory. |
74 |
*/ |
*/ |
75 |
public String |
public String |
76 |
getPathName() { return pathName; } |
getPathName() { return pathName; } |
77 |
|
|
78 |
/** |
/** |
79 |
* When an isntrument or directory is renamed, this method |
* When an isntrument or directory is renamed, this method |
80 |
* returns the new name for the respective instrument or directory. |
* returns the new (non-escaped) name for the respective instrument or directory. |
81 |
*/ |
*/ |
82 |
public String |
public String |
83 |
getNewName() { return newName; } |
getNewName() { return newName; } |