com.esri.core.portal
Enum PortalRelationshipType

java.lang.Object
  extended by java.lang.Enum<PortalRelationshipType>
      extended by com.esri.core.portal.PortalRelationshipType
All Implemented Interfaces:
Serializable, Comparable<PortalRelationshipType>

public enum PortalRelationshipType
extends Enum<PortalRelationshipType>

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.


Enum Constant Summary
FeaturedItems2Item
          Origin Types: Featured Items
Destination Types: Any Type
Map2FeatureCollection
          Origin Types: Web Map
Destination Types: Feature Collection
Map2Service
          Origin Types: Web Map
Destination Types: Map Service,Feature Service,Image Service
MobileApp2Code
          Origin Types: Mobile Application
Destination Types: Code Attachment
Service2Data
          Origin Types: Service Item (Hosted Feature Service or Map Service)
Destination Types: Source Data (Service Definition, CSV, Shapefile)
WMA2Code
          Origin Types: Web Mapping Application
Destination Types: Code Attachment
 
Method Summary
 String toString()
          Returns a human readable string representing the relationship type.
static PortalRelationshipType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PortalRelationshipType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FeaturedItems2Item

public static final PortalRelationshipType FeaturedItems2Item
Origin Types: Featured Items
Destination Types: Any Type


WMA2Code

public static final PortalRelationshipType WMA2Code
Origin Types: Web Mapping Application
Destination Types: Code Attachment


Map2Service

public static final PortalRelationshipType Map2Service
Origin Types: Web Map
Destination Types: Map Service,Feature Service,Image Service


Service2Data

public static final PortalRelationshipType Service2Data
Origin Types: Service Item (Hosted Feature Service or Map Service)
Destination Types: Source Data (Service Definition, CSV, Shapefile)


MobileApp2Code

public static final PortalRelationshipType MobileApp2Code
Origin Types: Mobile Application
Destination Types: Code Attachment


Map2FeatureCollection

public static final PortalRelationshipType Map2FeatureCollection
Origin Types: Web Map
Destination Types: Feature Collection

Method Detail

values

public static PortalRelationshipType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PortalRelationshipType c : PortalRelationshipType.values())
    System.out.println(c);

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

valueOf

public static PortalRelationshipType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Returns a human readable string representing the relationship type.

Overrides:
toString in class Enum<PortalRelationshipType>
Returns:
A human readable string representing the relationship type


Copyright © 2012. All Rights Reserved.