Class NavigationProcessorData

java.lang.Object
com.ptc.odata.core.entity.processor.EntityProcessorData
com.ptc.odata.core.entity.navigation.NavigationProcessorData
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
OperationProcessorData

public class NavigationProcessorData extends EntityProcessorData
An EntityProcessor parameter object used for navigation entity associations.

Supported API: true

Extendable: false
See Also:
  • Method Details

    • getTargetEntityConfig

      public EntityConfig getTargetEntityConfig()
      Returns the target Entity Config to navigate to

      Supported API: true
      Returns:
      the navigation target entity config
    • getSourceEntityConfig

      public EntityConfig getSourceEntityConfig()
      Returns the source entity configuration which contains information such as name, description, collection name, attributes, operations ...etc about the entity.

      Supported API: true
      Returns:
      the the source entity EntityConfig
    • setSourceEntityConfig

      public void setSourceEntityConfig(EntityConfig sourceEntityConfig)
      Sets the source entity configuration for the navigation.

      Supported API: true
      Parameters:
      sourceEntityConfig - the source entity configuration for the navigation
    • setSourceObjects

      public void setSourceObjects(Collection<Object> objects)
      Sets the source objects for the navigation.

      Supported API: true
      Parameters:
      objects - the source objects for the navigation
    • getSourceObjects

      public Collection<Object> getSourceObjects()
      Returns the source objects for the navigation.

      Supported API: true
      Returns:
      Collection of source objects for the navigation
    • getTargetSetName

      public String getTargetSetName()
      Returns the navigation name.

      Supported API: true
      Returns:
      navigation name
    • getAssociationParams

      public Map<URI,Object> getAssociationParams()
      Returns the map of entity association parameters to be used in a request modifying an entity association via references. The map is keyed by the URI specified in the request, and valued by the backing object.
      NOTE: Some requests may implicitly define the entity being disassociated by specifying it via the URL path, rather than any explicit parameter via an $id query parameter or entity reference in the request body. The association parameters map will still contain the implicit entity reference URI as a key.



      Supported API: true

      Returns:
      map of request URI to backing object
    • getAssociationObjects

      public Collection<Object> getAssociationObjects()
      Returns the backing object(s) involved in a request which is modifying an entity association via references. If you need to know the original URI associated to the backing object, use getAssociationParams() instead.



      Supported API: true

      Returns:
      collection of backing objects loaded from the parameters for a request modifying an association via entity references