public class Resource
extends java.lang.Object
| Constructor and Description | 
|---|
Resource()  | 
Resource(java.lang.String id,
        ResourceType type)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getId()  | 
ResourceType | 
getType()  | 
void | 
setId(java.lang.String id)  | 
void | 
setType(ResourceType type)  | 
java.lang.String | 
toString()  | 
public Resource()
public Resource(java.lang.String id,
        ResourceType type)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getId()
public void setId(java.lang.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.