
**Inheritance:**
java.lang.Object
```
public class OmrTemplate
```

Represents omr template
## Constructors

| Constructor | Description |
| --- | --- |
| [OmrTemplate()](#OmrTemplate) | Initializes a new instance of the [OmrTemplate](../../com.aspose.omr/omrtemplate/) class |
## Fields

| Field | Description |
| --- | --- |
| [Version](#Version) | Gets or sets template markup version |
## Methods

| Method | Description |
| --- | --- |
| [addPage()](#addPage) | Adds page to template |
| [equals(Object arg0)](#equals-java.lang.Object) |  |
| [getClass()](#getClass) |  |
| [getFinalizationComplete()](#getFinalizationComplete) |  |
| [getName()](#getName) | Gets or sets template name |
| [getPages()](#getPages) | Gets list of pages in template |
| [getTemplateId()](#getTemplateId) |  |
| [hashCode()](#hashCode) |  |
| [isGenerated()](#isGenerated) |  |
| [notify()](#notify) |  |
| [notifyAll()](#notifyAll) |  |
| [setFinalizationComplete(boolean value)](#setFinalizationComplete-boolean) |  |
| [setGenerated(boolean value)](#setGenerated-boolean) |  |
| [setName(String value)](#setName-java.lang.String) | Gets or sets template name |
| [setPages(System.Collections.Generic.List<OmrPage> value)](#setPages-com.aspose.ms.System.Collections.Generic.List-com.aspose.omr.OmrPage) | Sets list of pages in template |
| [setTemplateId(String value)](#setTemplateId-java.lang.String) |  |
| [toString()](#toString) |  |
| [wait()](#wait) |  |
| [wait(long arg0)](#wait-long) |  |
| [wait(long arg0, int arg1)](#wait-long-int) |  |
### OmrTemplate() {#OmrTemplate}
```
public OmrTemplate()
```


Initializes a new instance of the [OmrTemplate](../../com.aspose.omr/omrtemplate/) class

### Version {#Version}
```
public final String Version
```


Gets or sets template markup version

### addPage() {#addPage}
```
public final OmrPage addPage()
```


Adds page to template

**Returns:**
[OmrPage](../../com.aspose.omr/omrpage/) - Created page
### 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<?>
### getFinalizationComplete() {#getFinalizationComplete}
```
public final boolean getFinalizationComplete()
```




**Returns:**
boolean
### getName() {#getName}
```
public final String getName()
```


Gets or sets template name

**Returns:**
java.lang.String - template name
### getPages() {#getPages}
```
public final System.Collections.Generic.List<OmrPage> getPages()
```


Gets list of pages in template

**Returns:**
com.aspose.ms.System.Collections.Generic.List<com.aspose.omr.OmrPage> - list of pages in template
### getTemplateId() {#getTemplateId}
```
public final String getTemplateId()
```




**Returns:**
java.lang.String
### hashCode() {#hashCode}
```
public native int hashCode()
```




**Returns:**
int
### isGenerated() {#isGenerated}
```
public final boolean isGenerated()
```




**Returns:**
boolean
### notify() {#notify}
```
public final native void notify()
```




### notifyAll() {#notifyAll}
```
public final native void notifyAll()
```




### setFinalizationComplete(boolean value) {#setFinalizationComplete-boolean}
```
public final void setFinalizationComplete(boolean value)
```




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

### setGenerated(boolean value) {#setGenerated-boolean}
```
public final void setGenerated(boolean value)
```




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

### setName(String value) {#setName-java.lang.String}
```
public final void setName(String value)
```


Gets or sets template name

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

### setPages(System.Collections.Generic.List<OmrPage> value) {#setPages-com.aspose.ms.System.Collections.Generic.List-com.aspose.omr.OmrPage}
```
public final void setPages(System.Collections.Generic.List<OmrPage> value)
```


Sets list of pages in template

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | com.aspose.ms.System.Collections.Generic.List<com.aspose.omr.OmrPage> | list of pages in template |

### setTemplateId(String value) {#setTemplateId-java.lang.String}
```
public final void setTemplateId(String value)
```




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

