java.lang.Object
org.greenstone.gatherer.msm.MSMAction
- public final class MSMAction
- extends java.lang.Object
This class provides all the information required to correctly perform metadata actions, with regard to the users previously indicated preferences in terms of importing and renaming.
|
Field Summary |
private int |
action
The type of action required in subsequent actions involving the specified set and source element. |
private boolean |
hfile
|
private java.lang.String |
set
|
private java.lang.String |
source
|
private java.lang.String |
target
The fully qualified name of the target element (which must be currently in the loaded metadata sets, otherwise the set it belongs to cannot be determined. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hfile
private boolean hfile
action
private int action
- The type of action required in subsequent actions involving the specified set and source element.
set
private java.lang.String set
source
private java.lang.String source
target
private java.lang.String target
- The fully qualified name of the target element (which must be currently in the loaded metadata sets, otherwise the set it belongs to cannot be determined.
MSMAction
public MSMAction(int action,
java.lang.String target)
- Constructor. Note that the standard action FORCE_MERGE is only named so for clarity and is translated into its actual action RENAME when this profile is created.
MSMAction
public MSMAction(int action,
java.lang.String target,
boolean hfile)
- Constructor. Note that the standard action FORCE_MERGE is only named so for clarity and is translated into its actual action RENAME when this profile is created.
MSMAction
public MSMAction(java.lang.String set,
java.lang.String source,
int action,
java.lang.String target)
getAction
public int getAction()
- Method for retrieving the appropriate action from this class.
getSet
public java.lang.String getSet()
getSource
public java.lang.String getSource()