@Entity @Status(stage=TEST, unitTests=ABSENT) @Reviews(value=@Review(by="Kees Schotanus",at="2010-02-19",reason="Initial review")) public class HtmlTag extends AbstractEntity
Constructor and Description |
---|
HtmlTag()
Default constructor as required by the JPA specs for unenhanced classes.
|
HtmlTag(String tag,
String description)
Constructs this HTML tag from all the supplied, mandatory fields.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the description of this HTML tag.
|
Long |
getId()
Gets the unique ID of this HtmlTag.
|
Long |
getPrimaryKey()
Gets the primary key of this persistable entity.
|
String |
getTag()
Gets the HTML tag.
|
void |
setDescription(String description)
Sets the description for this HTML tag.
|
void |
setId(Long id)
Sets the unique ID for this HtmlTag.
|
void |
setTag(String tag)
Sets the HTML tag.
|
String |
toString()
Creates a String representation of this HTML tag.
|
equals, getVersion, hashCode, setVersion
public HtmlTag()
public Long getId()
public void setId(Long id)
id
- Unique ID for this HtmlTag.public Long getPrimaryKey()
public String getTag()
public void setTag(String tag)
tag
- The HTML tag.public String getDescription()
public void setDescription(String description)
description
- The description for this HTML tag.Copyright © 2008–2018. All rights reserved.