Package com.ubs.backend.classes.database
Class Tag
java.lang.Object
com.ubs.backend.classes.database.Tag
Dataclass to store a tag with its id and content
- Since:
- 17.07.2021
- Author:
- Marc Andri Fuchs
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tagID
private long tagIDThe ID of this Tag in the Database- Since:
- 17.07.2021
-
tag
The Content of this Tag- Since:
- 17.07.2021
-
-
Constructor Details
-
Tag
Default Constructor- Parameters:
tag- the Content for the Tag- Since:
- 17.07.2021
-
Tag
public Tag()no-args constructor- Since:
- 17.07.2021
-
-
Method Details
-
getTagID
public long getTagID()- Returns:
- the ID of this Tag
- Since:
- 17.07.2021
-
setTagID
public void setTagID(long tagID)- Parameters:
tagID- the new ID for this Tag- Since:
- 17.07.2021
-
getTag
- Returns:
- the Content of this Tag
- Since:
- 17.07.2021
-
setTag
- Parameters:
tag- the new Content for this Tag- Since:
- 17.07.2021
-
toString
-
equals
-
hashCode
public int hashCode()
-