Class StartFileData

    • Constructor Detail

      • StartFileData

        public StartFileData​(String id)
        Creates a StartFileData object with an optional id.
        Parameters:
        id - the id of the file element (should not be null, but we don't throw an exception to allow setting it after creation).
    • Method Detail

      • getOriginal

        public String getOriginal()
        Gets the original attribute of this file.
        Returns:
        the original attribute of this file.
      • setOriginal

        public void setOriginal​(String original)
        Sets the original attribute of this file.
        Parameters:
        original - the new original attribute for this file.
      • setId

        public void setId​(String id)
        Sets the id for this object.
        Parameters:
        id - the id for this object.
      • getId

        public String getId()
        Gets the id for this object.
        Returns:
        the id for this object.
      • hasExtAttribute

        public boolean hasExtAttribute()
        Description copied from interface: IWithExtAttributes
        Indicates if at least one extension attribute is present.
        Specified by:
        hasExtAttribute in interface IWithExtAttributes
        Returns:
        true if at least one extension attribute is present; false otherwise.
      • getExtAttributeValue

        public String getExtAttributeValue​(String namespaceURI,
                                           String localName)
        Description copied from interface: IWithExtAttributes
        Gets the value for a given extension attribute.
        Specified by:
        getExtAttributeValue in interface IWithExtAttributes
        Parameters:
        namespaceURI - the URI of the namespace for the attribute.
        localName - the name of the attribute.
        Returns:
        the value of the extension attribute, or null if it does not exist.