# Uses of Class
org.apache.cayenne.exp.path.CayennePathSegment

Packages that use CayennePathSegment
Package
Description
org.apache.cayenne.exp.path

- ## Uses of CayennePathSegment in org.apache.cayenne.exp.path

  Methods in org.apache.cayenne.exp.path that return CayennePathSegment
  Modifier and Type
  Method
  Description
  `default CayennePathSegment`
  CayennePath.`first()`
  Get the first segment of this path if it's not empty
  `default CayennePathSegment`
  CayennePath.`last()`
  Get the last segment of this path if it's not empty
  `CayennePathSegment`
  CayennePathSegment.`outer()`
  `static CayennePathSegment`
  CayennePath.`segmentOf(String segment)`
  `static CayennePathSegment`
  CayennePath.`segmentOf(String segment, boolean outer)`
  Methods in org.apache.cayenne.exp.path that return types with arguments of type CayennePathSegment
  Modifier and Type
  Method
  Description
  `List<CayennePathSegment>`
  CayennePath.`segments()`
  Get all segments of this path
  Methods in org.apache.cayenne.exp.path with parameters of type CayennePathSegment
  Modifier and Type
  Method
  Description
  `default CayennePath`
  CayennePath.`dot(CayennePathSegment next)`
  Create new path appending next segment to this.
  Method parameters in org.apache.cayenne.exp.path with type arguments of type CayennePathSegment
  Modifier and Type
  Method
  Description
  `static CayennePath`
  CayennePath.`of(List<CayennePathSegment> segments)`
  Create path from a given list of `CayennePathSegment`
  `static CayennePath`
  CayennePath.`of(List<CayennePathSegment> segments, int marker)`
  Create path from a given list of `CayennePathSegment` and a marker