**Inheritance:**
java.lang.Object, [com.aspose.imaging.xmp.types.XmpTypeBase](../../com.aspose.imaging.xmp.types/xmptypebase)
```
public final class XmpInteger extends XmpTypeBase
```

Represents XMP Integer basic type.
## Constructors

| Constructor | Description |
| --- | --- |
| [XmpInteger(long value)](#XmpInteger-long-) | Initializes a new instance of the `XmpInteger` class. |
| [XmpInteger(int value)](#XmpInteger-int-) | Initializes a new instance of the `XmpInteger` class. |
| [XmpInteger(String value)](#XmpInteger-java.lang.String-) | Initializes a new instance of the `XmpInteger` class. |
## Methods

| Method | Description |
| --- | --- |
| [getValue()](#getValue--) | Gets or sets the value. |
| [setValue(long value)](#setValue-long-) | Gets or sets the value. |
| [getXmpRepresentation()](#getXmpRepresentation--) | Gets the string contained value in XMP format. |
### XmpInteger(long value) {#XmpInteger-long-}
```
public XmpInteger(long value)
```


Initializes a new instance of the `XmpInteger` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | long | The value. |

### XmpInteger(int value) {#XmpInteger-int-}
```
public XmpInteger(int value)
```


Initializes a new instance of the `XmpInteger` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The value. |

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


Initializes a new instance of the `XmpInteger` class.

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

### getValue() {#getValue--}
```
public long getValue()
```


Gets or sets the value.

Value: The value.

**Returns:**
long
### setValue(long value) {#setValue-long-}
```
public void setValue(long value)
```


Gets or sets the value.

Value: The value.

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

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