# Uses of Enum Class
com.ads.api.beans.common.APIConstants.RelationshipType

Packages that use APIConstants.RelationshipType
Package
Description
com.ads.api.beans.bgm
Contains Collection Classes,Java Bean Classes which are specific to Catalogs, SubCatalogs of Catalogs,Business Terms,Associated BusinessTerms, Associated TechnicalMetadata and Associated Documents related to BusinessTerms.
com.ads.api.beans.common
Contains Collection Classes,Java Bean Classes which are common to all the modules like AMMObjectTypes, APIConstants, ImportHelper etc.
com.ads.api.util
Contains Utility Classes, Collection Classes, Java Bean Classes which are specific to System, Environment, Table, Column, Mappings, Subject, KeyValue Pairs, ROle, Business Glossary Catalog, Document etc...

- ## Uses of APIConstants.RelationshipType in com.ads.api.beans.bgm

  Methods in com.ads.api.beans.bgm that return APIConstants.RelationshipType
  Modifier and Type
  Method
  Description
  `APIConstants.RelationshipType`
  Relationship.`getRelationshipType()`
  Returns the relationshipType of the association object
  Methods in com.ads.api.beans.bgm with parameters of type APIConstants.RelationshipType
  Modifier and Type
  Method
  Description
  `void`
  Relationship.`setRelationshipType(APIConstants.RelationshipType relationshipType)`
  Sets the relationshipType of the association object.

- ## Uses of APIConstants.RelationshipType in com.ads.api.beans.common

  Methods in com.ads.api.beans.common that return APIConstants.RelationshipType
  Modifier and Type
  Method
  Description
  `static APIConstants.RelationshipType`
  APIConstants.RelationshipType.`getRelationshipType(String value)`
  `static APIConstants.RelationshipType`
  APIConstants.RelationshipType.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static APIConstants.RelationshipType[]`
  APIConstants.RelationshipType.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

- ## Uses of APIConstants.RelationshipType in com.ads.api.util

  Methods in com.ads.api.util with parameters of type APIConstants.RelationshipType
  Modifier and Type
  Method
  Description
  `Relationship`
  RelationshipUtil.`getRelationship(int sourceObjectTypeId, int targetObjectTypeId, String title, APIConstants.RelationshipType relationshipType)`
  Returns the relationship object for the specified sourceObjectTypeId, targetObjectTypeId, title and relationshipType.
  `List<Relationship>`
  RelationshipUtil.`getRelationships(int sourceObjectTypeId, String title, APIConstants.RelationshipType relationshipType)`
  Returns the list of relationship objects for the specified sourceObjectTypeId, title and relationshipType.
  `List<Relationship>`
  RelationshipUtil.`getRelationships(APIConstants.RelationshipType relationshipType)`
  Returns the list of relationship objects for the specified relationshipType.
  `List<Relationship>`
  RelationshipUtil.`getRelationships(APIConstants.RelationshipType relationshipType, String title)`
  Returns the list relationship objects for the specified relationshipType and title.