BrightSide Workbench Full Report + Source Code
org.turro.dossier.issue.version.IssueVersioned Class Reference
Inheritance diagram for org.turro.dossier.issue.version.IssueVersioned:
Collaboration diagram for org.turro.dossier.issue.version.IssueVersioned:

Public Member Functions

 IssueVersioned (Issue issue)
 
Issue getIssue ()
 
int compareTo (IssueVersioned o)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file IssueVersioned.java.

Constructor & Destructor Documentation

◆ IssueVersioned()

org.turro.dossier.issue.version.IssueVersioned.IssueVersioned ( Issue  issue)

Definition at line 32 of file IssueVersioned.java.

32  {
33  this.issue = issue;
34  }

Member Function Documentation

◆ compareTo()

int org.turro.dossier.issue.version.IssueVersioned.compareTo ( IssueVersioned  o)

Definition at line 41 of file IssueVersioned.java.

41  {
42  int result = new Version(issue.getVersion() != null ? issue.getVersion().getVersionId() : null)
43  .compareTo(new Version(o != null && o.issue.getVersion() != null ? o.issue.getVersion().getVersionId() : null));
44  if(result == 0) {
45  result = CompareUtil.compare(issue.getId(), o.issue.getId());
46  }
47  return result;
48  }
DossierVersion getVersion()
Definition: Issue.java:331
Here is the call graph for this function:

◆ getIssue()

Issue org.turro.dossier.issue.version.IssueVersioned.getIssue ( )

Definition at line 36 of file IssueVersioned.java.

36  {
37  return issue;
38  }

The documentation for this class was generated from the following file: