BrightSide Workbench Full Report + Source Code
org.turro.related.OldRelatedEntry Class Reference

Public Member Functions

 OldRelatedEntry (String origin, String destination, String description, boolean unbreakable, Date creation)
 
String getOrigin ()
 
String getDestination ()
 
String getDescription ()
 
boolean isUnbreakable ()
 
Date getCreation ()
 
void migrate (Dao dao)
 

Detailed Description

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

Definition at line 29 of file OldRelatedEntry.java.

Constructor & Destructor Documentation

◆ OldRelatedEntry()

org.turro.related.OldRelatedEntry.OldRelatedEntry ( String  origin,
String  destination,
String  description,
boolean  unbreakable,
Date  creation 
)

Definition at line 35 of file OldRelatedEntry.java.

35  {
36  this.origin = origin;
37  this.destination = destination;
38  this.description = description;
39  this.unbreakable = unbreakable;
40  this.creation = creation;
41  }

Member Function Documentation

◆ getCreation()

Date org.turro.related.OldRelatedEntry.getCreation ( )

Definition at line 59 of file OldRelatedEntry.java.

59  {
60  return creation;
61  }

◆ getDescription()

String org.turro.related.OldRelatedEntry.getDescription ( )

Definition at line 51 of file OldRelatedEntry.java.

51  {
52  return description;
53  }

◆ getDestination()

String org.turro.related.OldRelatedEntry.getDestination ( )

Definition at line 47 of file OldRelatedEntry.java.

47  {
48  return destination;
49  }

◆ getOrigin()

String org.turro.related.OldRelatedEntry.getOrigin ( )

Definition at line 43 of file OldRelatedEntry.java.

43  {
44  return origin;
45  }

◆ isUnbreakable()

boolean org.turro.related.OldRelatedEntry.isUnbreakable ( )

Definition at line 55 of file OldRelatedEntry.java.

55  {
56  return unbreakable;
57  }

◆ migrate()

void org.turro.related.OldRelatedEntry.migrate ( Dao  dao)

Definition at line 63 of file OldRelatedEntry.java.

63  {
64  Related related = new Related();
65  related.setCreation(creation);
66  related.setDescription(description);
67  related.setDestination(destination);
68  related.setOrigin(origin);
69  related.setUnbreakable(unbreakable);
70  dao.saveObject(related);
71  }
Here is the call graph for this function:

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