BrightSide Workbench Full Report + Source Code
org.turro.elephant.entities.db.Tag Class Reference
Inheritance diagram for org.turro.elephant.entities.db.Tag:
Collaboration diagram for org.turro.elephant.entities.db.Tag:

Public Member Functions

String getTagName ()
 
void setTagName (String tagName)
 
String getEntityPath ()
 
void setEntityPath (String entityPath)
 
boolean isEmpty ()
 
TagMeta getMeta ()
 
String toJson ()
 
String toJson (Map< String, Object > properties)
 

Static Public Member Functions

static Tag fromJson (JsonValue value)
 

Detailed Description

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

Definition at line 42 of file Tag.java.

Member Function Documentation

◆ fromJson()

static Tag org.turro.elephant.entities.db.Tag.fromJson ( JsonValue  value)
static

Definition at line 85 of file Tag.java.

85  {
86  return IJSONizable.fromJson(value.toString(), Tag.class);
87  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEntityPath()

String org.turro.elephant.entities.db.Tag.getEntityPath ( )

Definition at line 55 of file Tag.java.

55  {
56  return entityPath;
57  }
Here is the caller graph for this function:

◆ getMeta()

TagMeta org.turro.elephant.entities.db.Tag.getMeta ( )

Definition at line 69 of file Tag.java.

69  {
70  return TagMeta.importFrom(tagName);
71  }
Here is the call graph for this function:

◆ getTagName()

String org.turro.elephant.entities.db.Tag.getTagName ( )

Definition at line 47 of file Tag.java.

47  {
48  return tagName;
49  }
Here is the caller graph for this function:

◆ isEmpty()

boolean org.turro.elephant.entities.db.Tag.isEmpty ( )

Definition at line 65 of file Tag.java.

65  {
66  return Strings.isBlank(tagName) || Strings.isBlank(entityPath);
67  }
Here is the caller graph for this function:

◆ setEntityPath()

void org.turro.elephant.entities.db.Tag.setEntityPath ( String  entityPath)

Definition at line 59 of file Tag.java.

59  {
60  this.entityPath = entityPath;
61  }
Here is the caller graph for this function:

◆ setTagName()

void org.turro.elephant.entities.db.Tag.setTagName ( String  tagName)

Definition at line 51 of file Tag.java.

51  {
52  this.tagName = tagName;
53  }
Here is the caller graph for this function:

◆ toJson() [1/2]

String org.turro.elephant.entities.db.Tag.toJson ( )

Definition at line 76 of file Tag.java.

76  {
77  return toJson(this);
78  }

◆ toJson() [2/2]

String org.turro.elephant.entities.db.Tag.toJson ( Map< String, Object >  properties)

Definition at line 81 of file Tag.java.

81  {
82  return toJson(this, properties);
83  }

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