**Inheritance:**
java.lang.Object, [com.aspose.imaging.xmp.types.XmpTypeBase](../../com.aspose.imaging.xmp.types/xmptypebase), [com.aspose.imaging.xmp.types.complex.ComplexTypeBase](../../com.aspose.imaging.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 |
| --- | --- |
| [getComments()](#getComments--) | Gets or sets the comments. |
| [setComments(String value)](#setComments-java.lang.String-) | Gets or sets the comments. |
| [getVersionEvent()](#getVersionEvent--) | Gets or sets the `ResourceEvent`. |
| [setVersionEvent(ResourceEvent value)](#setVersionEvent-com.aspose.imaging.xmp.types.complex.resourceevent.ResourceEvent-) | Gets or sets the `ResourceEvent`. |
| [getModifier()](#getModifier--) | Gets or sets the modifier. |
| [setModifier(String value)](#setModifier-java.lang.String-) | Gets or sets the modifier. |
| [getModifiedDate()](#getModifiedDate--) | Gets or sets the modified date. |
| [setModifiedDate(Date value)](#setModifiedDate-java.util.Date-) | Gets or sets the modified date. |
| [getVersionText()](#getVersionText--) | Gets or sets the version text. |
| [setVersionText(String value)](#setVersionText-java.lang.String-) | Gets or sets the version text. |
| [getXmpRepresentation()](#getXmpRepresentation--) | Gets the string contained value in XMP format. |
### Version() {#Version--}
```
public Version()
```


Initializes a new instance of the `Version` class.

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


Gets or sets the comments.

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

### getVersionEvent() {#getVersionEvent--}
```
public ResourceEvent getVersionEvent()
```


Gets or sets the `ResourceEvent`.

**Returns:**
[ResourceEvent](../../com.aspose.imaging.xmp.types.complex.resourceevent/resourceevent) - The version event.
### setVersionEvent(ResourceEvent value) {#setVersionEvent-com.aspose.imaging.xmp.types.complex.resourceevent.ResourceEvent-}
```
public void setVersionEvent(ResourceEvent value)
```


Gets or sets the `ResourceEvent`.

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

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


Gets or sets the modifier.

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

### getModifiedDate() {#getModifiedDate--}
```
public Date getModifiedDate()
```


Gets or sets the modified date.

**Returns:**
java.util.Date - The modified date.
### 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. |

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


Gets or sets the version text.

**Returns:**
java.lang.String - The version text.
### 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. |

### 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.
