Changeset 7290


Ignore:
Timestamp:
2004-05-07T11:44:49+12:00 (20 years ago)
Author:
kjdon
Message:

modified the getAbsolutePath method - it was not returning the whole path for hierarchical metadata

File:
1 edited

Legend:

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

    r6005 r7290  
    123123        String abs_result = "";
    124124    if(value != null) {
    125         abs_result = value.toString(GValueNode.GREENSTONE);
     125        //abs_result = value.toString(GValueNode.GREENSTONE);
     126        abs_result  = value.getFullPath(false);
    126127    }
    127128    return abs_result;
    128    
    129     //String abs_value = getValue();
    130     // What actually gets written as the value depends on whether this is a hierarchy based element.
    131     //GValueModel model = Gatherer.c_man.getCollection().msm.getValueTree(element);
    132     // Return the result
    133     //return abs_value;
    134     }
     129    }
     130
    135131    /** Retrieve the reference count.
    136132     * @return The count as an <i>int</i>.
Note: See TracChangeset for help on using the changeset viewer.