
**Inheritance:**
java.lang.Object
```
public final class ProtectionType
```

Represents workbook/worksheet protection type.
## Fields

| Field | Description |
| --- | --- |
| [ALL](#ALL) | Represents to protect all. |
| [CONTENTS](#CONTENTS) | Represents to protect contents, used in Worksheet protection. |
| [NONE](#NONE) | Represents no protection. |
| [OBJECTS](#OBJECTS) | Represents to protect objects, used in Worksheet protection. |
| [SCENARIOS](#SCENARIOS) | Represents to protect scenarios, used in Worksheet protection. |
| [STRUCTURE](#STRUCTURE) | Represents to protect structure, used in Workbook protection. |
| [WINDOWS](#WINDOWS) | Represents to protect window, used in Workbook protection. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### ALL {#ALL}
```
public static final int ALL
```


Represents to protect all.

### CONTENTS {#CONTENTS}
```
public static final int CONTENTS
```


Represents to protect contents, used in Worksheet protection.

### NONE {#NONE}
```
public static final int NONE
```


Represents no protection. Only for Reading property.

### OBJECTS {#OBJECTS}
```
public static final int OBJECTS
```


Represents to protect objects, used in Worksheet protection.

### SCENARIOS {#SCENARIOS}
```
public static final int SCENARIOS
```


Represents to protect scenarios, used in Worksheet protection.

### STRUCTURE {#STRUCTURE}
```
public static final int STRUCTURE
```


Represents to protect structure, used in Workbook protection.

### WINDOWS {#WINDOWS}
```
public static final int WINDOWS
```


Represents to protect window, used in Workbook protection.

### 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<?>
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native 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 |  |

