Package net.officefloor.jpa.test
Interface IMockEntity
-
public interface IMockEntityMockEntityto allow differentEntityimplementations for each implementing vendor.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()Obtains the description.java.lang.LonggetId()Obtains the identifier.java.lang.StringgetName()Obtains the name.voidsetDescription(java.lang.String description)Specifies the description.voidsetName(java.lang.String name)Specifies the name.
-
-
-
Method Detail
-
getId
java.lang.Long getId()
Obtains the identifier.- Returns:
- Identifier.
-
getName
java.lang.String getName()
Obtains the name.- Returns:
- Name.
-
setName
void setName(java.lang.String name)
Specifies the name.- Parameters:
name- Name.
-
getDescription
java.lang.String getDescription()
Obtains the description.- Returns:
- Description.
-
setDescription
void setDescription(java.lang.String description)
Specifies the description.- Parameters:
description- Description.
-
-