Class 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 Detail

      • DatabaseResource

        public DatabaseResource()
    • Method Detail

      • getIdResource

        public java.lang.String getIdResource()
        Get the id of the resource
        Specified by:
        getIdResource in interface IResource
        Returns:
        The id of the resource
      • getResourceType

        public java.lang.String getResourceType()
        Get the resource type
        Specified by:
        getResourceType in interface IResource
        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:
        getResourceName in interface IResource
        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