| 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()
FileOwnerReturns the group ID.
getGroupId in interface FileOwnerpublic String getGroupName()
FileOwnerReturns the group name.
getGroupName in interface FileOwnerpublic long getUserId()
FileOwnerReturns the user ID.
public String getUserName()
FileOwnerReturns the user name.
getUserName in interface FileOwnerCopyright © 2015–2019. All rights reserved.