Class VecFileBasedInstruction

All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, Visitable, Serializable

public class VecFileBasedInstruction extends VecInstruction implements Serializable, Visitable

A FileBasedInstruction is an Instruction that references a file packaged together with a VEC-document. Such a file can be for example an image.

Java class for FileBasedInstruction complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="FileBasedInstruction">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}Instruction">
       <sequence>
         <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="LastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="DataFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Location" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • fileName

      protected String fileName

      The name of the file.

    • lastModified

      protected XMLGregorianCalendar lastModified

      The last modified timestamp of the file.

    • dataFormat

      protected String dataFormat

      The dataFormat specifies the format of the FileReference. This could be for example the mime-type of the external file.

    • location

      protected String location

      Specifies where (at which location) the file could be found.

  • Constructor Details

    • VecFileBasedInstruction

      public VecFileBasedInstruction()
  • Method Details

    • getFileName

      public String getFileName()
      Gets the value of the fileName property.

      The name of the file.

      Returns:
      possible object is String
    • setFileName

      public void setFileName(String value)
      Sets the value of the fileName property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLastModified

      public XMLGregorianCalendar getLastModified()
      Gets the value of the lastModified property.

      The last modified timestamp of the file.

      Returns:
      possible object is XMLGregorianCalendar
    • setLastModified

      public void setLastModified(XMLGregorianCalendar value)
      Sets the value of the lastModified property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      See Also:
    • getDataFormat

      public String getDataFormat()
      Gets the value of the dataFormat property.

      The dataFormat specifies the format of the FileReference. This could be for example the mime-type of the external file.

      Returns:
      possible object is String
    • setDataFormat

      public void setDataFormat(String value)
      Sets the value of the dataFormat property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLocation

      public String getLocation()
      Gets the value of the location property.

      Specifies where (at which location) the file could be found.

      Returns:
      possible object is String
    • setLocation

      public void setLocation(String value)
      Sets the value of the location property.
      Parameters:
      value - allowed object is String
      See Also:
    • accept

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable