Package com.enonic.xp.content

## Class ActiveContentVersionEntry

- java.lang.Object
- - com.enonic.xp.content.ActiveContentVersionEntry

- All Implemented Interfaces:
    `Comparable<ActiveContentVersionEntry>`

      @PublicApi
      public class ActiveContentVersionEntry
      extends Object
      implements Comparable<ActiveContentVersionEntry>

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `compareTo​(ActiveContentVersionEntry o)` | Deprecated.
    `static ActiveContentVersionEntry` | `from​(Branch branch, ContentVersion contentVersion)` |
    `Branch` | `getBranch()` |
    `ContentVersion` | `getContentVersion()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### from

          public static ActiveContentVersionEntry from​(Branch branch,
                                                       ContentVersion contentVersion)

    - #### getContentVersion

          public ContentVersion getContentVersion()

    - #### getBranch

          public Branch getBranch()

    - #### compareTo

          @Deprecated
          public int compareTo​(ActiveContentVersionEntry o)

      Deprecated.
      Specified by:
        `compareTo` in interface `Comparable<ActiveContentVersionEntry>`