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

Represents XMP Boolean basic type.
## Constructors

| Constructor | Description |
| --- | --- |
| [XmpBoolean(boolean value)](#XmpBoolean-boolean-) | Initializes a new instance of the  XmpBoolean  class based on boolean value. |
| [XmpBoolean()](#XmpBoolean--) | Initializes a new instance of the  XmpBoolean  class with default value. |
| [XmpBoolean(String value)](#XmpBoolean-java.lang.String-) | Initializes a new instance of the  XmpBoolean  class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getValue()](#getValue--) | Gets or sets a value indicating whether this  XmpBoolean  is value. |
| [getXmpRepresentation()](#getXmpRepresentation--) | Returns string contained value in XMP format. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setValue(boolean value)](#setValue-boolean-) | Gets or sets a value indicating whether this  XmpBoolean  is value. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### XmpBoolean(boolean value) {#XmpBoolean-boolean-}
```
public XmpBoolean(boolean value)
```


Initializes a new instance of the  XmpBoolean  class based on boolean value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | The Boolean value. Allowed values are True or False. |

### XmpBoolean() {#XmpBoolean--}
```
public XmpBoolean()
```


Initializes a new instance of the  XmpBoolean  class with default value.

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


Initializes a new instance of the  XmpBoolean  class.

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

### 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<?>
### getValue() {#getValue--}
```
public boolean getValue()
```


Gets or sets a value indicating whether this  XmpBoolean  is value.

Value:  true  if value; otherwise,  false .

**Returns:**
boolean
### getXmpRepresentation() {#getXmpRepresentation--}
```
public String getXmpRepresentation()
```


Returns string contained value in XMP format.

**Returns:**
java.lang.String - Returns 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()
```




### setValue(boolean value) {#setValue-boolean-}
```
public void setValue(boolean value)
```


Gets or sets a value indicating whether this  XmpBoolean  is value.

Value:  true  if value; otherwise,  false .

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

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

