public class AclOwner extends Object implements AclPrincipal
AclSecurable
, there is one AclOwner entry which
designates the owner permissions for that object. Note read and admin permissions can not be taken away from the
AclOwner.Constructor and Description |
---|
AclOwner()
Default constructor
|
AclOwner(String principalId)
AclOwner constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
String |
getPrincipalId()
Gets the principal id of the acl owner
|
String |
getPrincipalName()
Gets the principal name of the acl owner
|
int |
hashCode()
Return a hash code value for the object.
|
public AclOwner()
public AclOwner(String principalId)
principalId
- pricipalId of the acl owner principalpublic String getPrincipalName()
getPrincipalName
in interface AclPrincipal
public String getPrincipalId()
getPrincipalId
in interface AclPrincipal
public int hashCode()
hashCode
in interface AclPrincipal
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in interface AclPrincipal
equals
in class Object
obj
- to be comparedtrue
if the objects are equal, false
otherwiseObject.equals(java.lang.Object)
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA