Class ResourceTypeDefaultImplementation

  • All Implemented Interfaces:
    IResourceType

    public class ResourceTypeDefaultImplementation
    extends java.lang.Object
    implements IResourceType
    Default implementation of resource types
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceTypeDefaultImplementation​(java.lang.String strResourceTypeName, java.lang.String strResourceTypeDescription)
      Creates a new resource type
    • Constructor Detail

      • ResourceTypeDefaultImplementation

        public ResourceTypeDefaultImplementation​(java.lang.String strResourceTypeName,
                                                 java.lang.String strResourceTypeDescription)
        Creates a new resource type
        Parameters:
        strResourceTypeName - The name of the resource type. The name is used as primary key and is not displayed to users.
        strResourceTypeDescription - The description of the resource type. The description is used to be displayed to users.
    • 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:
        getResourceTypeName in interface IResourceType
        Returns:
        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:
        getResourceTypeDescription in interface IResourceType
        Returns:
        The description of the resource type