public class Resource extends Object
Constructor and Description |
---|
Resource() |
Resource(String id,
ResourceType type) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
ResourceType |
getType() |
void |
setId(String id) |
void |
setType(ResourceType type) |
String |
toString() |
public Resource()
public Resource(String id, ResourceType type)
public String getId()
public void setId(String id)
id
- the id to setpublic ResourceType getType()
public void setType(ResourceType type)
type
- the type to set
Copyright © myjeeva blog, All rights reserved.
The copyright of the pages and contents on this website is with myjeeva.com and the content is licensed under Creative Commons – Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Libraries and code snippets on myjeeva blog has license information.