Ignore:
Timestamp:
2004-02-10T18:07:32+13:00 (20 years ago)
Author:
kjdon
Message:

fixed all the javadoc errors. (hope I didn't commit anything I wasn't supposed to)

Location:
trunk/gli/src/org/greenstone/gatherer/msm
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/msm/LegacyCollectionImporter.java

    r6093 r6770  
    108108
    109109    /** Processes the files in the import tree, editing metadata.xml files so they contain namespaced element names.
    110      * @param collection_folder the base folder of this collection, needed for storing importing profiles
    111110     * @param file the current file we are inspecting
    112111     */
  • trunk/gli/src/org/greenstone/gatherer/msm/MSMAction.java

    r5785 r6770  
    6060     * @param action An <i>int</i> representing what action needs to be taken in subsequent access of the given set and source element.
    6161     * @param target A <strong>String</strong> representing the fully qualified name of the target element.
    62      * @param hfile If this action was created from the hfile parsing stage, does the element require a replacement to change its alias value into a real one. Note that this profile item may be created for fully namespaced elements as well, to ensure aliases are always remapped.
    6362     */
    6463    public MSMAction(int action, String target) {
  • trunk/gli/src/org/greenstone/gatherer/msm/MSMPrompt.java

    r6539 r6770  
    659659    /** Prompts the user to choose how to import a metadata element. Gives the option of renaming the element to a certain value of a certain set, or adding to a selected set.
    660660     * @param name The name of the original metadata as a String.
    661      * @param set The set previously choosen as the default set for this metadata (which it doesn't match somehow).
    662661     * @return An ElementWrapper around the element that it has been matched to.
    663662     * @see org.greenstone.gatherer.msm.MSMPrompt.MSMDialog
  • trunk/gli/src/org/greenstone/gatherer/msm/MSMUtils.java

    r6622 r6770  
    224224    /** Method to compare two metadata elements (of type Element, which is bound to get more than a bit confusing) for equality. This test may only check the structural (ie pretty much unchanging) consistancy, or may include the AssignedValue tree as well (which will be different for each collection I'd imagine).
    225225     * @param a_set The <strong>MetadataSet</strong> a comes from.
    226      * @param a An <strong>Element</strong>.
     226     * @param ae An <strong>Element</strong>.
    227227     * @param b_set The <strong>MetadataSet</strong> b comes from.
    228      * @param b The <strong>Element</strong> to compare it to.
     228     * @param be The <strong>Element</strong> to compare it to.
    229229     * @param values <i>true</i> if the AssignedValues tree should also be compared, <i>false</i> otherwise.
    230230     * @return <i>true</i> if the elements are equal, <i>false</i> otherwise.
  • trunk/gli/src/org/greenstone/gatherer/msm/MetadataComboBoxModel.java

    r5589 r6770  
    4444import org.w3c.dom.*;
    4545
    46 /** A combobox model that contains information from an array of NodeLists. */
     46/** A combobox model that contains information from the metadata set manager.
     47 * @see org.greenstone.gatherer.msm.MetadataSetManager*/
    4748public class MetadataComboBoxModel
    4849    extends DefaultComboBoxModel
     
    5051    private MetadataSetManager msm = null;
    5152    /** Constructor.
    52      * @param nodelists The <strong>NodeList[]</strong> this model is proxied to.
     53     * @param msm The <strong>MetadataSetManager</strong> this model is proxied to.
    5354     */
    5455    public MetadataComboBoxModel(MetadataSetManager msm) {
  • trunk/gli/src/org/greenstone/gatherer/msm/MetadataSet.java

    r6568 r6770  
    552552     * @see org.greenstone.gatherer.Configuration#getLanguage()
    553553     * @see org.greenstone.gatherer.Gatherer#config
    554      * @see org.greenstone.gatherer.msm.MSMUtils#getValue(Element)
     554     * @see org.greenstone.gatherer.msm.MSMUtils#getValue(Node)
    555555     * @see org.greenstone.gatherer.util.StaticStrings#CODE_ATTRIBUTE
    556556     * @see org.greenstone.gatherer.util.StaticStrings#SETLANGUAGE_ELEMENT
  • trunk/gli/src/org/greenstone/gatherer/msm/MetadataSetManager.java

    r6394 r6770  
    100100
    101101    /** Attach a piece of metadata to a record or records, ensuring the value tree is built properly, and correct messaging fired.
     102     * @param id
    102103     * @param records A FileNode[] of records, or directories, to add the specified metadata to.
    103104     * @param element The metadata element, contained within an ElementWrapper to base metadata on.
    104      * @param value The value to assign to the metadata as a String.
     105     * @param value_str The value to assign to the metadata as a String.
    105106     */
    106107    public Metadata addMetadata(long id, FileNode records[], ElementWrapper element, String value_str) {
     
    169170    }
    170171
    171     /** Add a value tree to a given metadata element.
    172      * @param element The ElementWrapper containing the element you wish to add a value tree for.
    173      * @param value_tree The root Element of the value tree.
     172    /** Add a value tree to a given metadata element represented as a GValueModel
     173     * @param model The <strong>GValueTree</strong> model
    174174     */
    175175    public void addValueTree(GValueModel model) {
     
    686686    }
    687687    /** This method takes two metadata sets, the current one and a new one, and merges them. This merge takes place at an element level falling to lower levels as necessary (using <i>mergeMDE()</i> to merge elements and <i>mergeMDV()</i> to merge value trees.
    688      * @param mds_current The currently loaded MetadataSet.
     688     * @param mds_cur The currently loaded MetadataSet.
    689689     * @param mds_new A new MetadataSet you wish to merge in.
    690690     * @return A boolean with value <i>true</i> indicating if the merge was successful, otherwise <i>false</i> if errors were detected.
     
    10411041
    10421042    /** Update a piece of metadata connected to a record or records, ensuring the value tree is built properly, and correct messaging fired.
     1043     * @param id
     1044     * @param old_metadata The metadata element,
    10431045     * @param records A FileNode[] of records, or directories, to add the specified metadata to.
    1044      * @param element The metadata element, contained within an ElementWrapper to base metadata on.
    1045      * @param value The value to assign to the metadata as a String.
     1046     * @param value_str The value to assign to the metadata as a String.
    10461047     * @param action The default action to take in the prompt.
    10471048     * @param file_level If true then the metadata can be replaced normally, if false then we should actually use an add method instead.
     
    10921093     * @param data the new Metadata.
    10931094     * @param action the default action as an int. May require user interaction.
    1094      * @param fire_event <i>true</i> if this action should fire a metadata changed event, <i>false</i> if we are calling this as an affect of a previous event. (Don't want an infinitely recursive loop, do we).
    10951095     * @param multiple_selection <i>true</i> if more than one file or folder was selected.
    10961096     * @return an int specifying the current action. Thus changes in lower parts of the tree continue to effect other disjoint subtrees.
     
    11941194     * @param data the <strong>Metadata</strong> you wish removed from the tree.
    11951195     * @param action an <i>int</i> specifying the wanted prompting action.
    1196      * @param fire_event <i>true</i> if this action should fire metadata changed events.
    11971196     * @param multiple_selection the number of records in the selection, as an <i>int</i>. Used to determine prompt controls.
    11981197     * @return an <i>int</i> specifying the current action. Thus changes in lower parts of the tree continue to effect other disjoint subtrees.
  • trunk/gli/src/org/greenstone/gatherer/msm/parsers/GreenstoneMetadataParser.java

    r6539 r6770  
    688688    extends LinkedHashMap {
    689689    /** Retrieve the CollectCFG object that matches the given collection file path.
    690      * @param collection_file The <strong>File</strong> that references the collection's directory.
     690     * @param collect_cfg_file The <strong>File</strong> that references the collection's directory.
    691691     * @return The <strong>CollectCFG</strong> that belongs to this collection, or <i>null</i> if no such file exists (so we probably aren't in a collection!).
    692692     */
Note: See TracChangeset for help on using the changeset viewer.