Class HalUser
- java.lang.Object
-
- org.camunda.bpm.engine.rest.hal.HalResource<HalUser>
-
- org.camunda.bpm.engine.rest.hal.user.HalUser
-
- All Implemented Interfaces:
HalIdResource
public class HalUser extends HalResource<HalUser> implements HalIdResource
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
email
protected java.lang.String
firstName
protected java.lang.String
id
protected java.lang.String
lastName
static HalRelation
REL_SELF
-
Fields inherited from class org.camunda.bpm.engine.rest.hal.HalResource
_embedded, _links, linker
-
-
Constructor Summary
Constructors Constructor Description HalUser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HalUser
fromUser(User user)
java.lang.String
getEmail()
java.lang.String
getFirstName()
java.lang.String
getId()
return the identifier of the resourcejava.lang.String
getLastName()
-
Methods inherited from class org.camunda.bpm.engine.rest.hal.HalResource
addEmbedded, addEmbedded, addLink, addLink, embed, get_embedded, get_links, getEmbedded
-
-
-
-
Field Detail
-
REL_SELF
public static final HalRelation REL_SELF
-
id
protected java.lang.String id
-
firstName
protected java.lang.String firstName
-
lastName
protected java.lang.String lastName
-
email
protected java.lang.String email
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:HalIdResource
return the identifier of the resource- Specified by:
getId
in interfaceHalIdResource
-
getFirstName
public java.lang.String getFirstName()
-
getLastName
public java.lang.String getLastName()
-
getEmail
public java.lang.String getEmail()
-
-