org.teleal.cling.model.resource
Class Resource<M>

java.lang.Object
  extended by org.teleal.cling.model.resource.Resource<M>
Direct Known Subclasses:
DeviceDescriptorResource, IconResource, ServiceControlResource, ServiceDescriptorResource, ServiceEventCallbackResource, ServiceEventSubscriptionResource

public class Resource<M>
extends Object


Constructor Summary
Resource(URI localURI, M model)
           
 
Method Summary
 boolean equals(Object o)
           
 URI getLocalPathQuery()
           
 URI getLocalURI()
           
 M getModel()
           
 int hashCode()
           
 void maintain(List<Runnable> pendingExecutions, ExpirationDetails expirationDetails)
           
 boolean matchesPathQuery(URI pathQuery)
           
 void shutdown()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

public Resource(URI localURI,
                M model)
Method Detail

getLocalURI

public URI getLocalURI()

getModel

public M getModel()

getLocalPathQuery

public URI getLocalPathQuery()

matchesPathQuery

public boolean matchesPathQuery(URI pathQuery)

maintain

public void maintain(List<Runnable> pendingExecutions,
                     ExpirationDetails expirationDetails)

shutdown

public void shutdown()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.