@Entity public class ExplicitAccessTestEntity extends Object
Access annotation.| Constructor and Description |
|---|
ExplicitAccessTestEntity() |
| Modifier and Type | Method and Description |
|---|---|
long |
getId()
The id of this
ExplicitAccessTestEntity. |
String |
getName()
The name of this
ExplicitAccessTestEntity. |
protected void |
setId(long id)
Sets the id of this
ExplicitAccessTestEntity. |
void |
setName(String name)
Sets the name of this
ExplicitAccessTestEntity. |
public long getId()
ExplicitAccessTestEntity.public String getName()
ExplicitAccessTestEntity.
Uses a different field to ensure, that only this method is used.protected void setId(long id)
ExplicitAccessTestEntity.id - the new id to setpublic void setName(String name)
ExplicitAccessTestEntity.name - the new name to setCopyright © 2016 fastnate.org. All rights reserved.