org.apache.hadoop.hive.metastore.model
Class MRole
java.lang.Object
org.apache.hadoop.hive.metastore.model.MRole
public class MRole
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MRole
public MRole()
MRole
public MRole(String roleName,
int createTime,
String ownerName)
getRoleName
public String getRoleName()
- Returns:
- role name
setRoleName
public void setRoleName(String roleName)
- Parameters:
roleName
-
getCreateTime
public int getCreateTime()
- Returns:
- create time
setCreateTime
public void setCreateTime(int createTime)
- Parameters:
createTime
- role create time
getOwnerName
public String getOwnerName()
- Returns:
- the principal name who created this role
setOwnerName
public void setOwnerName(String ownerName)
Copyright © 2011 The Apache Software Foundation