public class ResourceClass extends Object implements Comparable
Constructor and Description |
---|
ResourceClass(String id,
URL uri)
Creates a new Resource Class.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object t) |
String |
getId()
Gets the id of the Resource Class.
|
String |
getQuery()
Gets the query of the Resource Class.
|
URL |
getUri()
Gets the URL of the Resource Class.
|
void |
setId(String id)
Sets/Changes the id of a Resource Class.
|
void |
setQuery(String query)
Sets/Changes the query of a Resource Class.
|
void |
setUri(URL uri)
Sets/Changes the URL of a the Resource Class.
|
public String getId()
public void setId(String id)
id
- The id of the Resource Class.public URL getUri()
public void setUri(URL uri)
uri
- The URL of the Resource Class.public String getQuery()
public void setQuery(String query)
query
- The query of the Resource Class.public int compareTo(Object t)
compareTo
in interface Comparable
Copyright © 2014. All rights reserved.