---
title: "AFRelationship"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/afrelationship/"
product: "Aspose.PDF for Java API Reference"
description: "Enumeration describes associated files relationship."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < AFRelationship > com.aspose.pdf.AFRelationship, java.lang.Enum < AFRelationship >, com.aspose.pdf.AFRelationship

**All Implemented Interfaces:**
Serializable, Comparable < AFRelationship >

```
public enum AFRelationship extends Enum < AFRelationship >
```

Enumeration describes associated files relationship.

## Fields

| Field | Description |
| --- | --- |
| [Alternative](#Alternative) | Alternative |
| [Data](#Data) | Data |
| [EncryptedPayload](#EncryptedPayload) | EncryptedPayload |
| [None](#None) | None |
| [Source](#Source) | Source |
| [Supplement](#Supplement) | Supplement |
| [Unspecified](#Unspecified) | Unspecified |

## Methods

| Method | Description |
| --- | --- |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Alternative {#Alternative}
```
public static final AFRelationship Alternative
```

Alternative

### Data {#Data}
```
public static final AFRelationship Data
```

Data

### EncryptedPayload {#EncryptedPayload}
```
public static final AFRelationship EncryptedPayload
```

EncryptedPayload

### None {#None}
```
public static final AFRelationship None
```

None

### Source {#Source}
```
public static final AFRelationship Source
```

Source

### Supplement {#Supplement}
```
public static final AFRelationship Supplement
```

Supplement

### Unspecified {#Unspecified}
```
public static final AFRelationship Unspecified
```

Unspecified

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



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static AFRelationship [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
