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

java.lang.Object
  extended by org.teleal.cling.model.Resource<M>

public class Resource<M>
extends java.lang.Object


Nested Class Summary
static class Resource.Type
           
 
Constructor Summary
Resource(Resource.Type type, java.net.URI localURI, M model)
           
Resource(java.net.URI localURI, M model)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.net.URI getLocalPathQuery()
           
 java.net.URI getLocalURI()
           
 M getModel()
           
 Resource.Type getType()
           
 int hashCode()
           
 boolean matchesPathQuery(java.net.URI pathQuery)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

public Resource(java.net.URI localURI,
                M model)

Resource

public Resource(Resource.Type type,
                java.net.URI localURI,
                M model)
Method Detail

getType

public Resource.Type getType()

getLocalURI

public java.net.URI getLocalURI()

getModel

public M getModel()

getLocalPathQuery

public java.net.URI getLocalPathQuery()

matchesPathQuery

public boolean matchesPathQuery(java.net.URI pathQuery)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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