Class EntityUtils
java.lang.Object
ch.tocco.nice2.entityoperation.api.util.EntityUtils
Static helper methods for dealing with entities.
provides methods to savely access entiy values.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static Boolean
requireBool
(Entity entity, String fieldName) static Long
requireLong
(Entity entity, String fieldName) static String
requireString
(Entity entity, String fieldName)
-
Method Details
-
isOfType
-
requireString
- Throws:
PersistException
-
requireBool
- Throws:
PersistException
-
requireLong
- Throws:
PersistException
-