Version

Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase, com.aspose.psd.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
add(String key, Object value)Adds the specified key.
equals(Object arg0)
getClass()
getComments()Gets or sets the comments.
getModifiedDate()Gets or sets the modified date.
getModifier()Gets or sets the modifier.
getNamespaceUri()Gets the default namespace URI.
getPrefix()Gets the prefix.
getVersionEvent()Gets or sets the ResourceEvent .
getVersionText()Gets or sets the version text.
getXmpRepresentation()Gets the string contained value in XMP format.
hashCode()
notify()
notifyAll()
setComments(String value)Gets or sets the comments.
setModifiedDate(Date value)Gets or sets the modified date.
setModifier(String value)Gets or sets the modifier.
setVersionEvent(ResourceEvent value)Gets or sets the ResourceEvent .
setVersionText(String value)Gets or sets the version text.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Version()

public Version()

Initializes a new instance of the Version class.

add(String key, Object value)

public void add(String key, Object value)

Adds the specified key.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valuejava.lang.ObjectThe value to add to.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getComments()

public String getComments()

Gets or sets the comments.

Returns: java.lang.String - The comments.

getModifiedDate()

public Date getModifiedDate()

Gets or sets the modified date.

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

getModifier()

public String getModifier()

Gets or sets the modifier.

Returns: java.lang.String - The modifier.

getNamespaceUri()

public String getNamespaceUri()

Gets the default namespace URI.

Returns: java.lang.String - The default namespace URI.

getPrefix()

public String getPrefix()

Gets the prefix.

Returns: java.lang.String - The prefix.

getVersionEvent()

public ResourceEvent getVersionEvent()

Gets or sets the ResourceEvent .

Returns: ResourceEvent - The version event.

getVersionText()

public String getVersionText()

Gets or sets the version text.

Returns: java.lang.String - The 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.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setComments(String value)

public void setComments(String value)

Gets or sets the comments.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe comments.

setModifiedDate(Date value)

public void setModifiedDate(Date value)

Gets or sets the modified date.

Parameters:

ParameterTypeDescription
valuejava.util.DateThe modified date.

setModifier(String value)

public void setModifier(String value)

Gets or sets the modifier.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe modifier.

setVersionEvent(ResourceEvent value)

public void setVersionEvent(ResourceEvent value)

Gets or sets the ResourceEvent .

Parameters:

ParameterTypeDescription
valueResourceEventThe version event.

setVersionText(String value)

public void setVersionText(String value)

Gets or sets the version text.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe version text.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int