Package net.officefloor.jpa.test
Interface IMockEntity
public interface IMockEntity
Mock
Entity to allow different Entity implementations for
each implementing vendor.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains the description.getId()Obtains the identifier.getName()Obtains the name.voidsetDescription(String description) Specifies the description.voidSpecifies the name.
-
Method Details
-
getId
Long getId()Obtains the identifier.- Returns:
- Identifier.
-
getName
String getName()Obtains the name.- Returns:
- Name.
-
setName
Specifies the name.- Parameters:
name- Name.
-
getDescription
String getDescription()Obtains the description.- Returns:
- Description.
-
setDescription
Specifies the description.- Parameters:
description- Description.
-