Class Ending

    • Constructor Detail

      • Ending

        public Ending()
      • Ending

        public Ending​(String id)
        Creates a new Ending object.
        Parameters:
        id - The ID of this resource (It should NOT be the same ID as the one set of the corresponding starting resource: each resource has a ID are unique).
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: IResource
        Gets the identifier of the resource. This identifier is unique per extracted document and by type of resource. This value is filter-specific. It and may be different from one extraction of the same document to the next. It can a sequential number or not, incremental or not, and it can be not a number. It has no correspondence in the source document ("IDs" coming from the source document are "names" and not available for all resources).
        Specified by:
        getId in interface IResource
        Returns:
        the identifier of this resource.
      • setId

        public void setId​(String id)
        Description copied from interface: IResource
        Sets the identifier of this resource.
        Specified by:
        setId in interface IResource
        Parameters:
        id - the new identifier value.
        See Also:
        IResource.getId()
      • getSkeleton

        public ISkeleton getSkeleton()
        Description copied from interface: IWithSkeleton
        Gets the skeleton object for this resource.
        Specified by:
        getSkeleton in interface IWithSkeleton
        Returns:
        the skeleton object for this resource or null if there is none.
      • setSkeleton

        public void setSkeleton​(ISkeleton skeleton)
        Description copied from interface: IWithSkeleton
        Sets the skeleton object for this resource.
        Specified by:
        setSkeleton in interface IWithSkeleton
        Parameters:
        skeleton - the skeleton object to set.