Class DatabaseResource
java.lang.Object
fr.paris.lutece.plugins.resource.business.database.DatabaseResource
- All Implemented Interfaces:
IResource,Serializable,Cloneable
Business class for resources
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Get the id of the resourceGet the resource nameGet the resource typevoidsetResourceName(String strResourceName) Set the name of this resourcevoidsetResourceType(String strResourceType) Set the type of this resource
-
Constructor Details
-
DatabaseResource
public DatabaseResource()
-
-
Method Details
-
getIdResource
Get the id of the resource- Specified by:
getIdResourcein interfaceIResource- Returns:
- The id of the resource
-
getResourceType
Get the resource type- Specified by:
getResourceTypein interfaceIResource- Returns:
- The resource type
-
setResourceType
Set the type of this resource- Parameters:
strResourceType- The type of this resource
-
getResourceName
Get the resource name- Specified by:
getResourceNamein interfaceIResource- Returns:
- The resource name
-
setResourceName
Set the name of this resource- Parameters:
strResourceName- The name of this resource
-
clone
-