Class DatabaseResource
- java.lang.Object
-
- fr.paris.lutece.plugins.resource.business.database.DatabaseResource
-
- All Implemented Interfaces:
IResource,java.io.Serializable,java.lang.Cloneable
public class DatabaseResource extends java.lang.Object implements IResource, java.lang.Cloneable
Business class for resources- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseResourceclone()java.lang.StringgetIdResource()Get the id of the resourcejava.lang.StringgetResourceName()Get the resource namejava.lang.StringgetResourceType()Get the resource typevoidsetResourceName(java.lang.String strResourceName)Set the name of this resourcevoidsetResourceType(java.lang.String strResourceType)Set the type of this resource
-
-
-
Method Detail
-
getIdResource
public java.lang.String getIdResource()
Get the id of the resource- Specified by:
getIdResourcein interfaceIResource- Returns:
- The id of the resource
-
getResourceType
public java.lang.String getResourceType()
Get the resource type- Specified by:
getResourceTypein interfaceIResource- Returns:
- The resource type
-
setResourceType
public void setResourceType(java.lang.String strResourceType)
Set the type of this resource- Parameters:
strResourceType- The type of this resource
-
getResourceName
public java.lang.String getResourceName()
Get the resource name- Specified by:
getResourceNamein interfaceIResource- Returns:
- The resource name
-
setResourceName
public void setResourceName(java.lang.String strResourceName)
Set the name of this resource- Parameters:
strResourceName- The name of this resource
-
clone
public DatabaseResource clone()
-
-