
**Inheritance:**
java.lang.Object
```
public class Scenario
```

Represents an individual scenario.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getComment()](#getComment--) | Gets the comment of scenario. |
| [getInputCells()](#getInputCells--) | Gets the input cells of scenario. |
| [getName()](#getName--) | Gets the name of scenario. |
| [getUser()](#getUser--) | Gets name of user who last changed the scenario. |
| [hashCode()](#hashCode--) |  |
| [isHidden()](#isHidden--) | Indicates whether scenario is hidden. |
| [isLocked()](#isLocked--) | Indicates whether scenario is locked for editing when the sheet is protected. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setComment(String value)](#setComment-java.lang.String-) | Sets the comment of scenario. |
| [setHidden(boolean value)](#setHidden-boolean-) | Indicates whether scenario is hidden. |
| [setLocked(boolean value)](#setLocked-boolean-) | Indicates whether scenario is locked for editing when the sheet is protected. |
| [setName(String value)](#setName-java.lang.String-) | Sets the name of scenario. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### 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<?>
### getComment() {#getComment--}
```
public String getComment()
```


Gets the comment of scenario.

**Returns:**
java.lang.String
### getInputCells() {#getInputCells--}
```
public ScenarioInputCellCollection getInputCells()
```


Gets the input cells of scenario.

**Returns:**
[ScenarioInputCellCollection](../../com.aspose.cells/scenarioinputcellcollection)
### getName() {#getName--}
```
public String getName()
```


Gets the name of scenario.

**Returns:**
java.lang.String
### getUser() {#getUser--}
```
public String getUser()
```


Gets name of user who last changed the scenario.

**Returns:**
java.lang.String
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### isHidden() {#isHidden--}
```
public boolean isHidden()
```


Indicates whether scenario is hidden.

**Returns:**
boolean
### isLocked() {#isLocked--}
```
public boolean isLocked()
```


Indicates whether scenario is locked for editing when the sheet is protected.

**Returns:**
boolean
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setComment(String value) {#setComment-java.lang.String-}
```
public void setComment(String value)
```


Sets the comment of scenario.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setHidden(boolean value) {#setHidden-boolean-}
```
public void setHidden(boolean value)
```


Indicates whether scenario is hidden.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setLocked(boolean value) {#setLocked-boolean-}
```
public void setLocked(boolean value)
```


Indicates whether scenario is locked for editing when the sheet is protected.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setName(String value) {#setName-java.lang.String-}
```
public void setName(String value)
```


Sets the name of scenario.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### 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 |  |

