From 784e23181b6b2352bbd3e5684d435c46ce2383c1 Mon Sep 17 00:00:00 2001 From: Rena Tsantouli Date: Fri, 10 Apr 2009 15:09:11 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@11264 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../model/ISGenericResource.java | 114 ++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 src/org/gcube/application/framework/core/genericresources/model/ISGenericResource.java diff --git a/src/org/gcube/application/framework/core/genericresources/model/ISGenericResource.java b/src/org/gcube/application/framework/core/genericresources/model/ISGenericResource.java new file mode 100644 index 0000000..2f0df7c --- /dev/null +++ b/src/org/gcube/application/framework/core/genericresources/model/ISGenericResource.java @@ -0,0 +1,114 @@ +package org.gcube.application.framework.core.genericresources.model; + + +/** + * @author Valia Tsaqgkalidou (NKUA) + * + */ +public class ISGenericResource { + + protected String id; + protected String name; + protected String description; + protected String body; + protected String secondaryType; + + + /** + * @return the secondary type of the generic resource + */ + public String getSecondaryType() { + return secondaryType; + } + + + /** + * @param secondaryType the secondary type of the generic resource to be set + */ + public void setSecondaryType(String secondaryType) { + this.secondaryType = secondaryType; + } + + + /** + * Generic Constructor + */ + public ISGenericResource() { + super(); + this.id = ""; + this.name = ""; + this.description = ""; + this.body = ""; + this.secondaryType = ""; + } + + + /** + * @param id the generic resource ID + * @param name the generic resource name + * @param description the generic resource description + * @param body the generic resource body + * @param sType the generic resource secondary type + */ + public ISGenericResource(String id, String name, String description, + String body, String sType) { + super(); + this.id = id; + this.name = name; + this.description = description; + this.body = body; + this.secondaryType = sType; + } + + + /** + * @return the id + */ + public String getId() { + return id; + } + /** + * @param id the id to set + */ + public void setId(String id) { + this.id = id; + } + /** + * @return the name + */ + public String getName() { + return name; + } + /** + * @param name the name to set + */ + public void setName(String name) { + this.name = name; + } + /** + * @return the description + */ + public String getDescription() { + return description; + } + /** + * @param description the description to set + */ + public void setDescription(String description) { + this.description = description; + } + /** + * @return the body + */ + public String getBody() { + return body; + } + /** + * @param body the body to set + */ + public void setBody(String body) { + this.body = body; + } + + +}