mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Add some withers
This commit is contained in:
@ -452,4 +452,15 @@ public class QSession implements Serializable
|
|||||||
return (this.permissions);
|
return (this.permissions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent setter for user
|
||||||
|
*******************************************************************************/
|
||||||
|
public QSession withUser(QUser user)
|
||||||
|
{
|
||||||
|
this.user = user;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -84,4 +84,26 @@ public class QUser
|
|||||||
{
|
{
|
||||||
return ("QUser{" + idReference + "," + fullName + "}");
|
return ("QUser{" + idReference + "," + fullName + "}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent setter for idReference
|
||||||
|
*******************************************************************************/
|
||||||
|
public QUser withIdReference(String idReference)
|
||||||
|
{
|
||||||
|
this.idReference = idReference;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent setter for fullName
|
||||||
|
*******************************************************************************/
|
||||||
|
public QUser withFullName(String fullName)
|
||||||
|
{
|
||||||
|
this.fullName = fullName;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user