com.monad.homerun.repo
Interface Resource


public interface Resource

Repository provides access to a package (bundle) repository and its resources. NB: this interface is closely modeled on a subset of OSGi OBR RFC-0112 interface of the same name. Should be replaced (or sub-classed) when an implementation is available from OSGi


Method Summary
 java.lang.String[] getCategories()
          Returns list of categories for this resource
 java.lang.String getId()
          Returns the resource ID
 java.lang.String getPresentationName()
          Returns a human readable name
 java.util.Map getProperties()
          Returns properties of resource
 Repository getRepository()
          Returns the repository that holds this resource
 java.lang.String getSymbolicName()
          Returns a symbolic name for the repository
 

Method Detail

getCategories

java.lang.String[] getCategories()
Returns list of categories for this resource

Returns:

getId

java.lang.String getId()
Returns the resource ID

Returns:
ID the resource ID

getPresentationName

java.lang.String getPresentationName()
Returns a human readable name

Returns:

getProperties

java.util.Map getProperties()
Returns properties of resource

Returns:

getRepository

Repository getRepository()
Returns the repository that holds this resource

Returns:
repository the owning repository

getSymbolicName

java.lang.String getSymbolicName()
Returns a symbolic name for the repository

Returns:


Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.