[ 
https://issues.apache.org/jira/browse/MUSE-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464813
 ] 

Dan Jemiolo commented on MUSE-179:
----------------------------------

You can currently use the canUpdate( ), canInsert( ), canDelete( ), and 
isReadOnlyExternal( ) methods to reason about these values. However, I could 
add getter methods to return the string values for modifiability and mutability 
to MetadataDescriptor, in the same manner as the other methods in that 
interface. I don't want to make PropertyMetadata public - it is very 
struct-like and as an internal class we can rely on checks done in the default 
RMD impl. Right now you can do all tasks through the MetadataDescriptor 
interface, so I don't see a need to add to the supported API.

I'll add the two getter methods.


> Usage of MUSE Capability property metadata apis
> -----------------------------------------------
>
>                 Key: MUSE-179
>                 URL: https://issues.apache.org/jira/browse/MUSE-179
>             Project: Muse
>          Issue Type: Improvement
>          Components: WSRF WSRMD ResourceMetadataCapability and 
> MetadataResource
>    Affects Versions: 2.2.0
>            Reporter: Saurabh Dravid
>         Assigned To: Dan Jemiolo
>             Fix For: 2.2.0
>
>
> I am using MetadataDescriptor model provided by MUSE api in my editor to deal 
> with property metadata.
> I will extend these two classes for this purpose 
> "org.apache.muse.ws.resource.metadata.impl.SimpleMetadataDescriptor" and
> "org.apache.muse.ws.resource.metadata.impl.PropertyMetadata".
> While extending these classes I faced following restrictions.
> (1) "PropertyMetadata" class is not public.
> (2) Following fields in "PropertyMetadata" class defined as private.
>       _modifiability
>       _mutability
>       _qname
> (3) Following fields in "SimpleMetadataDescriptor" class defined as private.
>       _name
>       _propertiesByQName
> Is it possible to remove these restrictions from the classes. It will help me 
> to handle the editor functionality efficiently.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to