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

Represents a WBS Code Definition.
## Constructors

| Constructor | Description |
| --- | --- |
| [WBSCodeDefinition()](#WBSCodeDefinition--) | Initializes a new instance of the [WBSCodeDefinition](../../com.aspose.tasks/wbscodedefinition) class. |
## Methods

| Method | Description |
| --- | --- |
| [getCodeMaskCollection()](#getCodeMaskCollection--) | Gets the collection of WBSCodeMask objects. |
| [getCodePrefix()](#getCodePrefix--) | Gets the project code prefix. |
| [getGenerateWBSCode()](#getGenerateWBSCode--) | Gets a value indicating whether to generate WBS code for new task. |
| [getVerifyUniqueness()](#getVerifyUniqueness--) | Gets a value indicating whether to verify uniqueness of new WBS codes. |
| [setCodePrefix(String value)](#setCodePrefix-java.lang.String-) | Sets the project code prefix. |
| [setGenerateWBSCode(boolean value)](#setGenerateWBSCode-boolean-) | Sets a value indicating whether to generate WBS code for new task. |
| [setVerifyUniqueness(boolean value)](#setVerifyUniqueness-boolean-) | Sets a value indicating whether to verify uniqueness of new WBS codes. |
### WBSCodeDefinition() {#WBSCodeDefinition--}
```
public WBSCodeDefinition()
```


Initializes a new instance of the [WBSCodeDefinition](../../com.aspose.tasks/wbscodedefinition) class.

### getCodeMaskCollection() {#getCodeMaskCollection--}
```
public final WBSCodeMaskCollection getCodeMaskCollection()
```


Gets the collection of WBSCodeMask objects.

**Returns:**
[WBSCodeMaskCollection](../../com.aspose.tasks/wbscodemaskcollection) - the collection of WBSCodeMask objects.
### getCodePrefix() {#getCodePrefix--}
```
public final String getCodePrefix()
```


Gets the project code prefix.

**Returns:**
java.lang.String - the project code prefix.
### getGenerateWBSCode() {#getGenerateWBSCode--}
```
public final boolean getGenerateWBSCode()
```


Gets a value indicating whether to generate WBS code for new task.

**Returns:**
boolean - a value indicating whether to generate WBS code for new task.
### getVerifyUniqueness() {#getVerifyUniqueness--}
```
public final boolean getVerifyUniqueness()
```


Gets a value indicating whether to verify uniqueness of new WBS codes.

**Returns:**
boolean - a value indicating whether to verify uniqueness of new WBS codes.
### setCodePrefix(String value) {#setCodePrefix-java.lang.String-}
```
public final void setCodePrefix(String value)
```


Sets the project code prefix.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | the project code prefix. |

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


Sets a value indicating whether to generate WBS code for new task.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether to generate WBS code for new task. |

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


Sets a value indicating whether to verify uniqueness of new WBS codes.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether to verify uniqueness of new WBS codes. |

