Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.greenstone.gatherer.msm
Class MSMAction  view MSMAction download MSMAction.java

java.lang.Object
  extended byorg.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.
 
Constructor Summary
MSMAction(int action, java.lang.String target)
          Constructor.
MSMAction(int action, java.lang.String target, boolean hfile)
          Constructor.
MSMAction(java.lang.String set, java.lang.String source, int action, java.lang.String target)
           
 
Method Summary
 int getAction()
          Method for retrieving the appropriate action from this class.
 java.lang.String getSet()
           
 java.lang.String getSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

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)
Method Detail

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()