---
title: "AnnotationStateModel"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/annotationstatemodel/"
product: "Aspose.PDF for Java API Reference"
description: "The state model corresponding to state of annotation."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < AnnotationStateModel > com.aspose.pdf.AnnotationStateModel, java.lang.Enum < AnnotationStateModel >, com.aspose.pdf.AnnotationStateModel

**All Implemented Interfaces:**
Serializable, Comparable < AnnotationStateModel >

```
public enum AnnotationStateModel extends Enum < AnnotationStateModel >
```

The state model corresponding to state of annotation.

## Fields

| Field | Description |
| --- | --- |
| [Marked](#Marked) | The annotation has been marked (or unmarked) by the user. |
| [Review](#Review) | The annotation has been reviewed (accepted, rejected, cancelled, completed, none) by the user. |
| [Undefined](#Undefined) | Not defined state model. |

## Methods

| Method | Description |
| --- | --- |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Marked {#Marked}
```
public static final AnnotationStateModel Marked
```

The annotation has been marked (or unmarked) by the user.

### Review {#Review}
```
public static final AnnotationStateModel Review
```

The annotation has been reviewed (accepted, rejected, cancelled, completed, none) by the user.

### Undefined {#Undefined}
```
public static final AnnotationStateModel Undefined
```

Not defined state model.

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



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static AnnotationStateModel [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
