|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Identification
Specifies identity information about the application that created or modified a file.
If a file was opened for modification by many applications in its
lifetime, then there will be multiple identification objects.
These are kept in an ordered list, with the first entry being the
file creator, and the last entry being the last application to
modify the file. The list is stored in the header
of a file and accessed with Header.getIdentifications()
.
An identification is useful for technical support when diagnosing problems with AAF files, as it tells which applications and versions of applications have touched the file. If a file has been modified by multiple applications, then the date and product id properties can be used to tell which changes to the file were made by a particular application.
makeIdentification()
,
Header.getLastIdentification()
Method Summary | |
---|---|
String |
getCompanyName()
Returns the company name property of this identification, which specifies the name of the company or organization that created the application. |
TimeStamp |
getDate()
Returns the time stamp property of this identification. |
AUID |
getGenerationAUID()
Returns the generation identifier of this AAF file, which is an AUID that was generated at the time this identification was created. |
String |
getPlatform()
Returns the platform property of this identification, which specifies the toolkit and the platform on which the application is running, e.g. |
AUID |
getProductID()
Returns the product id of this identification, which uniquely identifies the application. |
String |
getProductName()
Returns the product name of this identification, which specifies the name of the application. |
ProductVersion |
getProductVersion()
Gets the product version property associated with this identification, which specifies the version number of the application. |
String |
getProductVersionString()
Returns the product version string of this identification, which specifies the version number of the application in string form. |
ProductVersion |
getRefImplVersion()
Returns the reference implementation which created this identification object. |
void |
setProductVersion(ProductVersion version)
Set the product version property of this identification, which specifies the version number of the application. |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Method Detail |
---|
@AAFString String getCompanyName()
Returns the company name property of this identification, which specifies the name of the company or organization that created the application.
@AAFString String getProductName()
Returns the product name of this identification, which specifies the name of the application.
@AAFString String getProductVersionString()
Returns the product version string of this identification, which specifies the version number of the application in string form.
ProductVersion getProductVersion() throws PropertyNotPresentException
Gets the product version property associated with this identification, which specifies the version number of the application. This is an optional property.
PropertyNotPresentException
- The optional product version property is
not present in this identification.void setProductVersion(ProductVersion version)
Set the product version property of this identification, which specifies the
version number of the application. Set this optional property to null
to
omit it.
version
- Product version to set for this identification.AUID getProductID()
Returns the product id of this identification, which uniquely identifies the application.
TimeStamp getDate()
Returns the time stamp property of this identification. The date-time stamp recorded in this object corresponds to the time that this file was created or modified on the occasion that this identification was added to the file.
Header.appendIdentification(Identification)
ProductVersion getRefImplVersion()
Returns the reference implementation which created this identification object.
@AAFString String getPlatform() throws PropertyNotPresentException
Returns the platform property of this identification, which specifies the toolkit and the platform on which the application is running, e.g. "MAJ API". This is an optional property.
This information is provided only to allow diagnostic printing of platform information to be read by humans. The format of the strings is not guaranteed to remain the same for a given platform.
PropertyNotPresentException
- The optional platform property
is not present in this identification.AUID getGenerationAUID()
Returns the generation identifier of this AAF file, which is an AUID that was generated at the time this identification was created. If a file was opened for modification by many applications in its lifetime, then there will be multiple Identification objects.
Note that this is a read-only property automatically generated by the implementation.
getGenerationAUID
in interface InterchangeObject
InterchangeObject.getGeneration()
,
getGenerationAUID()
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |