org.teleal.cling.model.resource
Class Resource<M>
java.lang.Object
org.teleal.cling.model.resource.Resource<M>
- Direct Known Subclasses:
- DeviceDescriptorResource, IconResource, ServiceControlResource, ServiceDescriptorResource, ServiceEventCallbackResource, ServiceEventSubscriptionResource
public class Resource<M>
- extends Object
Resource
public Resource(URI localURI,
M model)
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.