public class MRoleMap extends Object
Constructor and Description |
---|
MRoleMap() |
MRoleMap(String principalName,
String principalType,
MRole role,
int addTime,
String grantor,
String grantorType,
boolean grantOption) |
Modifier and Type | Method and Description |
---|---|
int |
getAddTime() |
boolean |
getGrantOption() |
String |
getGrantor() |
String |
getGrantorType() |
String |
getPrincipalName() |
String |
getPrincipalType() |
MRole |
getRole() |
void |
setAddTime(int addTime) |
void |
setGrantOption(boolean grantOption) |
void |
setGrantor(String grantor) |
void |
setGrantorType(String grantorType) |
void |
setPrincipalName(String userName) |
void |
setPrincipalType(String principalType) |
void |
setRole(MRole role) |
public String getPrincipalName()
public void setPrincipalName(String userName)
userName
- principal namepublic String getPrincipalType()
public void setPrincipalType(String principalType)
public int getAddTime()
public void setAddTime(int addTime)
addTime
- public MRole getRole()
public void setRole(MRole role)
public boolean getGrantOption()
public void setGrantOption(boolean grantOption)
public String getGrantor()
public void setGrantor(String grantor)
public String getGrantorType()
public void setGrantorType(String grantorType)
Copyright © 2017 The Apache Software Foundation. All rights reserved.