public final enum

PortalRelationshipType

extends Enum<PortalRelationshipType>
java.lang.Object
   ↳ java.lang.Enum<com.esri.core.portal.PortalRelationshipType>
     ↳ com.esri.core.portal.PortalRelationshipType

Class Overview

A relationship of a certain type between two items. Relationships are not tied to an item. They are directional links from an origin item to a destination item. They have an owner and a type. The type defines the valid origin and destination item types as well as some 'composite' rules.

Summary

Enum Values
PortalRelationshipType  FEATURED_ITEMS2ITEM  Origin Types: Featured Items
Destination Types: Any Type  
PortalRelationshipType  MAP2FEATURECOLLECTION  Origin Types: Web Map
Destination Types: Feature Collection  
PortalRelationshipType  MAP2SERVICE  Origin Types: Web Map
Destination Types: Map Service,Feature Service,Image Service  
PortalRelationshipType  MOBILE_APP2CODE  Origin Types: Mobile Application
Destination Types: Code Attachment  
PortalRelationshipType  SERVICE2DATA  Origin Types: Service Item (Hosted Feature Service or Map Service)
Destination Types: Source Data (Service Definition, CSV, Shapefile)  
PortalRelationshipType  WMA2CODE  Origin Types: Web Mapping Application
Destination Types: Code Attachment  
Public Methods
String toString()
Returns a human readable string representing the relationship type.
static PortalRelationshipType valueOf(String name)
static final PortalRelationshipType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PortalRelationshipType FEATURED_ITEMS2ITEM

Origin Types: Featured Items
Destination Types: Any Type

public static final PortalRelationshipType MAP2FEATURECOLLECTION

Origin Types: Web Map
Destination Types: Feature Collection

public static final PortalRelationshipType MAP2SERVICE

Origin Types: Web Map
Destination Types: Map Service,Feature Service,Image Service

public static final PortalRelationshipType MOBILE_APP2CODE

Origin Types: Mobile Application
Destination Types: Code Attachment

public static final PortalRelationshipType SERVICE2DATA

Origin Types: Service Item (Hosted Feature Service or Map Service)
Destination Types: Source Data (Service Definition, CSV, Shapefile)

public static final PortalRelationshipType WMA2CODE

Origin Types: Web Mapping Application
Destination Types: Code Attachment

Public Methods

public String toString ()

Returns a human readable string representing the relationship type.

Returns
String human readable string representing the relationship type

public static PortalRelationshipType valueOf (String name)

Parameters
name String
Returns
PortalRelationshipType

public static final PortalRelationshipType[] values ()