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