Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REST_BASE_PATH
'users' the base path to access entity
|
filterForUpdateMethod
filterForToStringMethod
Constructor and Description |
---|
User() |
User(java.lang.String id,
java.lang.String firstName,
java.lang.String lastName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFirstName() |
java.lang.String |
getId()
The ID of this model in the repository
|
java.lang.String |
getLastName() |
java.lang.String |
getRestPath()
The base REST path to make request to this model entity.
|
void |
setFirstName(java.lang.String firstName) |
void |
setId(java.lang.String id) |
void |
setLastName(java.lang.String lastName) |
getFieldNamesIgnoredByToStringMethod, getFieldNamesIgnoredByUpdateMethod, update
toString
public static final java.lang.String REST_BASE_PATH
public User()
public User(java.lang.String id, java.lang.String firstName, java.lang.String lastName)
id
- firstName
- lastName
- public java.lang.String getId()
RestModel
public void setId(java.lang.String id)
id
- the id to setpublic java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName
- the firstName to setpublic java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
lastName
- the lastName to setpublic java.lang.String getRestPath()
RestModel
getRestPath
in interface RestModel
Copyright © SAS Institute. All Rights Reserved.