org.gcube.data.harmonization.occurrence.impl.model
Class Resource

java.lang.Object
  extended by org.gcube.data.harmonization.occurrence.impl.model.Resource

public class Resource
extends Object


Constructor Summary
Resource()
           
Resource(Operation operation, String id, String resourceDescription, ResourceType type, String name)
           
 
Method Summary
 String getId()
           
 String getName()
           
 Operation getOperation()
           
 String getResourceDescription()
           
 ResourceType getType()
           
 void setId(String id)
           
 void setName(String name)
           
 void setOperation(Operation op)
           
 void setResourceDescription(String resourceDescription)
           
 void setType(ResourceType type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

public Resource()

Resource

public Resource(Operation operation,
                String id,
                String resourceDescription,
                ResourceType type,
                String name)
Method Detail

getOperation

public Operation getOperation()
Returns:
the operation

setOperation

public void setOperation(Operation op)
Parameters:
operation - the operation to set

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set

getResourceDescription

public String getResourceDescription()
Returns:
the resourceDescription

setResourceDescription

public void setResourceDescription(String resourceDescription)
Parameters:
resourceDescription - the resourceDescription to set

getType

public ResourceType getType()
Returns:
the type

setType

public void setType(ResourceType type)
Parameters:
type - the type to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.