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
FieldsFields inherited from class com.majorana.maj_orm.ORM.BaseMajoranaEntity
created, createdByUserEmail, createdByUserid, deleted, deletedAt, id, updated, updatedByUserEmail, updatedByUserid, uuid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetEmail()static StringintgetUid()voidsetAccessLevel(ACCESS_LEVEL accessLevel) voidvoidsetForename(String name) voidsetMembertype(String mt) voidsetSurname(String name) voidsetUid(int i) voidsetUsername(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:
getTableNamein classBaseMajoranaEntity
-
copyFrom
-
getAccessLevel
-
setAccessLevel
-
setUid
public void setUid(int i) -
getUid
public int getUid() -
setUsername
-
getUsername
-
setMembertype
-
getMembertype
-
setEmail
-
getEmail
-
setForename
-
getForename
-
setSurname
-
getSurname
-