public interface SystemData extends IdentifiableData
net.sf.basedb.core.User.ROOT
.
This interface defines Hibernate database mappings for the
systemId
property
to the database column system_id
. If a subclass wants
to map the property to another column, it should override
the getSystemId()
method and add a
Hibernate tag in the comment.
Hibernate also requires a setSystemId()
method, so this must
also be implemented even though it is not required by this interface.
Reference implementation
private String systemId; public String getSystemId() { return systemId; } public void setSystemId(String systemId) { this.systemId = systemId; }
Modifier and Type | Field and Description |
---|---|
static int |
MAX_SYSTEM_ID_LENGTH
The maximum length of the system ID of the item that can be
stored in the database.
|
Modifier and Type | Method and Description |
---|---|
String |
getSystemId()
Get the system id for the item.
|
getId, getVersion
static final int MAX_SYSTEM_ID_LENGTH
getSystemId()
,
Constant Field ValuesString getSystemId()