Package de.xima.fc.e2e.common.query.data
Class EntityReference
- java.lang.Object
-
- de.xima.fc.e2e.common.query.data.EntityReference
-
- All Implemented Interfaces:
Serializable
public final class EntityReference extends Object implements Serializable
Basic info of a formcycle entity, used byqueriesmade by E2E test against a formcycle app running inside a servlet container.Note that since the tests are running outside a formcycle context, formcycle specific classes are not available, so all parameters and return values must not reference formcycle specific classes. Thus we need to create separate classes for the data we wish to transfer between the E2E tests and the formcycle app.
- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityReference.BuilderSimple builder for anEntityReference.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityReference.Builderbuilder()LonggetId()StringgetName()UUIDgetUuid()
-
-
-
Method Detail
-
getId
public Long getId()
- Returns:
- The internal database ID of the entity.
-
getName
public String getName()
- Returns:
- The name of the entity, if the entity does have a name.
-
getUuid
public UUID getUuid()
- Returns:
- The UUID of the entity, if the entity does have a UUID.
-
builder
public static EntityReference.Builder builder()
- Returns:
- A new builder for an
EntityReference.
-
-