Class User
java.lang.Object
com.majorana.maj_orm.ORM.BaseMajoranaEntity
com.majorana.maj_orm.entities.ex1.User
An example user class for persistance
-
Field Summary
Fields inherited from class com.majorana.maj_orm.ORM.BaseMajoranaEntity
created, createdByUserEmail, createdByUserid, deleted, deletedAt, id, updated, updatedByUserEmail, updatedByUserid, uuid
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getEmail()
static String
int
getUid()
void
setAccessLevel
(ACCESS_LEVEL accessLevel) void
void
setForename
(String name) void
setMembertype
(String mt) void
setSurname
(String name) void
setUid
(int i) void
setUsername
(String name) Methods inherited from class com.majorana.maj_orm.ORM.BaseMajoranaEntity
getBaseFields, getCreated, getCreatedByUserEmail, getCreatedByUserid, getDeletedAt, getId, getUpdated, getUpdatedByUserEmail, getUpdatedByUserid, getUuid, isDeleted, setCreated, setCreatedByUserEmail, setCreatedByUserid, setDeleted, setDeletedAt, setId, setUpdated, setUpdatedByUserEmail, setUpdatedByUserid, setUuid, toString
-
Field Details
-
fields
- See Also:
-
-
Constructor Details
-
User
public User()
-
-
Method Details
-
getFields
-
getTableName
- Specified by:
getTableName
in classBaseMajoranaEntity
-
copyFrom
-
getAccessLevel
-
setAccessLevel
-
setUid
public void setUid(int i) -
getUid
public int getUid() -
setUsername
-
getUsername
-
setMembertype
-
getMembertype
-
setEmail
-
getEmail
-
setForename
-
getForename
-
setSurname
-
getSurname
-