/** * Retrieves the permission's namespace code from the permission-name-and-namespace combo. * * @return The namespace code of the permission, or null if the permission-name-and-namespace * combo is null. */ public String getNamespaceCode() { return (permissionNameAndNamespace != null) ? permissionNameAndNamespace.getNamespaceCode() : null; }
/** * Retrieves the role's namespace code from the role-name-and-namespace combo. * * @return The namespace code of the role, or null if the role-name-and-namespace combo is null. */ public String getNamespaceCode() { return (roleNameAndNamespace != null) ? roleNameAndNamespace.getNamespaceCode() : null; }