**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.opendocument.OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject), [com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odgraphicobject)
```
public class OdEquation extends OdGraphicObject
```

The open document equation
## Constructors

| Constructor | Description |
| --- | --- |
| [OdEquation(OdObject parent)](#OdEquation-com.aspose.imaging.fileformats.opendocument.OdObject-) | Initializes a new instance of the `OdEquation` class. |
## Methods

| Method | Description |
| --- | --- |
| [getName()](#getName--) | Gets or sets the name. |
| [setName(String value)](#setName-java.lang.String-) | Gets or sets the name. |
| [getFormula()](#getFormula--) | Gets or sets the formula. |
| [setFormula(String value)](#setFormula-java.lang.String-) | Gets or sets the formula. |
| [getValue()](#getValue--) | Gets or sets the value. |
| [setValue(float value)](#setValue-float-) | Gets or sets the value. |
### OdEquation(OdObject parent) {#OdEquation-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdEquation(OdObject parent)
```


Initializes a new instance of the `OdEquation` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | The parent. |

### getName() {#getName--}
```
public String getName()
```


Gets or sets the name.

**Returns:**
java.lang.String - The name.
### setName(String value) {#setName-java.lang.String-}
```
public void setName(String value)
```


Gets or sets the name.

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

### getFormula() {#getFormula--}
```
public String getFormula()
```


Gets or sets the formula.

**Returns:**
java.lang.String - The formula.
### setFormula(String value) {#setFormula-java.lang.String-}
```
public void setFormula(String value)
```


Gets or sets the formula.

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

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


Gets or sets the value.

**Returns:**
float - The value.
### setValue(float value) {#setValue-float-}
```
public void setValue(float value)
```


Gets or sets the value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The value. |

