Class AbstractResourceInfo<E>

  • Type Parameters:
    E - the resource class
    All Implemented Interfaces:
    IResourceInfo
    Direct Known Subclasses:
    ResourceInfo

    public abstract class AbstractResourceInfo<E>
    extends Object
    implements IResourceInfo
    AbstractResourceInfo
    • Constructor Detail

      • AbstractResourceInfo

        public AbstractResourceInfo()
    • Method Detail

      • setResourceInfo

        public abstract void setResourceInfo​(E resource)
        Set the resource info
        Parameters:
        resource - the resource
      • setKey

        public void setKey​(String strKey)
        Set the key
        Specified by:
        setKey in interface IResourceInfo
        Parameters:
        strKey - the key
      • setValue

        public void setValue​(String strValue)
        Set the value
        Specified by:
        setValue in interface IResourceInfo
        Parameters:
        strValue - the value
      • hasChildren

        public boolean hasChildren()
        Check if the resource info has children
        Specified by:
        hasChildren in interface IResourceInfo
        Returns:
        true if it has children, false otherwise