Class FormResourceItem

  • All Implemented Interfaces:
    IResourceItem, Serializable

    public class FormResourceItem
    extends Object
    implements IResourceItem
    A file select menu may contain options form form resources, client resources and external URLs. Form resources are represented by an instance of this class.
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • FormResourceItem

        public FormResourceItem​(String resourceUuid,
                                String name)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface IResourceItem
        Returns:
        The (file) name of the resource this item represents.
      • getResourceUuid

        public String getResourceUuid()
        Specified by:
        getResourceUuid in interface IResourceItem
        Returns:
        The UUID of the resource this item represents, or null or empty string if no such UUID exists.
      • getResourceType

        public ERessourcenTyp getResourceType()
        Specified by:
        getResourceType in interface IResourceItem
        Returns:
        The type of the resource this item represents, or null if it represents none of the available types.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object