[prev in list] [next in list] [prev in thread] [next in thread] 

List:       muse-dev
Subject:    [jira] Closed: (MUSE-200) Create a new client class that makes it
From:       "Dan Jemiolo (JIRA)" <jira () apache ! org>
Date:       2007-02-26 2:02:05
Message-ID: 13164074.1172455325897.JavaMail.jira () brutus
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/MUSE-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Dan Jemiolo closed MUSE-200.
----------------------------

    Resolution: Fixed

> Create a new client class that makes it easier to read WSDM Metrics data
> ------------------------------------------------------------------------
> 
> Key: MUSE-200
> URL: https://issues.apache.org/jira/browse/MUSE-200
> Project: Muse
> Issue Type: Improvement
> Components: WSDM MUWS Metrics
> Affects Versions: 2.1.0
> Reporter: Dan Jemiolo
> Assigned To: Dan Jemiolo
> Priority: Minor
> Fix For: 2.2.0
> 
> 
> Currently, in order to get the WSDM Metrics data for a property, users have to use \
> the generic getResourceProperty() call and then use DOM's getAttributeNS() to read \
> the data (then convert to Date). This is a pain, and makes it so that they have to \
> go through multiple steps to get the property values as POJOs. It should be \
> possible to use a method like getPropertyAsObject() and get back not only the \
> property objects, but also the metric metadata values. This could probably be done \
> by passing in a Map, like so: Map metrics = new HashMap();
> MyType[] values = (MyType[])client.getPropertyAsObject(MY_PROPERTY, MyType.class, \
> metrics); you could then read the metrics from the Map using QNames from \
> MuwsConstants. we could also separate out the metrics into a different call, but a) \
> this would require two calls to getRP(), and b) it would possibly be incorrect - \
> the property (and thus, the metrics) could change in between calls.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic