
**Inheritance:**
java.lang.Object, [com.aspose.psd.xmp.types.XmpTypeBase](../../com.aspose.psd.xmp.types/xmptypebase), [com.aspose.psd.xmp.types.complex.ComplexTypeBase](../../com.aspose.psd.xmp.types.complex/complextypebase)
```
public final class Version extends ComplexTypeBase
```

Describes one version of a document.
## Constructors

| Constructor | Description |
| --- | --- |
| [Version()](#Version--) | Initializes a new instance of the  Version  class. |
## Methods

| Method | Description |
| --- | --- |
| [add(String key, Object value)](#add-java.lang.String-java.lang.Object-) | Adds the specified key. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getComments()](#getComments--) | Gets or sets the comments. |
| [getModifiedDate()](#getModifiedDate--) | Gets or sets the modified date. |
| [getModifier()](#getModifier--) | Gets or sets the modifier. |
| [getNamespaceUri()](#getNamespaceUri--) | Gets the default namespace URI. |
| [getPrefix()](#getPrefix--) | Gets the prefix. |
| [getVersionEvent()](#getVersionEvent--) | Gets or sets the  ResourceEvent . |
| [getVersionText()](#getVersionText--) | Gets or sets the version text. |
| [getXmpRepresentation()](#getXmpRepresentation--) | Gets the string contained value in XMP format. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setComments(String value)](#setComments-java.lang.String-) | Gets or sets the comments. |
| [setModifiedDate(Date value)](#setModifiedDate-java.util.Date-) | Gets or sets the modified date. |
| [setModifier(String value)](#setModifier-java.lang.String-) | Gets or sets the modifier. |
| [setVersionEvent(ResourceEvent value)](#setVersionEvent-com.aspose.psd.xmp.types.complex.resourceevent.ResourceEvent-) | Gets or sets the  ResourceEvent . |
| [setVersionText(String value)](#setVersionText-java.lang.String-) | Gets or sets the version text. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### Version() {#Version--}
```
public Version()
```


Initializes a new instance of the  Version  class.

### add(String key, Object value) {#add-java.lang.String-java.lang.Object-}
```
public void add(String key, Object value)
```


Adds the specified key.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| key | java.lang.String | The string representation of key that is identified with added value. |
| value | java.lang.Object | The value to add to. |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getComments() {#getComments--}
```
public String getComments()
```


Gets or sets the comments.

**Returns:**
java.lang.String - The comments.
### getModifiedDate() {#getModifiedDate--}
```
public Date getModifiedDate()
```


Gets or sets the modified date.

**Returns:**
java.util.Date - The modified date.
### getModifier() {#getModifier--}
```
public String getModifier()
```


Gets or sets the modifier.

**Returns:**
java.lang.String - The modifier.
### getNamespaceUri() {#getNamespaceUri--}
```
public String getNamespaceUri()
```


Gets the default namespace URI.

**Returns:**
java.lang.String - The default namespace URI.
### getPrefix() {#getPrefix--}
```
public String getPrefix()
```


Gets the prefix.

**Returns:**
java.lang.String - The prefix.
### getVersionEvent() {#getVersionEvent--}
```
public ResourceEvent getVersionEvent()
```


Gets or sets the  ResourceEvent .

**Returns:**
[ResourceEvent](../../com.aspose.psd.xmp.types.complex.resourceevent/resourceevent) - The version event.
### getVersionText() {#getVersionText--}
```
public String getVersionText()
```


Gets or sets the version text.

**Returns:**
java.lang.String - The version text.
### getXmpRepresentation() {#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() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setComments(String value) {#setComments-java.lang.String-}
```
public void setComments(String value)
```


Gets or sets the comments.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The comments. |

### setModifiedDate(Date value) {#setModifiedDate-java.util.Date-}
```
public void setModifiedDate(Date value)
```


Gets or sets the modified date.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.util.Date | The modified date. |

### setModifier(String value) {#setModifier-java.lang.String-}
```
public void setModifier(String value)
```


Gets or sets the modifier.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The modifier. |

### setVersionEvent(ResourceEvent value) {#setVersionEvent-com.aspose.psd.xmp.types.complex.resourceevent.ResourceEvent-}
```
public void setVersionEvent(ResourceEvent value)
```


Gets or sets the  ResourceEvent .

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [ResourceEvent](../../com.aspose.psd.xmp.types.complex.resourceevent/resourceevent) | The version event. |

### setVersionText(String value) {#setVersionText-java.lang.String-}
```
public void setVersionText(String value)
```


Gets or sets the version text.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The version text. |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

