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

Represents one set of diagram validation rules.
## Constructors

| Constructor | Description |
| --- | --- |
| [RuleSet()](#RuleSet--) | Constructor. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getDescription()](#getDescription--) | Specifies the description of the validation rule set that appears in the user interface. |
| [getEnabled()](#getEnabled--) | Specifies whether the rules in the specified validation rule set are checked when validation is triggered for the current document. |
| [getID()](#getID--) | Specifies the unique identifier of the validation rule set. |
| [getName()](#getName--) | Specifies the local name of the validation rule set. |
| [getNameU()](#getNameU--) | Specifies the universal name of the validation rule set. |
| [getRuleSetFlags()](#getRuleSetFlags--) | Specifies whether the rule set appears in the Rules to Check list. |
| [getRules()](#getRules--) | Rule collection. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setDescription(String value)](#setDescription-java.lang.String-) | For the description of this property, please see [getDescription()](../../com.aspose.diagram/ruleset\#getDescription--) |
| [setEnabled(int value)](#setEnabled-int-) | For the description of this property, please see [getEnabled()](../../com.aspose.diagram/ruleset\#getEnabled--) |
| [setID(long value)](#setID-long-) | For the description of this property, please see [getID()](../../com.aspose.diagram/ruleset\#getID--) |
| [setName(String value)](#setName-java.lang.String-) | For the description of this property, please see [getName()](../../com.aspose.diagram/ruleset\#getName--) |
| [setNameU(String value)](#setNameU-java.lang.String-) | For the description of this property, please see [getNameU()](../../com.aspose.diagram/ruleset\#getNameU--) |
| [setRuleSetFlags(int value)](#setRuleSetFlags-int-) | For the description of this property, please see [getRuleSetFlags()](../../com.aspose.diagram/ruleset\#getRuleSetFlags--) |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### RuleSet() {#RuleSet--}
```
public RuleSet()
```


Constructor.

### 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<?>
### getDescription() {#getDescription--}
```
public String getDescription()
```


Specifies the description of the validation rule set that appears in the user interface. Default is an empty string.

**Returns:**
java.lang.String
### getEnabled() {#getEnabled--}
```
public int getEnabled()
```


Specifies whether the rules in the specified validation rule set are checked when validation is triggered for the current document. Default is True.

**Returns:**
int
### getID() {#getID--}
```
public long getID()
```


Specifies the unique identifier of the validation rule set.

**Returns:**
long
### getName() {#getName--}
```
public String getName()
```


Specifies the local name of the validation rule set. Defaults to NameU attribute value.

**Returns:**
java.lang.String
### getNameU() {#getNameU--}
```
public String getNameU()
```


Specifies the universal name of the validation rule set.

**Returns:**
java.lang.String
### getRuleSetFlags() {#getRuleSetFlags--}
```
public int getRuleSetFlags()
```


Specifies whether the rule set appears in the Rules to Check list.

**Returns:**
int
### getRules() {#getRules--}
```
public RuleCollection getRules()
```


Rule collection.

**Returns:**
[RuleCollection](../../com.aspose.diagram/rulecollection)
### hashCode() {#hashCode--}
```
public native int hashCode()
```




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




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




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


For the description of this property, please see [getDescription()](../../com.aspose.diagram/ruleset\#getDescription--)

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

### setEnabled(int value) {#setEnabled-int-}
```
public void setEnabled(int value)
```


For the description of this property, please see [getEnabled()](../../com.aspose.diagram/ruleset\#getEnabled--)

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

### setID(long value) {#setID-long-}
```
public void setID(long value)
```


For the description of this property, please see [getID()](../../com.aspose.diagram/ruleset\#getID--)

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

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


For the description of this property, please see [getName()](../../com.aspose.diagram/ruleset\#getName--)

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

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


For the description of this property, please see [getNameU()](../../com.aspose.diagram/ruleset\#getNameU--)

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

### setRuleSetFlags(int value) {#setRuleSetFlags-int-}
```
public void setRuleSetFlags(int value)
```


For the description of this property, please see [getRuleSetFlags()](../../com.aspose.diagram/ruleset\#getRuleSetFlags--)

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

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

