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

Contains elements that define a shape and relationflag.
## Constructors

| Constructor | Description |
| --- | --- |
| [RelationShape()](#RelationShape--) |  |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getFlag()](#getFlag--) | flag |
| [getShape()](#getShape--) | the shape |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setFlag(int value)](#setFlag-int-) | For the description of this property, please see [getFlag()](../../com.aspose.diagram/relationshape\#getFlag--) |
| [setShape(Shape value)](#setShape-com.aspose.diagram.Shape-) | For the description of this property, please see [getShape()](../../com.aspose.diagram/relationshape\#getShape--) |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### RelationShape() {#RelationShape--}
```
public RelationShape()
```


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


flag

**Returns:**
int
### getShape() {#getShape--}
```
public Shape getShape()
```


the shape

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




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




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




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


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

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

### setShape(Shape value) {#setShape-com.aspose.diagram.Shape-}
```
public void setShape(Shape value)
```


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

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Shape](../../com.aspose.diagram/shape) |  |

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

