**Inheritance:**
java.lang.Object
```
public final class PropertyItem
```

Encapsulates a metadata property to be included in an image file. Not inheritable.
## Methods

| Method | Description |
| --- | --- |
| [getId()](#getId--) | Gets the ID of the property. |
| [setId(int value)](#setId-int-) | Sets the ID of the property. |
| [getLen()](#getLen--) | Gets the length (in bytes) of the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property. |
| [setLen(int value)](#setLen-int-) | Sets the length (in bytes) of the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property. |
| [getType()](#getType--) | Gets an integer that defines the type of data contained in the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property. |
| [setType(short value)](#setType-short-) | Sets an integer that defines the type of data contained in the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property. |
| [getValue()](#getValue--) | Gets the value of the property item. |
| [setValue(byte[] value)](#setValue-byte---) | Sets the value of the property item. |
### getId() {#getId--}
```
public int getId()
```


Gets the ID of the property.

**Returns:**
int - The integer that represents the ID of the property.
### setId(int value) {#setId-int-}
```
public void setId(int value)
```


Sets the ID of the property.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the ID of the property. |

### getLen() {#getLen--}
```
public int getLen()
```


Gets the length (in bytes) of the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property.

**Returns:**
int - An integer that represents the length (in bytes) of the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) byte array.
### setLen(int value) {#setLen-int-}
```
public void setLen(int value)
```


Sets the length (in bytes) of the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the length (in bytes) of the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property. |

### getType() {#getType--}
```
public short getType()
```


Gets an integer that defines the type of data contained in the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property.

**Returns:**
short - An integer that defines the type of data contained in `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)).
### setType(short value) {#setType-short-}
```
public void setType(short value)
```


Sets an integer that defines the type of data contained in the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short | an integer that defines the type of data contained in the `Value`([.getValue](../../null/\#getValue)/[.setValue(byte[])](../../null/\#setValue-byte---)) property. |

### getValue() {#getValue--}
```
public byte[] getValue()
```


Gets the value of the property item.

**Returns:**
byte[] - A byte array that represents the value of the property item.
### setValue(byte[] value) {#setValue-byte---}
```
public void setValue(byte[] value)
```


Sets the value of the property item.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | byte[] | the value of the property item. |

