Version

Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase, com.aspose.imaging.xmp.types.complex.ComplexTypeBase

public final class Version extends ComplexTypeBase

Describes one version of a document.

Constructors

ConstructorDescription
Version()Initializes a new instance of the Version class.

Methods

MethodDescription
getComments()Gets or sets the comments.
setComments(String value)Gets or sets the comments.
getVersionEvent()Gets or sets the ResourceEvent.
setVersionEvent(ResourceEvent value)Gets or sets the ResourceEvent.
getModifier()Gets or sets the modifier.
setModifier(String value)Gets or sets the modifier.
getModifiedDate()Gets or sets the modified date.
setModifiedDate(Date value)Gets or sets the modified date.
getVersionText()Gets or sets the version text.
setVersionText(String value)Gets or sets the version text.
getXmpRepresentation()Gets the string contained value in XMP format.

Version()

public Version()

Initializes a new instance of the Version class.

getComments()

public String getComments()

Gets or sets the comments.

Returns: java.lang.String - The comments.

setComments(String value)

public void setComments(String value)

Gets or sets the comments.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe comments.

getVersionEvent()

public ResourceEvent getVersionEvent()

Gets or sets the ResourceEvent.

Returns: ResourceEvent - The version event.

setVersionEvent(ResourceEvent value)

public void setVersionEvent(ResourceEvent value)

Gets or sets the ResourceEvent.

Parameters:

ParameterTypeDescription
valueResourceEventThe version event.

getModifier()

public String getModifier()

Gets or sets the modifier.

Returns: java.lang.String - The modifier.

setModifier(String value)

public void setModifier(String value)

Gets or sets the modifier.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe modifier.

getModifiedDate()

public Date getModifiedDate()

Gets or sets the modified date.

Returns: java.util.Date - The modified date.

setModifiedDate(Date value)

public void setModifiedDate(Date value)

Gets or sets the modified date.

Parameters:

ParameterTypeDescription
valuejava.util.DateThe modified date.

getVersionText()

public String getVersionText()

Gets or sets the version text.

Returns: java.lang.String - The version text.

setVersionText(String value)

public void setVersionText(String value)

Gets or sets the version text.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe version text.

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

Returns: java.lang.String - Returns the string contained value in XMP format.