Class VecFileBasedInstruction
- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,Visitable,Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe dataFormat specifies the format of the FileReference.protected StringThe name of the file.protected XMLGregorianCalendarThe last modified timestamp of the file.protected StringSpecifies where (at which location) the file could be found.Fields inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
customProperties, xmlId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the dataFormat property.Gets the value of the fileName property.Gets the value of the lastModified property.Gets the value of the location property.voidsetDataFormat(String value) Sets the value of the dataFormat property.voidsetFileName(String value) Sets the value of the fileName property.voidSets the value of the lastModified property.voidsetLocation(String value) Sets the value of the location property.Methods inherited from class com.foursoft.harness.vec.v113.VecInstruction
getParentOccurrenceOrUsageMethods inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
getCustomProperties, getRefExternalMapping, getXmlId, setXmlId, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.foursoft.harness.vec.common.HasCustomProperties
getCustomPropertiesWithType, getCustomProperty
-
Field Details
-
fileName
The name of the file.
-
lastModified
The last modified timestamp of the file.
-
dataFormat
The dataFormat specifies the format of the FileReference. This could be for example the mime-type of the external file.
-
location
Specifies where (at which location) the file could be found.
-
-
Constructor Details
-
VecFileBasedInstruction
public VecFileBasedInstruction()
-
-
Method Details
-
getFileName
Gets the value of the fileName property.The name of the file.
- Returns:
- possible object is
String
-
setFileName
Sets the value of the fileName property.- Parameters:
value- allowed object isString- See Also:
-
getLastModified
Gets the value of the lastModified property.The last modified timestamp of the file.
- Returns:
- possible object is
XMLGregorianCalendar
-
setLastModified
Sets the value of the lastModified property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
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
Sets the value of the dataFormat property.- Parameters:
value- allowed object isString- See Also:
-
getLocation
Gets the value of the location property.Specifies where (at which location) the file could be found.
- Returns:
- possible object is
String
-
setLocation
Sets the value of the location property.- Parameters:
value- allowed object isString- See Also:
-
accept
-