Class DatabaseResourceType
- java.lang.Object
-
- fr.paris.lutece.plugins.resource.business.database.DatabaseResourceType
-
- All Implemented Interfaces:
IResourceType,java.io.Serializable,java.lang.Cloneable
public class DatabaseResourceType extends java.lang.Object implements IResourceType, java.io.Serializable, java.lang.Cloneable
Resource type- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseResourceType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseResourceTypeclone()java.lang.StringgetResourceTypeDescription()Get the description of the resource type.java.lang.StringgetResourceTypeName()Get the name of the resource type.voidsetResourceTypeDescription(java.lang.String strResourceTypeDescription)Set the description of the resource typevoidsetResourceTypeName(java.lang.String strResourceTypeName)Set the name of the resource type
-
-
-
Method Detail
-
getResourceTypeName
public java.lang.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:
getResourceTypeNamein interfaceIResourceType- Returns:
- the name of the resource type
-
setResourceTypeName
public void setResourceTypeName(java.lang.String strResourceTypeName)
Set the name of the resource type- Parameters:
strResourceTypeName- The name of the resource type
-
getResourceTypeDescription
public java.lang.String getResourceTypeDescription()
Get the description of the resource type. The description is used to be displayed to users.- Specified by:
getResourceTypeDescriptionin interfaceIResourceType- Returns:
- The description of the resource type
-
setResourceTypeDescription
public void setResourceTypeDescription(java.lang.String strResourceTypeDescription)
Set the description of the resource type- Parameters:
strResourceTypeDescription- The description of the resource type
-
clone
public DatabaseResourceType clone()
-
-