org.teleal.cling.model
Class Resource<M>
java.lang.Object
org.teleal.cling.model.Resource<M>
public class Resource<M>
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Resource
public Resource(java.net.URI localURI,
M model)
Resource
public Resource(Resource.Type type,
java.net.URI localURI,
M model)
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.