Constructor and Description |
---|
FileOwnerImpl(long groupId,
String groupName,
long userId,
String userName)
Creates a file owner.
|
Modifier and Type | Method and Description |
---|---|
long |
getGroupId()
Returns the group ID.
|
String |
getGroupName()
Returns the group name.
|
long |
getUserId()
Returns the user ID.
|
String |
getUserName()
Returns the user name.
|
public FileOwnerImpl(long groupId, String groupName, long userId, String userName)
Creates a file owner.
groupId
- The group ID.groupName
- The group name.userId
- The user ID.userName
- The user name.IllegalArgumentException
- If any of the parameters are null
.public long getGroupId()
FileOwner
Returns the group ID.
getGroupId
in interface FileOwner
public String getGroupName()
FileOwner
Returns the group name.
getGroupName
in interface FileOwner
public long getUserId()
FileOwner
Returns the user ID.
public String getUserName()
FileOwner
Returns the user name.
getUserName
in interface FileOwner
Copyright © 2015–2019. All rights reserved.