BrightSide Workbench Full Report + Source Code
org.turro.tags.OldTagEntry Class Reference

Public Member Functions

 OldTagEntry (String tagName, String entityPath)
 
String getTagName ()
 
String getEntityPath ()
 
void migrate (Dao dao)
 

Detailed Description

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

Definition at line 28 of file OldTagEntry.java.

Constructor & Destructor Documentation

◆ OldTagEntry()

org.turro.tags.OldTagEntry.OldTagEntry ( String  tagName,
String  entityPath 
)

Definition at line 32 of file OldTagEntry.java.

32  {
33  this.tagName = tagName;
34  this.entityPath = entityPath;
35  }

Member Function Documentation

◆ getEntityPath()

String org.turro.tags.OldTagEntry.getEntityPath ( )

Definition at line 41 of file OldTagEntry.java.

41  {
42  return entityPath;
43  }

◆ getTagName()

String org.turro.tags.OldTagEntry.getTagName ( )

Definition at line 37 of file OldTagEntry.java.

37  {
38  return tagName;
39  }

◆ migrate()

void org.turro.tags.OldTagEntry.migrate ( Dao  dao)

Definition at line 45 of file OldTagEntry.java.

45  {
46  Tag tag = new Tag();
47  tag.setEntityPath(entityPath);
48  tag.setTagName(tagName);
49  dao.saveObject(tag);
50  }
Here is the call graph for this function:

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