Class ConversionOptions

java.lang.Object
de.hybris.platform.odata2services.odata.persistence.ConversionOptions

public class ConversionOptions extends Object
  • Constructor Details

    • ConversionOptions

      protected ConversionOptions()
  • Method Details

    • conversionOptionsBuilder

      public static ConversionOptions.ConversionOptionsBuilder conversionOptionsBuilder()
    • getNavigationSegments

      public List<org.apache.olingo.odata2.api.uri.NavigationSegment> getNavigationSegments()
    • setNavigationSegments

      protected void setNavigationSegments(List<org.apache.olingo.odata2.api.uri.NavigationSegment> segments)
    • setExpand

      protected void setExpand(List<List<org.apache.olingo.odata2.api.uri.NavigationPropertySegment>> expand)
    • getExpand

      public List<List<org.apache.olingo.odata2.api.uri.NavigationPropertySegment>> getExpand()
    • isNavigationSegmentPresent

      public boolean isNavigationSegmentPresent()
      Determines whether navigation segments are present in this options.
      Returns:
      true, if at least one navigation segment was added to this options; false, otherwise.
      See Also:
    • isExpandPresent

      public boolean isExpandPresent()
      Determines whether an expand option is present in this options.
      Returns:
      true, if at least one nagivagtion property segment was added to this options; false, otherwise.
      See Also:
    • isNextNavigationSegment

      public boolean isNextNavigationSegment(String propertyName)
      Determines whether the specified property name is the next navigation segment of this options.
      Parameters:
      propertyName - name of the property to enquire about
      Returns:
      true, if next navigation segment in this options matches the property name; false, if next navigation segment in this options does not match the property name of when there are no navigation segments in this options.
    • isNextExpandSegment

      public boolean isNextExpandSegment(String propertyName)
      Determines whether the specified property name is the next expand segment of this options.
      Parameters:
      propertyName - name of the property to enquire about
      Returns:
      true, if next expand segment in this options matches the property name; false, if next expand segment in this options does not match the property name of when there are no expand segments in this options.