Class DatabaseResourceType

java.lang.Object
fr.paris.lutece.plugins.resource.business.database.DatabaseResourceType
All Implemented Interfaces:
IResourceType, Serializable, Cloneable

public class DatabaseResourceType extends Object implements IResourceType, Serializable, Cloneable
Resource type
See Also:
  • Constructor Details

    • DatabaseResourceType

      public DatabaseResourceType()
  • Method Details

    • getResourceTypeName

      public String getResourceTypeName()
      Get the name of the resource type. The name of a resource type must be unique and id used as a primary key.
      Specified by:
      getResourceTypeName in interface IResourceType
      Returns:
      the name of the resource type
    • setResourceTypeName

      public void setResourceTypeName(String strResourceTypeName)
      Set the name of the resource type
      Parameters:
      strResourceTypeName - The name of the resource type
    • getResourceTypeDescription

      public String getResourceTypeDescription()
      Get the description of the resource type. The description is used to be displayed to users.
      Specified by:
      getResourceTypeDescription in interface IResourceType
      Returns:
      The description of the resource type
    • setResourceTypeDescription

      public void setResourceTypeDescription(String strResourceTypeDescription)
      Set the description of the resource type
      Parameters:
      strResourceTypeDescription - The description of the resource type
    • clone

      public DatabaseResourceType clone()