org.gcube.vremanagement.vremodeler.impl.peristentobjects
Class GenericResource

java.lang.Object
  extended by org.gcube.vremanagement.vremodeler.impl.peristentobjects.GenericResource
All Implemented Interfaces:
ResourceInterface

public class GenericResource
extends Object
implements ResourceInterface


Constructor Summary
GenericResource(String id, String type, String name, String description, String body)
           
 
Method Summary
 String getBody()
           
 String getDescription()
           
 String getId()
           
 String getName()
           
 String getResourceType()
           
 String getType()
           
 void setBody(String body)
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setName(String name)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericResource

public GenericResource(String id,
                       String type,
                       String name,
                       String description,
                       String body)
Method Detail

getId

public String getId()
Specified by:
getId in interface ResourceInterface

setId

public void setId(String id)

getType

public String getType()
Specified by:
getType in interface ResourceInterface

setType

public void setType(String type)

getDescription

public String getDescription()
Specified by:
getDescription in interface ResourceInterface

setDescription

public void setDescription(String description)

getName

public String getName()
Specified by:
getName in interface ResourceInterface

setName

public void setName(String name)

getBody

public String getBody()

setBody

public void setBody(String body)

getResourceType

public String getResourceType()
Specified by:
getResourceType in interface ResourceInterface


Copyright © 2013. All Rights Reserved.