@MediaClass(uuid1=218169601, uuid2=257, uuid3=12288, uuid4={6,14,43,52,2,6,1,1}, definedName="Identification", description="The Identification class provides information about the application that created or modified the file.", symbol="Identification") public class IdentificationImpl extends InterchangeObjectImpl implements Identification, Serializable, Cloneable
Implements a representation of identity information about the application that created or modified a file.
| Modifier and Type | Field and Description |
|---|---|
static String |
APICompanyName |
static AUID |
APIProductID |
static String |
APIProductName |
static ProductVersion |
APIProductVersion |
static String |
APIProductVersionString |
static ProductVersion |
APIToolkitVersion |
ObjectClassPropertyID| Constructor and Description |
|---|
IdentificationImpl() |
IdentificationImpl(String companyName,
String productName,
String productVersionString,
AUID productID)
Creates and initializes a new identification object, which provides information about
the application that created or modified the current persistent unit.
|
| Modifier and Type | Method and Description |
|---|---|
Identification |
clone()
Create a cloned copy of this interchange object.
|
String |
getApplicationName()
Returns the application name of this identification, which specifies the name
of the application.
|
String |
getApplicationPlatform()
Returns the application platform property of this identification, which
specifies the toolkit and the platform on which the application is
running, e.g.
|
AUID |
getApplicationProductID()
Returns the application product id of this identification, which uniquely identifies
the application.
|
String |
getApplicationProductIDString() |
String |
getApplicationSupplierName()
Returns the application supplier name property of this identification, which specifies the
name of the company or organization that created the application.
|
ProductVersion |
getApplicationVersion()
Gets the application version property associated with this
identification, which specifies the version number of the application.
|
String |
getApplicationVersionPersist() |
String |
getApplicationVersionString()
Returns the application version string of this identification, which
specifies the version number of the application in string form.
|
TimeStamp |
getFileModificationDate()
Returns the file modification date property of
this identification.
|
String |
getFileModificationDateString() |
Identification |
getGeneration()
Gets the generation of this object, which identifies when this object was created
or last modified.
|
AUID |
getGenerationID()
Returns the generation identifier of this AAF file, which is
an AUID that was generated at
the time this identification was created.
|
String |
getGenerationIDString() |
ProductVersion |
getRefImplVersion()
Returns the version number of this SDK library.
|
ProductVersion |
getToolkitVersion()
Returns the reference implementation which created this
identification object.
|
String |
getToolkitVersionString() |
static String |
initializeApplicationName() |
static AUID |
initializeApplicationProductID() |
static String |
initializeApplicationSupplierName() |
static String |
initializeApplicationVersionString() |
static TimeStamp |
initializeFileModificationDate() |
static AUID |
initializeGenerationID() |
void |
setApplicationName(String applicationName) |
void |
setApplicationPlatform(String applicationPlatform) |
void |
setApplicationProductID(AUID applicationProductID) |
void |
setApplicationProductIDString(String applicationProductID) |
void |
setApplicationSupplierName(String applicationSupplierName) |
void |
setApplicationVersion(ProductVersion applicationVersion)
Set the application version property of this identification, which specifies the
version number of the application.
|
void |
setApplicationVersionPersist(String applicationVersion) |
void |
setApplicationVersionString(String applicationVersionString) |
void |
setFileModificationDate(TimeStamp fileModificationDate) |
void |
setFileModificationDateString(String fileModificationDate) |
void |
setGenerationID(AUID generationID) |
void |
setGenerationIDString(String generationID) |
void |
setToolkitVersion(ProductVersion toolkitVersion) |
void |
setToolkitVersionString(String toolkitVersion) |
addApplicationPlugin, appendXMLChildren, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getComment, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexpublic static final String APICompanyName
public static final String APIProductName
public static final ProductVersion APIProductVersion
public static final String APIProductVersionString
public static final AUID APIProductID
public static final ProductVersion APIToolkitVersion
public IdentificationImpl()
public IdentificationImpl(@AAFString String companyName, @AAFString String productName, @AAFString String productVersionString, AUID productID) throws NullPointerException
Creates and initializes a new identification object, which provides information about the application that created or modified the current persistent unit. The mandatory date and generation AUID properties of the identification will be created automatically.
companyName - Name of the company or organization that created the application.productName - Name of the application.productVersionString - Version number of the application in string form.productID - Unique identifier for the application.NullPointerException - One or more of the arguments is null and all
arguments are required.@MediaProperty(uuid1=85985025, uuid2=513, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ApplicationSupplierName", aliases="CompanyName", typeName="UTF16String", optional=false, uniqueIdentifier=false, pid=15361, symbol="ApplicationSupplierName") public String getApplicationSupplierName()
IdentificationReturns the application supplier name property of this identification, which specifies the name of the company or organization that created the application.
getApplicationSupplierName in interface Identification@MediaPropertySetter(value="ApplicationSupplierName") public void setApplicationSupplierName(String applicationSupplierName) throws NullPointerException
NullPointerExceptionpublic static final String initializeApplicationSupplierName()
@MediaProperty(uuid1=117571856, uuid2=515, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="FileModificationDate", aliases={"Date","ModificationDate"}, typeName="TimeStamp", optional=false, uniqueIdentifier=false, pid=15366, symbol="FileModificationDate") public TimeStamp getFileModificationDate()
IdentificationReturns the file modification date 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.
getFileModificationDate in interface IdentificationPreface.appendIdentification(Identification)@MediaPropertySetter(value="FileModificationDate") public void setFileModificationDate(TimeStamp fileModificationDate) throws NullPointerException
NullPointerExceptionpublic static final TimeStamp initializeFileModificationDate()
@MediaProperty(uuid1=85985025, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="GenerationID", aliases="GenerationAUID", typeName="AUID", optional=false, uniqueIdentifier=false, pid=15369, symbol="GenerationID") public AUID getGenerationID()
IdentificationReturns 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.
getGenerationID in interface Identification@MediaPropertySetter(value="GenerationID") public void setGenerationID(AUID generationID) throws NullPointerException
NullPointerExceptionpublic static final AUID initializeGenerationID()
@MediaProperty(uuid1=85985025, uuid2=1537, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ApplicationPlatform", aliases={"Platform","IdentificationPlatform"}, typeName="UTF16String", optional=true, uniqueIdentifier=false, pid=15368, symbol="ApplicationPlatform") public String getApplicationPlatform() throws PropertyNotPresentException
IdentificationReturns the application 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.
getApplicationPlatform in interface IdentificationPropertyNotPresentException - The optional platform property
is not present in this identification.@MediaPropertySetter(value="ApplicationPlatform") public void setApplicationPlatform(String applicationPlatform)
@MediaProperty(uuid1=85985025, uuid2=1792, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ApplicationProductID", aliases="ProductID", typeName="AUID", optional=false, uniqueIdentifier=false, pid=15365, symbol="ApplicationProductID") public AUID getApplicationProductID()
IdentificationReturns the application product id of this identification, which uniquely identifies the application.
getApplicationProductID in interface Identification@MediaPropertySetter(value="ApplicationProductID") public void setApplicationProductID(AUID applicationProductID) throws NullPointerException
NullPointerExceptionpublic static final AUID initializeApplicationProductID()
@MediaProperty(uuid1=85985025, uuid2=769, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ApplicationName", aliases="ProductName", typeName="UTF16String", optional=false, uniqueIdentifier=false, pid=15362, symbol="ApplicationName") public String getApplicationName()
IdentificationReturns the application name of this identification, which specifies the name of the application.
getApplicationName in interface Identification@MediaPropertySetter(value="ApplicationName") public void setApplicationName(String applicationName) throws NullPointerException
NullPointerExceptionpublic static final String initializeApplicationName()
@MediaProperty(uuid1=85985025, uuid2=1024, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ApplicationVersion", aliases="ProductVersion", typeName="ProductVersionType", optional=true, uniqueIdentifier=false, pid=15363, symbol="ApplicationVersion") public ProductVersion getApplicationVersion() throws PropertyNotPresentException
IdentificationGets the application version property associated with this identification, which specifies the version number of the application. This is an optional property.
getApplicationVersion in interface IdentificationPropertyNotPresentException - The optional product version property is
not present in this identification.@MediaPropertySetter(value="ApplicationVersion") public void setApplicationVersion(ProductVersion applicationVersion)
IdentificationSet the application version property of this identification, which specifies the
version number of the application. Set this optional property to null to
omit it.
setApplicationVersion in interface IdentificationapplicationVersion - Application version to set for this identification.@MediaProperty(uuid1=85985025, uuid2=1281, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ApplicationVersionString", aliases="ProductVersionString", typeName="UTF16String", optional=false, uniqueIdentifier=false, pid=15364, symbol="ApplicationVersionString") public String getApplicationVersionString()
IdentificationReturns the application version string of this identification, which specifies the version number of the application in string form.
getApplicationVersionString in interface Identification@MediaPropertySetter(value="ApplicationVersionString") public void setApplicationVersionString(String applicationVersionString) throws NullPointerException
NullPointerExceptionpublic static final String initializeApplicationVersionString()
@MediaProperty(uuid1=85985025, uuid2=2560, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ToolkitVersion", typeName="ProductVersionType", optional=true, uniqueIdentifier=false, pid=15367, symbol="ToolkitVersion") public ProductVersion getToolkitVersion() throws PropertyNotPresentException
Returns the reference implementation which created this identification object.
Same as getRefImplVersion() to use the AAF specification name.
getToolkitVersion in interface IdentificationPropertyNotPresentExceptionIdentification.getRefImplVersion()@MediaPropertySetter(value="ToolkitVersion") public void setToolkitVersion(ProductVersion toolkitVersion)
public ProductVersion getRefImplVersion() throws PropertyNotPresentException
IdentificationReturns the version number of this SDK library.
getRefImplVersion in interface IdentificationPropertyNotPresentExceptionpublic Identification getGeneration()
InterchangeObjectGets the generation of this object, which identifies when this object was created or last modified.
This method will succeed if generation tracking is enabled for
this object. Call InterchangeObject.enableGenerationTracking() and
InterchangeObject.disableGenerationTracking() to control generation tracking for
this object. Call InterchangeObject.isGenerationTracked() to determine if
generation tracking is currently enabled for this object.
getGeneration in interface InterchangeObjectgetGeneration in class InterchangeObjectImplpublic Identification clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface Identificationclone in interface InterchangeObjectclone in class InterchangeObjectImplpublic String getApplicationVersionPersist()
public void setApplicationVersionPersist(String applicationVersion)
public String getApplicationProductIDString()
public void setApplicationProductIDString(String applicationProductID)
public String getFileModificationDateString()
public void setFileModificationDateString(String fileModificationDate)
public String getToolkitVersionString()
public void setToolkitVersionString(String toolkitVersion)
public String getGenerationIDString()
public void setGenerationIDString(String generationID)
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.